Without any scripts? You can send any channel variables to the remote host by means api you said.
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@gmail.com
> To: freeswitch-users@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@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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