I have to use a specific softphone, HelpCaster, but it can not pass the authentication stage. However it can authenticate with OpenSips server! What I had noticed is that it uses static realm with OpenSips therefore I'm trying to do the same. recv 292 bytes from udp/[209.82.10.250]:3458 at 16:35:24.758862: ------------------------------------------------------------------------ REGISTER sip:209.82.10.235 SIP/2.0 Via: SIP/2.0/UDP 209.82.10.250:1059 From: sip:1001@209.82.10.235 To: sip:1001@209.82.10.235 Contact: sip:1001@209.82.10.250:1059 Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23 CSeq: 597775306 REGISTER Content-Length: 0 Expires: 3600 ------------------------------------------------------------------------ send 582 bytes to udp/[209.82.10.250]:1059 at 16:35:24.763948: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 209.82.10.250:1059 From: sip:1001@209.82.10.235 To: <sip:1001@209.82.10.235>;tag=7yam2F01ZH3vH Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23 CSeq: 597775306 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.0.2-hacked Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH Supported: timer, precondition, path, replaces WWW-Authenticate: Digest realm="209.82.10.235", nonce="40b63193-85c2-4ed9-874e-c03f81be313d", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 466 bytes from udp/[209.82.10.250]:3458 at 16:35:24.772834: ------------------------------------------------------------------------ REGISTER sip:209.82.10.235 SIP/2.0 Via: SIP/2.0/UDP 209.82.10.250:1059 From: sip:1001@209.82.10.235 To: sip:1001@209.82.10.235 Contact: sip:1001@209.82.10.250:1059 Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23 CSeq: 597775307 REGISTER Content-Length: 0 Expires: 3600 Authorization: Digest username="1001",realm="209.82.10.235",nonce="40b63193-85c2-4ed9-874e-c03f81be313d",response="eebe0ea43319e82cc5f6dba5877de706",uri="sip:209.82.10.235" ------------------------------------------------------------------------ send 458 bytes to udp/[209.82.10.250]:1059 at 16:35:24.774354: ------------------------------------------------------------------------ SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 209.82.10.250:1059 From: sip:1001@209.82.10.235 To: <sip:1001@209.82.10.235>;tag=873c4aH5vtSFD Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23 CSeq: 597775307 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.0.2-hacked Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH Supported: timer, precondition, path, replaces Content-Length: 0 ------------------------------------------------------------------------ Thanks!
|