<div dir="ltr">Eek, looks like I doc'd that. I can't find where I had copied it from, I must have simply copied it from the dialplan, which uses "data" instead of "value".<div><br></div><div>Sorry for the trouble and thanks for tracking it down!</div>
<div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div><br><div class="gmail_quote">On Sat, Nov 3, 2012 at 11:32 PM, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@yahoo.com" target="_blank">ssinyagin@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Problem is resolved:<br>
<a href="http://jira.freeswitch.org/browse/FS-4791" target="_blank">http://jira.freeswitch.org/browse/FS-4791</a><br>
<br>
Wiki documented a wrong syntax (data="xx" instead of value="xx"), and I<br>
updated the wiki pages where I could find it.<br>
<div class="im HOEnZb"><br>
<br>
<br>
<br>
<br>
----- Original Message -----<br>
> From: Stanislav Sinyagin <<a href="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</a>><br>
</div><div class="im HOEnZb">> To: Free SWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
> Cc:<br>
</div><div class="im HOEnZb">> Sent: Thursday, November 1, 2012 10:00 PM<br>
</div><div class="HOEnZb"><div class="h5">> Subject: [Freeswitch-users] Sofia gateway variables<br>
><br>
> I've got the following SIP gateway which registers successfully at the ITSP:<br>
><br>
> <gateway name="sipcall_41325133196"><br>
> <param name="username" value="41325133196"/><br>
> <param name="password" value="XXXXXXXXXX"/><br>
> <param name="extension" value="0325133196"/><br>
> <param name="expire-seconds" value="125"/><br>
> <param name="register" value="true"/><br>
> <param name="register-transport" value="udp"/><br>
> <param name="proxy"<br>
> value="<a href="http://free2.voipgateway.org" target="_blank">free2.voipgateway.org</a>"/><br>
> <param name="retry-seconds" value="30"/><br>
> <param name="caller-id-in-from" value="false"/><br>
> <param name="ping" value="27"/><br>
> <variables><br>
> <variable name="sbc_callee_ccode" data="41"<br>
> direction="inbound"/><br>
> <variable name="sbc_caller_ccode" data="41"<br>
> direction="inbound"/><br>
> </variables><br>
> </gateway><br>
><br>
><br>
> Then the call from PSTN goes into the proper context, and the first condition in<br>
> the context is:<br>
><br>
> <extension name="call_debug" continue="true"><br>
> <condition field="${call_debug}" expression="^true$"<br>
> break="never"><br>
> <action application="info"/><br>
> <action application="log" data="INFO Country code:<br>
> ${sbc_callee_ccode}"/><br>
> </condition><br>
> </extension><br>
><br>
><br>
> Neither the info, nor the log show my two variables on inbound calls.<br>
><br>
><br>
> Am I doing something wrong or is it a bug?<br>
><br>
> I'm using git commit 94664868a8 in v1.2.stable branch<br>
><br>
><br>
><br>
> thanks,<br>
> stanislav<br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div>