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 be a bunch of fragile, difficult to maintain dialplan with quoting issues.

But, I am an AGI kind of guy :)

Some may argue that dialplan MAY be more performant, but I have an AGI that sets over 2,000 channel variables from MySQL tables and nobody has ever complained about call startup time.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
            https://www.linkedin.com/in/steve-edwards-4244281
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to