Loading Json Values Into Asterisk As Variable Values
Other than creating an AGI that opens a file to get a json object to set as variables is there any other easy way to set variables for a call when it starts?
Other than creating an AGI that opens a file to get a json object to set as variables is there any other easy way to set variables for a call when it starts?
2 thoughts on - Loading Json Values Into Asterisk As Variable Values
Steve,
What language are your AGI’s written in? I have been using PHP for a long time and every time it’s launched there seems to be a run on the CPU. I
wonder if I would be better off using Python or something other than PHP.
You can set variables in pjsip.conf on specific endpoints. See pjsip.conf.sample
—
http://help.nyigc.net/
—