Hello,
first check that you have configured your phone with correct username and password. Also uncomment all the modparams in the default config script that are related to auth module.
If still doesn't work, make sure that requests comming from your phone contain digest credentials. If still doesn't work and you are sure that you have configured your phone properly, create message dumps using ngrep utility and send them to us along with your configuration script and ser log files.
The SUBSCRIBE is probably an attempt of your phone to subscribe to presence of some user, but I cannot say that for sure without seeing the whole SUBSCRIBE message.
Jan.
On 13-03 18:02, Anton Yurchenko wrote:
Hello,
I`ve downloaded todays cvs and installed is, now, I am trying to register my SIP phone ( Snom 100 ), with it and authorize it. The phone sends a REGISTER and the ser sends it a 401 Unauthorized.
0.000000 172.20.0.199 -> 172.20.0.50 SIP Request: SUBSCRIBE sip:phila@phila.dg 0.002626 172.20.0.50 -> 172.20.0.199 SIP Status: 404 Not Found 0.038876 172.20.0.199 -> 172.20.0.50 SIP Request: REGISTER sip:phila.dg 0.042129 172.20.0.50 -> 172.20.0.199 SIP Status: 401 Unauthorized
I`ve added the user to the mysql database and, am using the configuration included in the example ser.cfg ( I`ve uncommented the 4 lines).
# Uncomment this if you want to use digest authentication if (!www_authorize("dg", "subscriber")) { www_challenge("dg", "0"); break; };
it seems that the www_challenge sends this message.
How to fix this? And what is the SUBSCRIBE request?
Thanks a lot,
--
Anton Yurchenkophila@dg.net.ua Digital Generation
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers