<div dir="ltr"><div>Nick ... i`m  making some tests, and I changed this block in my opensips.cfg and WORKED with any domain I define.<br><br>                # authenticate the REGISTER requests<br>                if (!www_authorize(&quot;10.1.1.2&quot;, &quot;subscriber&quot;))<br>

                {<br>                        www_challenge(&quot;10.1.1.2&quot;, &quot;0&quot;);<br>                        exit;<br>                }<br><br>                if (!db_check_to())<br>                {<br>                        sl_send_reply(&quot;403&quot;,&quot;Forbidden auth ID&quot;);<br>

                        exit;<br>                }<br><br><br></div><div>if I set into softphone the  DNS name in domain field, work, and if I define 10.1.1.2 also work.<br><br>;)<br><br></div><div>I think this is what I was looking for.<br>

<br><br></div></div><div class="gmail_extra"><br clear="all"><div>Willian Mazzardo<br>Depto TI - SYSSVOIP<br><a href="http://www.syssvoip.com.br">www.syssvoip.com.br</a><br>55 3537 2030</div>
<br><br><div class="gmail_quote">2013/7/18 Willian Mazzardo - SYSSVOIP <span dir="ltr">&lt;<a href="mailto:willian@syssvoip.com.br" target="_blank">willian@syssvoip.com.br</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div>Hi Nick ... <br><br></div>I have tried with your modparam set but no look. If I register with dns name, the register not work.<br><br></div><div>What I have? maybe help you canhelp me with what I need ;)<br>


<br></div><div>I have Asterisk to handle registration, routes and billing, but my customer base are increasing, and I want use Opensips to handle REGISTER and route PSTN calls to one of my asterisk box. (load balance) but this is later.<br>


<br></div><div>My customers have Asterisk, Linksys PAP2 adapters and sofpthones, and all of them are registering with my asterisk. Some with IP Address, others with one of my dns names.<br><br></div><div>I want to implement IM, Video calls, and presence to offer to my customers something different from others Voip company.<br>


<br></div><div>I expect use opensips to call SIP &gt; SIP customers directly, without asterisk using rtpproxy when its needed,  and PSTN calls routing to asterisk until I found some billing system who I can comprehend and know how to use.<br>


<br></div><div>Thats all ;)<br><br><br></div></div><div class="gmail_extra"><div class="im"><br clear="all"><div>Willian Mazzardo<br>Depto TI - SYSSVOIP<br><a href="http://www.syssvoip.com.br" target="_blank">www.syssvoip.com.br</a><br>

<a href="tel:55%203537%202030" value="+555535372030" target="_blank">55 3537 2030</a></div>

<br><br></div><div class="gmail_quote">2013/7/18 Nick Khamis <span dir="ltr">&lt;<a href="mailto:symack@gmail.com" target="_blank">symack@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
<div dir="ltr">There is also:<div><br><div><ol style="margin:0px;padding:0px 0px 0px 48px;color:rgb(172,172,172);font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,monospace,serif;font-size:12px;line-height:21px;background-color:rgb(248,248,248)">



<li><div style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)">modparam(&quot;auth_db|usrloc|uri&quot;, &quot;use_domain&quot;, 1)</div>



</li></ol></div></div><div>Please change that to 0. It&#39;s been a while since I have dealt with REGISTER authentiacation issues. Are you sure</div><div>you need it? It&#39;s quite a resourceful process as the number of clients increase. What we do now, is use:</div>



<div><br></div><div>1) The address table</div><div>2) Dialplan</div><div>3) Dynamic Routing</div><div>4) IPTables</div><div><br></div><div>To enforce who&#39;s INVITE gets processed by our servers. No registration required.<br>



</div><div><br></div><div>If you really want to handle REGISTER, I will take a closer look. Until then maybe look at Chapter 5 (Page 90),</div><div>of <a href="ftp://115.146.120.141/voIP/Building%20Telephony%20Systems%20with%20OpenSIPS%201.6.pdf" target="_blank">ftp://115.146.120.141/voIP/Building%20Telephony%20Systems%20with%20OpenSIPS%201.6.pdf</a>. I know the</div>



<div>answer is in there because I dealt with your issue a long time ago.</div><div><br></div><div>Kind Regards,</div><div><br></div><div>Nick</div></div>
<br></div></div><div class="im">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>