Probably the uri==myself isn't matching.
You need to define aliases for yourself in the top of the config file. alias="registrar.mydomain.com"
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Bhaskar Bhumkar Sent: Monday, September 12, 2005 6:12 PM To: serusers@lists.iptel.org Subject: [Serusers] No OK reply for REGISTER request ?
Hi,
I have set up a SER server and am testing it for REGISTER request. I am sending following REGISTER request to the server :
REGISTER sip:registrar.mydomain.com SIP/2.0 Via: SIP/2.0/UDP bobspc.mydomain.com:5060;branch=z9hG4bKnashds7 Max-Forwards: 70 To: Bob sip:bob@mydomain.com From: Bob sip:bob@mydomain.com;tag=456248 Call-ID: 843817637684230@998sdasdh09 CSeq: 1826 REGISTER Contact: sip:bob@192.0.2.4 Expires: 7200 Content-Length: 0
However, I am not getting OK reply from the server. How can I verify user's registration at the SER? I tried to modify the ser.cfg; but no success. Following is part of my ser.cfg :
........ if (uri==myself) { if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication and set domainname # if (!www_authorize("domainname", "subscriber")) { # www_challenge("domainname", "0"); # break; # };
save("location"); break; };
...........
Any help would be appreciated on this.
Thanks in advance.
Regards, Bhaskar...
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers