<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I have a problem authentication 
my ATA devices with mysql , I have this configuration; The configuration in my 
sjphone is working.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>SJPHONE: 192.168.10.90</FONT></DIV>
<DIV><FONT face=Arial size=2>ATA IP: 192.168.10.96</FONT></DIV>
<DIV><FONT face=Arial size=2>SER: 192.168.10.91</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>SIP_DOMAIN="192.168.10.91"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ser.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; alias="192.168.10.91"</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; loadmodule 
"/usr/local/lib/ser/modules/mysql.so"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; loadmodule 
"/usr/local/lib/ser/modules/auth.so"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loadmodule 
"/usr/local/lib/ser/modules/auth_db.so"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; modparam("usrloc", "db_mode", 2)</FONT></DIV><FONT face=Arial 
size=2>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (!www_authorize("192.168.10.91", "subscriber")) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
www_challenge("192.168.10.91", 
"0");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR></DIV>
<DIV>ATA version 3.2</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; UID0: 911211389</DIV>
<DIV>&nbsp;&nbsp;&nbsp; PWD0: bolo</DIV>
<DIV>&nbsp;&nbsp;&nbsp; UseLoginID: 1</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Proxy: 192.168.10.91</DIV>
<DIV>&nbsp;</DIV>
<DIV>SJPHONE</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Proxy: 192.168.10.91</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Domain: 192.168.10.91</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Account: 911211390</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Password: bolo</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>MYSQL </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; serctl add 911211389 bolo <A 
href="mailto:911211390@192.168.10.91">911211390@192.168.10.91</A></DIV>
<DIV>&nbsp;&nbsp;&nbsp; serctl add 911211390 bolo <A 
href="mailto:911211390@192.168.10.91">911211390@192.168.10.91</A></DIV>
<DIV>&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2>And this is why I have in my ethereal</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>SJPHONE --&gt; SER</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Request-Line = Request-Line: REGISTER 
sip:192.168.10.91 SIP/2.0x</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.From = From: 
&lt;sip:911211390@192.168.10.91&gt;;tag=147639828</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.To = To: 
&lt;sip:911211390@192.168.10.91&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Authorization = Authorization: Digest 
username="911211390",realm="192.168.10.91",nonce="41c046cac4f98869173e6aa7a2bb4517a7f7e9d6",uri="sip:192.168.10.91",response="2751aa78ee74298024815ba8cf35f2a7"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>SER --&gt; SJPHONE</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sip.Status-Line = Status-Line: SIP/2.0 200 
OK</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.From = From: 
&lt;sip:911211390@192.168.10.91&gt;;tag=147639828</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.To = To: 
&lt;sip:911211390@192.168.10.91&gt;;tag=8e7dfe287ff1fc069b31517361891514.a624</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Warning = Warning: 392 192.168.10.91:5060 
"Noisy feedback tells:&nbsp; pid=2409 req_src_ip=192.168.10.90 req_src_port=5060 
in_uri=sip:192.168.10.91 out_uri=sip:192.168.10.91 via_cnt==1"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ATA --&gt; SER</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Request-Line = Request-Line: REGISTER 
sip:192.168.10.91 SIP/2.0</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.From = From: 911211389 
&lt;sip:911211389@192.168.10.91;user=phone&gt;;tag=2633904518</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.To = To: 911211389 
&lt;sip:911211389@192.168.10.91;user=phone&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Authorization = Authorization: Digest&nbsp; 
</FONT><FONT face=Arial 
size=2>username="911211389",realm="192.168.10.91",nonce="41c054a27a512a571fd108a7cb2c15aaba345768",uri="sip:192.168.10.91",response="924c72dcd60682cbe463a1dbe5521581"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>SER --&gt; ATA</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Status-Line = Status-Line: SIP/2.0 401 
Unauthorized</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.From = From: 911211389 
&lt;sip:911211389@192.168.10.91;user=phone&gt;;tag=2633904518</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.To = To: 911211389 
&lt;sip:911211389@192.168.10.91;user=phone&gt;;tag=8e7dfe287ff1fc069b31517361891514.2cd2</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.WWW-Authenticate = WWW-Authenticate: Digest 
realm="192.168.10.91", 
nonce="41c054a27a512a571fd108a7cb2c15aaba345768"</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Warning = Warning: 392 192.168.10.91:5060 
"Noisy feedback tells:&nbsp; pid=2391 req_src_ip=192.168.10.96 req_src_port=5060 
in_uri=sip:192.168.10.91 out_uri=sip:192.168.10.91 via_cnt==1"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I donno why my sjphone is registring withoput 
problems and my ATA is rejected, any help will be nice</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thx in advance.&nbsp;</DIV></FONT></BODY></HTML>