<div dir="ltr"><div>Hi,</div><div><br></div><div>Did you saw this:</div><div><br></div><div><a href="http://freeswitch-users.2379917.n2.nabble.com/multiple-commands-in-execute-on-answer-td3348215.html">http://freeswitch-users.2379917.n2.nabble.com/multiple-commands-in-execute-on-answer-td3348215.html</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
You can also do something like this:<br><action application="set" data="execute_on_answer=execute_extension HANDLE_ANSWER"/><br><br>And then define your answer handler extension:<br>
<extension name="Handle Answered Calls"><br>  <condition field="destination_number" expression="^HANDLE_ANSWER$"/><br>    <action application="python" data="/path/to/my/python/script.py"/><br>
    <action application="sched_hangup" data="+300 TIMED_OUT"/><br>    <action application="log" data="INFO You can do all sorts of stuff"/><br>   
 <!-- If this extension was called with 'execute_extension' then it 
will go back to the calling extension when done... --><br>
  </condition><br></extension>

</div></blockquote><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 18, 2020 at 8:55 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hell guys,<div><br></div><div>Any way to execute multiple execute_on_answer? i saw a thread where the OP was directed to <a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#The_execute_on_family" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#The_execute_on_family</a> but i'm not sure i see the relationship.</div><div><br></div><div>Many thanks!</div><div><br></div><div><div><div dir="ltr"><div dir="ltr">David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>