<!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> 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> </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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>SIP_DOMAIN="192.168.10.91"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ser.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2>
alias="192.168.10.91"</FONT></DIV>
<DIV><FONT face=Arial size=2>
loadmodule
"/usr/local/lib/ser/modules/mysql.so"<BR>
loadmodule
"/usr/local/lib/ser/modules/auth.so"<BR> loadmodule
"/usr/local/lib/ser/modules/auth_db.so"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
modparam("usrloc", "db_mode", 2)</FONT></DIV><FONT face=Arial
size=2>
<DIV><BR>
if (!www_authorize("192.168.10.91", "subscriber"))
{<BR>
www_challenge("192.168.10.91",
"0");<BR>
break;<BR>
};<BR></DIV>
<DIV>ATA version 3.2</DIV>
<DIV> </DIV>
<DIV> UID0: 911211389</DIV>
<DIV> PWD0: bolo</DIV>
<DIV> UseLoginID: 1</DIV>
<DIV> Proxy: 192.168.10.91</DIV>
<DIV> </DIV>
<DIV>SJPHONE</DIV>
<DIV> Proxy: 192.168.10.91</DIV>
<DIV> Domain: 192.168.10.91</DIV>
<DIV> Account: 911211390</DIV>
<DIV> Password: bolo</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>MYSQL </DIV>
<DIV> </DIV>
<DIV> serctl add 911211389 bolo <A
href="mailto:911211390@192.168.10.91">911211390@192.168.10.91</A></DIV>
<DIV> serctl add 911211390 bolo <A
href="mailto:911211390@192.168.10.91">911211390@192.168.10.91</A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </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> </DIV>
<DIV><FONT face=Arial size=2>SJPHONE --> 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:
<sip:911211390@192.168.10.91>;tag=147639828</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.To = To:
<sip:911211390@192.168.10.91></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> </DIV>
<DIV><FONT face=Arial size=2>SER --> SJPHONE</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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:
<sip:911211390@192.168.10.91>;tag=147639828</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.To = To:
<sip:911211390@192.168.10.91>;tag=8e7dfe287ff1fc069b31517361891514.a624</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Warning = Warning: 392 192.168.10.91:5060
"Noisy feedback tells: 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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ATA --> 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
<sip:911211389@192.168.10.91;user=phone>;tag=2633904518</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.To = To: 911211389
<sip:911211389@192.168.10.91;user=phone></FONT></DIV>
<DIV><FONT face=Arial size=2>sip.Authorization = Authorization: Digest
</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> </DIV>
<DIV><FONT face=Arial size=2>SER --> 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
<sip:911211389@192.168.10.91;user=phone>;tag=2633904518</FONT></DIV>
<DIV><FONT face=Arial size=2>sip.To = To: 911211389
<sip:911211389@192.168.10.91;user=phone>;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: 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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2>Thx in advance. </DIV></FONT></BODY></HTML>