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@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@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-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org