[Freeswitch-users] Mulitple execute_on_answers?
Jurijs Ivolga
jurijs.ivolga at gmail.com
Mon May 18 18:14:18 UTC 2020
Hi,
Did you saw this:
http://freeswitch-users.2379917.n2.nabble.com/multiple-commands-in-execute-on-answer-td3348215.html
You can also do something like this:
> <action application="set" data="execute_on_answer=execute_extension
> HANDLE_ANSWER"/>
>
> And then define your answer handler extension:
> <extension name="Handle Answered Calls">
> <condition field="destination_number" expression="^HANDLE_ANSWER$"/>
> <action application="python" data="/path/to/my/python/script.py"/>
> <action application="sched_hangup" data="+300 TIMED_OUT"/>
> <action application="log" data="INFO You can do all sorts of stuff"/>
> <!-- If this extension was called with 'execute_extension' then it
> will go back to the calling extension when done... -->
> </condition>
> </extension>
>
Jurijs
On Mon, May 18, 2020 at 8:55 PM David Villasmil <
david.villasmil.work at gmail.com> wrote:
> Hell guys,
>
> Any way to execute multiple execute_on_answer? i saw a thread where the OP
> was directed to
> https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#The_execute_on_family but
> i'm not sure i see the relationship.
>
> Many thanks!
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200518/a6fc3467/attachment.html>
More information about the FreeSWITCH-users
mailing list