<div dir="ltr">Sounds like you may have turned off auth calls and its never actually setting anything and just letting the calls thru.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 9, 2014 at 8:03 AM, Gavin Hamill <span dir="ltr">&lt;<a href="mailto:gavin@bashton.com" target="_blank">gavin@bashton.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<br><br>I&#39;m starting out with FS 1.4.7 on CentOS 6 (installed via the FS repo at <a href="http://files.freeswitch.org" target="_blank">http://files.freeswitch.org</a>) and have a simple working config with two sofia profiles, internal and external. I can register SIP clients, call between internal extensions and call external numbers through a SIP gateway.<br><br>Each user in directory/default/*.xml looks like this:<br><br>&lt;include&gt;<br>  &lt;user id=&quot;106&quot;&gt;<br>    &lt;params&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;xxx&quot;/&gt;<br>    &lt;/params&gt;<br>    &lt;variables&gt;<br>      &lt;variable name=&quot;accountcode&quot; value=&quot;106&quot;/&gt;<br>      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Gavin Hamill&quot;/&gt;<br>      &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;Gavin Hamill&quot;/&gt;<br>    &lt;/variables&gt;<br>  &lt;/user&gt;<br>&lt;/include&gt;<br><br>However, when I call from 106 -&gt; 105, I only see &#39;105&#39; appear in the destination client when I would expect to see &#39;Gavin Hamill&#39; If I force the effective_caller_id_name to be a fixed string:<br><br>  &lt;context name=&quot;default&quot;&gt;<br>    &lt;extension name=&quot;bashton_office_staff&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[0-9])<span></span>quot;&gt;<br>        &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=QWERTYUIOP&quot; /&gt;<br>        &lt;action application=&quot;bridge&quot; data=&quot;user/$1&quot;/&gt;<br>      &lt;/condition&gt;<br>  ...<br>  &lt;/context&gt;<br><br>Then sure enough calls always appear as coming from &#39;QWERTYUIOP&#39;  At <a href="https://confluence.freeswitch.org/display/FREESWITCH/XML+User+Directory" target="_blank">https://confluence.freeswitch.org/display/FREESWITCH/XML+User+Directory</a><div>there is a section &#39;Variables&#39; which states:<br><br>  Any variables defined in the domain or user will be defined as channel<br>  variables when there is a call to user or when there is an inbound calls from that user.<br><br>That&#39;s exactly the behaviour I was expecting - any pointers where I&#39;m going wrong would be warmly received.<br><br>Cheers,<br>Gavin</div></div>
<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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://bkw.org/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div>
</div>