I don't think so any such method to return variable from AGI. But simple solution is set variable in AGI and then you can get back after AGI call in dialplan and these variable will be available until call finished.
--- Virendra Bhati +91-9718500594 +91-9250078532 Sr. Asterisk Developer E-mail-: virbh...@gmail.com Skype id:- virbhati2 New Delhi(India) On Fri, Oct 21, 2016 at 6:06 PM, Jonathan H <lardconce...@gmail.com> wrote: > I thought dialplan flow was that (normal!) agi was called, it did its > thing (which include returning some dialplan variables/lists), and > then when agi finished it returned to the dialplan which then reliably > carried the product of agi. > > But I'm calling agi, scanning a path in python, and then finding that > unless I call a 1 second wait in the dialplan AFTER the agi, sometimes > the variable is empty, even though agi debug shows it was sent. > > Any tests I can do, or is this to be expected? > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 > http://www.asterisk.org/community/astricon-user-conference > > 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 >
-- _____________________________________________________________________ -- 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