[Freeswitch-users] Which module to use?

Don Hawkins hawkins at hawkinsegroup.com
Thu Aug 4 09:30:35 MSD 2016


So curl is working fine but I'm unsure (and unable to find any examples)
how to execute the curl application on specific events, primarily when the
call has been bridged/answered. Can anyone assist?

On Wed, Aug 3, 2016 at 11:16 PM, Don Hawkins <hawkins at hawkinsegroup.com>
wrote:

> 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}&amp;state=${state}&direction=${direction},aleg,aleg"></execute>
>
>
>
> On Wed, Aug 3, 2016 at 10:23 PM, Don Hawkins <hawkins at 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 at gmail.com> wrote:
>>
>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_curl
>>>
>>> On Wed, Aug 3, 2016 at 9:03 PM, Don Hawkins <hawkins at 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 at gmail.com> wrote:
>>>>
>>>>> curl
>>>>>
>>>>> On Wed, Aug 3, 2016 at 8:27 PM, Don Hawkins <hawkins at 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 at 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 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
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at 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 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
>>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at 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 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
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at 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 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
>>>
>>
>>
>>
>> --
>> 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
>



-- 
Sincerely,
Don Hawkins
CEO
Hawkins Enterprise Group LLC
http://hawkinsegroup.com
Zello PTT <http://zello.com>: push2don
P: 469-214-5044
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160804/2bd104dd/attachment-0001.html 


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