<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>You cant run an http location you need to call it with curl<br><br>Sent from my iPhone</div><div><br>On Feb 6, 2016, at 12:29 PM, Adrian Andrei &lt;<a href="mailto:koralu@gmail.com">koralu@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hello,<div><br></div><div>I try to execute a php script after the call is answered but I can't figure how. I need something like this.<br><div><br></div><div>&lt;extension name="execOnAnswer"&gt;</div><div>&lt;condition field="destination_number" expression="^07"&gt;</div><div>&lt;action application="bridge" data="{execute_on_answer='run <a href="http://localhost/answer.php?uuid=$uuid&amp;bnr=$1'}sofia/external/$1@2.2.2.2">http://localhost/answer.php?uuid=$uuid&amp;bnr=$1'}sofia/external/$1@2.2.2.2</a>"/&gt;</div><div>&lt;/condition&gt;</div><div>&lt;/extension&gt;<br></div></div><div><br></div><div>So what I try to do is to pass the uuid and caller-destination-number to an external source after the call is answered. Is any other approach?</div><div><br></div><div><br></div><div>Thank you</div></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>