<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16853"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>Hey guys,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I'm configuring a new opensips server, and it's been a
while since the last time that I did one. I'm following the book "Building
Telephony Systems with Opensips 1.6" by Flavio E. Goncalves, and everything is
working good so far, but I have some doubts.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>When trying to figure it out, how Opensips handle those
unregistered calls, searching about this, I found that this part of code
handle that.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>if (!is_uri_host_local()) {</FONT></DIV>
<DIV> <FONT face=Calibri>if(is_from_local())
{</FONT></DIV>
<DIV> <FONT
face=Calibri>route(1);</FONT></DIV>
<DIV><FONT face=Calibri> } else {</FONT></DIV>
<DIV> <FONT
face=Calibri>sl_send_reply("403","Not Here");</FONT></DIV>
<DIV> <FONT face=Calibri>}</FONT></DIV>
<DIV><FONT face=Calibri>}</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>But, running a few tests, trying to dial from a
unregistered phone, I'm not getting the error 403, actually, I'm not getting any
error at all, my phone just keeping dialing over and over again, without get any
error.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Anyone know why this is happening? </FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Eng.º Rodrigo Ferreira<BR>Supervisor de
Telecomunicações<BR>Fone: (13) 4010-1037<BR>Cel: (13) 9615-7774<BR>VIPWay
Serviços de Telecomunicações LTDA</FONT></DIV></BODY></HTML>