Figured it out, I sure did miss something, thank you for leading me in the right direction. <execute application="bind_digit_action" data="curl,*,exec:curl, http://myurl.com/mypage.cgi post uuid=${uuid}&state=${state}&direction=${direction},aleg,aleg"></execute> On Wed, Aug 3, 2016 at 10:23 PM, Don Hawkins <hawkins@hawkinsegroup.com> wrote:
Thank you Abaci!
I added
<execute application="curl" data="http://myurl.com/whatever.php json"></execute>
And it's for sure contacting my URL but it's not sending anything, there are no values... did I miss something?
On Wed, Aug 3, 2016 at 8:09 PM, Abaci B <abaci64@gmail.com> wrote:
https://freeswitch.org/confluence/display/FREESWITCH/mod_curl
On Wed, Aug 3, 2016 at 9:03 PM, Don Hawkins <hawkins@hawkinsegroup.com> wrote:
Care to elaborate? Do you mean mod_xml_curl? I'm already using that for serving configs, don't see it working for this...maybe I'm wrong.
Sincerely, Don Hawkins
Sent from my NationPCS® Nexus 6.
On Aug 3, 2016 7:57 PM, "Abaci B" <abaci64@gmail.com> wrote:
curl
On Wed, Aug 3, 2016 at 8:27 PM, Don Hawkins <hawkins@hawkinsegroup.com> wrote:
Very simple situation...
While on a call I want to press * to post to an external URL, I want to post global variables, ie. UUID.
I have this working with httapi:
<execute application="bind_digit_action" data="httapi,*,exec:httapi, http://myurl.com,aleg,aleg\"></execute>
Only problem is, httapi expects XML to be returned and I don't actually want to return anything, I just want to send the information to the URL and for FreeSwitch to go on about it's business.
What module is best for this job?
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT <http://zello.com>: push2don P: 469-214-5044
-- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT <http://zello.com>: push2don P: 469-214-5044