[Freeswitch-users] remote command\script on hangup

Yuriy Nasida nasida at live.ru
Wed Feb 22 19:22:42 MSK 2012


Without any scripts? You can send any channel variables to the remote host by means api you said.
<action application="set" data="api_hangup_hook=jsrun cleanup.js ${uuid}"/>
Just add variables you need after  script name (as arguments) and do the curl request from script to any remote host.
Or I have understood you not correctly.

> Date: Wed, 22 Feb 2012 09:42:13 +0200
> From: vaad.fabi at gmail.com
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] remote command\script on hangup
> 
>   Hi all,
> 
> I am looking for solution for remote script run on channel hangup, smth 
> around api_hangup_hook but for curl application. Is it possible to run 
> curl for api_hangup_hook or maybe smth other solution?
> xml_curl is great for remote configuration receiving without any 
> addtitional scripts, but for remote transmitting after hangup (for 
> call's data transmitting) there is no solution except xml_cdr.
> But what about additional data\variables transmission to remote host 
> 
> Thx.
> 
> -- 
> Best Regards,
> Vadim F.
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120222/a6668251/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list