Hello, I need my dial plan to dial an extension within then wait until the extension picks up before starting the lua script. I got it to dial the extension but can't seem to get the syntax for the "execute_on_answer" correct. When I uncomment it out it call just fails. What am I missing? ----------------------------- <extension name="my_dialplan"> <condition field="destination_number" expression="^9176$"> <action application="sleep" data="2000"/> <action application="send_dtmf" data="1002"/> <action application="lua" data="test.lua"/> <!-- <action application="export" data="nolocal:execute_on_answer=lua test.lua"/> --> </condition> </extension> </include> ---------------------------------------- On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
That should work properly, what are trying to accomplish exactly?
On Wed, 24 Apr 2019 at 18:19, Joli Martinez <mrjoli021@gmail.com> wrote:
Hello,
I am trying to find more info on the application "execute_on_answer".
I have a script that calls an IVR then dials a users extension. I need to wait for the calling party extension to answer before executing the rest of my script. I don't seem to find much documentation on this application. Is there another way to test if the calling party has been answered?
thanks,
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com