<div dir="ltr">Eek, looks like I doc&#39;d that. I can&#39;t find where I had copied it from, I must have simply copied it from the dialplan, which uses &quot;data&quot; instead of &quot;value&quot;.<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">&lt;<a href="mailto:ssinyagin@yahoo.com" target="_blank">ssinyagin@yahoo.com</a>&gt;</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=&quot;xx&quot; instead of value=&quot;xx&quot;), 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>
&gt; From: Stanislav Sinyagin &lt;<a href="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</a>&gt;<br>
</div><div class="im HOEnZb">&gt; To: Free SWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt; Cc:<br>
</div><div class="im HOEnZb">&gt; Sent: Thursday, November 1, 2012 10:00 PM<br>
</div><div class="HOEnZb"><div class="h5">&gt; Subject: [Freeswitch-users] Sofia gateway variables<br>
&gt;<br>
&gt; I&#39;ve got the following SIP gateway which registers successfully at the ITSP:<br>
&gt;<br>
&gt;   &lt;gateway name=&quot;sipcall_41325133196&quot;&gt;<br>
&gt;     &lt;param name=&quot;username&quot; value=&quot;41325133196&quot;/&gt;<br>
&gt;     &lt;param name=&quot;password&quot; value=&quot;XXXXXXXXXX&quot;/&gt;<br>
&gt;     &lt;param name=&quot;extension&quot; value=&quot;0325133196&quot;/&gt;<br>
&gt;     &lt;param name=&quot;expire-seconds&quot; value=&quot;125&quot;/&gt;<br>
&gt;     &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>
&gt;     &lt;param name=&quot;register-transport&quot; value=&quot;udp&quot;/&gt;<br>
&gt;     &lt;param name=&quot;proxy&quot;<br>
&gt; value=&quot;<a href="http://free2.voipgateway.org" target="_blank">free2.voipgateway.org</a>&quot;/&gt;<br>
&gt;     &lt;param name=&quot;retry-seconds&quot; value=&quot;30&quot;/&gt;<br>
&gt;     &lt;param name=&quot;caller-id-in-from&quot; value=&quot;false&quot;/&gt;<br>
&gt;     &lt;param name=&quot;ping&quot; value=&quot;27&quot;/&gt;<br>
&gt;     &lt;variables&gt;<br>
&gt;      &lt;variable name=&quot;sbc_callee_ccode&quot; data=&quot;41&quot;<br>
&gt; direction=&quot;inbound&quot;/&gt;<br>
&gt;      &lt;variable name=&quot;sbc_caller_ccode&quot; data=&quot;41&quot;<br>
&gt; direction=&quot;inbound&quot;/&gt;<br>
&gt;     &lt;/variables&gt;<br>
&gt;   &lt;/gateway&gt;<br>
&gt;<br>
&gt;<br>
&gt; Then the call from PSTN goes into the proper context, and the first condition in<br>
&gt; the context is:<br>
&gt;<br>
&gt;    &lt;extension name=&quot;call_debug&quot; continue=&quot;true&quot;&gt;<br>
&gt;      &lt;condition field=&quot;${call_debug}&quot; expression=&quot;^true$&quot;<br>
&gt; break=&quot;never&quot;&gt;<br>
&gt;        &lt;action application=&quot;info&quot;/&gt;<br>
&gt;        &lt;action application=&quot;log&quot; data=&quot;INFO Country code:<br>
&gt; ${sbc_callee_ccode}&quot;/&gt;<br>
&gt;      &lt;/condition&gt;<br>
&gt;    &lt;/extension&gt;<br>
&gt;<br>
&gt;<br>
&gt; Neither the info, nor the log show my two variables on inbound calls.<br>
&gt;<br>
&gt;<br>
&gt; Am I doing something wrong or is it a bug?<br>
&gt;<br>
&gt; I&#39;m using git commit 94664868a8 in v1.2.stable branch<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; thanks,<br>
&gt; stanislav<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<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>