<div dir="ltr">On Fri, Dec 28, 2012 at 9:28 PM, Anton Kvashenkin <span dir="ltr">&lt;<a href="mailto:anton.jugatsu@gmail.com" target="_blank">anton.jugatsu@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">&lt;domain name=&quot;<a href="http://xx.com" target="_blank">xx.com</a>&quot;&gt;<div>
&lt;/domain&gt;</div></div></blockquote><div><br></div><div style>That&#39;s getting me closer!</div><div style><br></div><div style>I have already changed the domain in vars.xml to include this line:</div><div style><br>
</div><div style><div>  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;domain=<a href="http://xx.com">xx.com</a>&quot;/&gt;</div><div><br></div><div style>This has caused &#39;&lt;domain name=&quot;<a href="http://xx.com">xx.com</a>&quot;&gt;&#39; to be expanded in both directory/default.xml and directory/xx.com.xml.</div>
<div style><br></div><div style>I&#39;m thinking the best way to avoid confusion is to either remove directory/default.xml, or remove directory/xx.com.xml, and use the default file, with the expanded domain name.</div><div style>
<br></div><div style>On Sat, Dec 29, 2012 at 1:50 AM, Gabriel Gunderson <span dir="ltr">&lt;<a href="mailto:gabe@gundy.org" target="_blank">gabe@gundy.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><br></div>Play around with find_user_xml and user_exists to trouble shoot your<br>directory independent of any specific SUA:<br></blockquote><div><br></div><div style>I have this user:</div><div>freeswitch@internal&gt; list_users user 103</div>
<div>userid|context|domain|group|contact|callgroup|effective_caller_id_name|effective_caller_id_number</div><div>103|default|<a href="http://xx.com">xx.com</a>|<a href="http://xx.com">xx.com</a>|error/user_not_registered|techsupport|Extension 103|103</div>
<div><br></div><div style>But I still get this:</div><div style><div>2013-01-02 10:21:33.913853 [WARNING] sofia_reg.c:2485 Can&#39;t find user [<a href="mailto:103@xx.com">103@xx.com</a>]</div><div>You must define a domain called &#39;<a href="http://xx.com">xx.com</a>&#39; in your directory and add a user with the id=&quot;103&quot; attribute</div>
<div>and you must configure your device to use the proper domain in it&#39;s authentication credentials.</div><div><br></div></div><div style>and...</div><div style><div>freeswitch@internal&gt; user_exists id 103 <a href="http://xx.com">xx.com</a></div>
<div>false</div><div style><br></div><div style>-- </div><div style>Steve</div><div><br></div></div></div></div></div></div></div>