<div dir="ltr">On Fri, Dec 28, 2012 at 9:28 PM, Anton Kvashenkin <span dir="ltr"><<a href="mailto:anton.jugatsu@gmail.com" target="_blank">anton.jugatsu@gmail.com</a>></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"><domain name="<a href="http://xx.com" target="_blank">xx.com</a>"><div>
</domain></div></div></blockquote><div><br></div><div style>That'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> <X-PRE-PROCESS cmd="set" data="domain=<a href="http://xx.com">xx.com</a>"/></div><div><br></div><div style>This has caused '<domain name="<a href="http://xx.com">xx.com</a>">' to be expanded in both directory/default.xml and directory/xx.com.xml.</div>
<div style><br></div><div style>I'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"><<a href="mailto:gabe@gundy.org" target="_blank">gabe@gundy.org</a>></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> 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't find user [<a href="mailto:103@xx.com">103@xx.com</a>]</div><div>You must define a domain called '<a href="http://xx.com">xx.com</a>' in your directory and add a user with the id="103" attribute</div>
<div>and you must configure your device to use the proper domain in it's authentication credentials.</div><div><br></div></div><div style>and...</div><div style><div>freeswitch@internal> 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>