I personally use a lot of execute_on_answer_N. And it works as expected. And _N you should handle in your code. Guess you need multiple execute actions on channel. On Mon, 18 May 2020, 20:54 Brian West, <brian@freeswitch.com> wrote:
Don't really need to do that anymore, just set the variables and go with it.
/b
On Mon, May 18, 2020 at 1:44 PM Jurijs Ivolga <jurijs.ivolga@gmail.com> wrote:
Hi,
Did you saw this:
http://freeswitch-users.2379917.n2.nabble.com/multiple-commands-in-execute-o...
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@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_e... but i'm not sure i see the relationship.
Many thanks!
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
_________________________________________________________________________
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
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
[image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch> _________________________________________________________________________
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