[Freeswitch-dev] Curl Problem

Ken Rice krice at freeswitch.org
Mon Jan 30 20:20:38 MSK 2012


Inline... 

Keep in mind that variables in the dialplan are expanded before the first
action is even processed... If you want that variable to be usable on the
next action w/out a re-entry into the dialplan (ie: transfer) you need to
inline that application call...


On 1/30/12 3:13 AM, "Inge Kristiansen" <inge.kristiansen at gmail.com> wrote:

> 
> Hi everybody
> 
> I have a small problem from the dial plan. I want to bill calls made by
> softphones.
> when I do a curl lookup from the dialplan, I can not find any value in
> ${curl_response_data}.
> 
> Testing in the cli returns correct value, so it looks correct.
> 
> <action application="curl"
> data="data=http://208.117.44.59/LCR/xxxxxxx.aspx?lega=xxxxx&legb=xxxxxx" />
> <action application="export" data="nolocal:nibble_rate=${curl_response_data}"
> />
> 
> Any suggestions?
> 
> regds 
> Inge
> 
> 
> 
> 
> _________________________________________________________________________
> 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-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120130/a2c71de1/attachment-0001.html 


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