[Freeswitch-users] Run php script on execute_on_answer

Adrian Andrei koralu at gmail.com
Sat Feb 6 21:29:39 MSK 2016


Hello,

I try to execute a php script after the call is answered but I can't figure
how. I need something like this.

<extension name="execOnAnswer">
<condition field="destination_number" expression="^07">
<action application="bridge" data="{execute_on_answer='run
http://localhost/answer.php?uuid=$uuid&bnr=$1'}sofia/external/$1@2.2.2.2"/>
</condition>
</extension>

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?


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160206/e3eb561b/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list