I guess that your subscriber table contains domain "mydomain.com" for that user and not "demoSIP.mydomain.com". You need to change the contents of the domain column in subscriber table from mydomain.com to demoSIP.mydomain.com
Also don't forget to change export SIP_DOMAIN="mydomain.com" to export SIP_DOMAIN="demoSIP.mydomain.com"
Jan.
On 17-12 13:23, jerk face wrote:
##I did try to post this question before, but it didn't get through.##
Yet another question.
I'm trying to get Windows Messenger to register with my ser, but I can't get it to work. Here are my configurations:
export SIP_DOMAIN="mydomain.com"
[Selected portions of ser.cfg]
alias="demoSIP.mydomain.com" #---module loading---
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication if (!www_authorize("demoSIP.mydomain.com", "subscriber")) {
www_challenge("demoSIP.mydomain.com", "0"); break; };
save("location"); break; }; # native SIP destinations are handled
using our USRLOC DB if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; }; };
When I run ngrep -n 5060 -d eth0 myAccount I get the following:
U myMessengerIPaddress:1082 -> mySERipAddress:5060 REGISTER sip:demoSIP.mydomain.com SIP/2.0..Via: SIP/2.0/UDP myMessengerIPaddress:6946..From: sip:myAccount@demoSIP.mydomain.com;tag=06d7c189- 0a01-40b6-8b60-cdb0163da022..To: sip:myAccount@demoSIP.mydomain.com..Call-ID: 50fab216-4377-4432-962d-e324ad46b035@myMessengerIPaddress..CSeq : 1 REGISTER..Contact: sip:myMessengerIPaddress:6946;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"..User-Agen t: Windows RTC/1.0..Expires: 1200..Event: registration..Allow-Events: presence..Content-Length: 0.... # U mySERipAddress:5060 -> myMessengerIPaddress:6946 SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP myMessengerIPaddress:6946..From: sip:myAccount@demoSIP.mydomain.com;tag=06d7c189-0a01-40b6-8b60-cd b0163da022..To: sip:myAccount@demoSIP.mydomain.com;tag=b27e1a1d33761e85846fc98f5f3a7e58.c1f1..Call-ID: 50fab216-4377-4432-962d-e324ad4 6b035@myMessengerIPaddress..CSeq: 1 REGISTER..WWW-Authenticate: Digest realm="demoSIP.mydomain.com", nonce="3fe0cac641974960b96106d8e436ce1c0a3 713c8"..Server: Sip EXpress router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 mySERipAddress:5060 "Noisy feedback tells: pid =3922 req_src_ip=myMessengerIPaddress req_src_port=1082 in_uri=sip:demoSIP.mydomain.com out_uri=sip:demoSIP.mydomain.com via_cnt==1".... ### U myMessengerIPaddress:1082 -> mySERipAddress:5060 REGISTER sip:demoSIP.mydomain.com SIP/2.0..Via: SIP/2.0/UDP myMessengerIPaddress:6946..From: sip:myAccount@demoSIP.mydomain.com;tag=06d7c189- 0a01-40b6-8b60-cdb0163da022..To: sip:myAccount@demoSIP.mydomain.com..Call-ID: 50fab216-4377-4432-962d-e324ad46b035@myMessengerIPaddress..CSeq : 2 REGISTER..Contact: sip:myMessengerIPaddress:6946;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"..User-Agen t: Windows RTC/1.0..Expires: 1200..Event: registration..Allow-Events: presence..Authorization: Digest username="myAccount", realm="demoSIP.mydomain.com", algorithm="md5", uri="sip:demoSIP.mydomain.com", nonce="3fe0cac641974960b96106d8e436ce1c0a3713c8", response="a03d6b206 d71f54674b5a48497b3e8aa"..Content-Length: 0.... ### U mySERipAddress:5060 -> myMessengerIPaddress:6946 SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP myMessengerIPaddress:6946..From: sip:myAccount@demoSIP.mydomain.com;tag=06d7c189-0a01-40b6-8b60-cd b0163da022..To: sip:myAccount@demoSIP.mydomain.com;tag=b27e1a1d33761e85846fc98f5f3a7e58.c1f1..Call-ID: 50fab216-4377-4432-962d-e324ad4 6b035@myMessengerIPaddress..CSeq: 2 REGISTER..WWW-Authenticate: Digest realm="demoSIP.mydomain.com", nonce="3fe0cac641974960b96106d8e436ce1c0a3 713c8"..Server: Sip EXpress router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 mySERipAddress:5060 "Noisy feedback tells: pid =3932 req_src_ip=myMessengerIPaddress req_src_port=1082 in_uri=sip:demoSIP.mydomain.com out_uri=sip:demoSIP.mydomain.com via_cnt==1"....
I followed the documentation in seruser.pdf regarding the messenger bug.
Any help is appreciated.
Thank you for your time.
Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers