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:
[$init]
letters=abcd
then used it in the header like this:
x-scn-data=1234|5678|$(letters)
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?
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:
[$init]
letters=abcd
then used it in the header like this:
x-scn-data=1234|5678|$(letters)
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?