Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - nkehagias

Pages: [1]
Linux / Re: Custom sip header sent from client?
« on: May 19, 2017, 08:19:30 AM »
Awesome, that works.  Thanks!

One other question maybe you can answer?

Is it possible to change a variable value everytime a call is placed?  For example I set a variable in the [$init] part of the regexroute.conf script like this:

then used it in the header like this:

which works great, but if I change the variable $(letters) I must quit yate and restart it for the change to take effect.

I guess it only reads the config files at start. 
Is there some mechanism to change the vars for every call?

Linux / Re: Custom sip header sent from client?
« on: May 18, 2017, 09:57:42 AM »
Hi marian, thanks for the reply. 

Maybe there is something simple I am not understanding but it doesn't seem to work for me. \

This is actually on a mac installed from a dmg.
So, in /Applications/

Under [extra] heading I placed

I also tried empty value as in your post and other lower and higher values.

Then I created the heading [call.execute]  immediately under the [extra] block and added the line:

Then restart yate to make sure it has new info.   
That should be all that is needed to make this work?

I also added ^.*$=echo in call execute
to the [call.execute] block but I did not see it appear in the debug window.  So im not even sure if yate is reading the config file.  Is there some way to test that?

Thank you again for any help

Linux / Custom sip header sent from client?
« on: May 17, 2017, 07:57:56 AM »
Hi,  I need to send some custom sip header variables when I call into an ivr system with the yate client.  How can I set this up?  I tried fooling with some of the config files based on what I found in the yate wiki but it didnt work. I think it may have been how to set it up for a server?  Im not sure as I am new to all this stuff.

Basically I need to send multiple headers.  1 would be something like this:
x-scn-data: 1234|5678|abcd

Any help would be greatly appreciated.

Pages: [1]