Hi to all
I've a small problem. When I try to REGISTER with MSN i can see this message
U 157.27.242.227:4014 -> 217.57.90.117:5060 REGISTER sip:sip.quellidelpirana.it SIP/2.0.. Via: SIP/2.0/UDP 157.27.242.227:16757.. From: sip:giandrea@sip.quellidelpirana.it;tag=3a965a5f-1b25-4144-b509-ed6fb6f60d6e.. To: sip:giandrea@sipquellidelpirana.it.. Call-ID: fd9e04be-a1c2-472b-b78d-da18f2dbf3a3@157.27.242.227.. CSeq: 1 REGISTER.. Contact: sip:157.27.242.227:16757;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK".. User-Agent: Windows RTC/1.0.. Expires: 1200.. Event: registration.. Allow-Events: presence.. Content-Length: 0....
but when I try to use Xlite I can see this
U 157.27.242.227:5060 -> 217.57.90.117:5060 REGISTER sip:sip.quellidelpirana.it SIP/2.0.. Via: SIP/2.0/UDP 157.27.242.227:5060;rport;branch=z9hG4bK43C50241B19C4F9BA5F82F0922D526C1.. From: Andrea sip:giandrea@sip.quellidelpirana.it.. To: Andrea sip:giandrea@sip.quellidelpirana.it.. Contact: "Andrea" sip:giandrea@157.27.242.227:5060.. Call-ID: CFBD07105A04447A86952238875CEC95@sip.quellidelpirana.it.. CSeq: 35983 REGISTER.. Expires: 1800.. Authorization: Digest username="giandrea",realm="sip.quellidelpirana.it",nonce="40f3e286cc783dea71369a49455a559eb8a4d341",response="a733f8ddfbc5cf07ba23ca368e750cdb",uri="sip:sip .quellidelpirana.it".. Max-Forwards: 70.. User-Agent: X-Lite build 1101.. Content-Length: 0....
why MSN doesn't insert Authorization??? Why I can use iptel account but not my sip proxy account? Have I to change my ser.cfg? Can I read a SIP tag from my configuration ?
With MSN the www_autorize fail
if (uri==myself) {
xlog("L_INFO", "%rm / %mi --> uri==myself");
if (method=="REGISTER") {
xlog("L_INFO", "%mf / %ct");
if (!www_authorize("sip.quellidelpirana.it", "subscriber")) { log(1, "Auth: NO - requesting authentification\n"); www_challenge("sip.quellidelpirana.it", "0"); break; } else { log(1, "Auth: YES"); };
save("location"); break; }; };
Andrea