[asterisk-users] Loading Json values into asterisk as variable values

2021-02-25 Thread Dovid Bender
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? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com

Re: [asterisk-users] Loading Json values into asterisk as variable values

2021-02-25 Thread Steve Edwards
On Thu, 25 Feb 2021, Dovid Bender wrote: 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? Regardless of if there is a way in dialplan, I'd vote for an AGI to avoid what I suspect will

Re: [asterisk-users] Loading Json values into asterisk as variable values

2021-02-26 Thread Dovid Bender
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. On Thu, Feb 25, 2021 at 4:58 PM Steve Edwards wrote: > On Thu, 25

Re: [asterisk-users] Loading Json values into asterisk as variable values

2021-02-26 Thread Eric Wieling
You can set variables in pjsip.conf on specific endpoints. See pjsip.conf.sample On 2/26/21 9:56 AM, Dovid Bender wrote: 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 woul

Re: [asterisk-users] Loading Json values into asterisk as variable values

2021-02-26 Thread Steve Edwards
On Fri, 26 Feb 2021, Dovid Bender wrote: 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. C. -- Thanks in advance