Try to use https://wiki.freeswitch.org/wiki/Mod_curl
And execute it as api on answer.
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
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.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
http://www.freeswitch.org
| Gregor Nanger | CTO t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia • www.infomedia.si |