[Freeswitch-users] execute_on_answer
David Villasmil
david.villasmil.work at gmail.com
Thu Apr 25 10:05:42 UTC 2019
Can you send the console log when it fails?
On Thu, 25 Apr 2019 at 01:31, Joli Martinez <mrjoli021 at gmail.com> wrote:
> 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 at gmail.com> wrote:
>
>> That should work properly, what are trying to accomplish exactly?
>>
>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez <mrjoli021 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> 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 at 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 at 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 at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190425/7f803268/attachment.html>
More information about the FreeSWITCH-users
mailing list