Net-SIP - Voipbuster login problem

Posted on Mon Mar 26 03:24:34 2007 by b0c1
Voipbuster login problem
Hi!

I try to send a simple SIP invite to my voipbuster account but I have a little autorization problem. (Same user/password works with Java implementation). I dunno what's the problem... maybe the algorithm "tag" is missing in the authentication?

The debug output:
1174866902.5208 DEBUG: Net::SIP::Util::create_socket_to[197]: Local IP is 192.168.0.11 1174866902.5210 DEBUG: Net::SIP::Util::create_socket_to[204]: try to listen on 192.168.0.11:5060 1174866902.5218 DEBUG: Net::SIP::Util::create_socket_to[222]: listen on 192.168.0.11:5060 1174866902.5414 DEBUG:<2> Net::SIP::Leg::deliver[288]: delivery from 192.168.0.11:5060 to udp:sip.v +oipbuster.com:5060 OK: 1174866902.5414 DEBUG:<2> REGISTER sip:sip.voipbuster.com SIP/2.0 1174866902.5414 DEBUG:<2> via: SIP/2.0/UDP 192.168.0.11;branch=z9hG4bK80c888d887d9c6a7e269792 +f976ab6ee7cb6c62d40c87df3cfaf4dd8ed3e8e24 1174866902.5414 DEBUG:<2> call-id: 36cca1ffddb5d4115d5c42ed9dd87956 1174866902.5414 DEBUG:<2> contact: sip:b0c115@192.168.0.11:5060 1174866902.5414 DEBUG:<2> cseq: 1 REGISTER 1174866902.5414 DEBUG:<2> expires: 900 1174866902.5414 DEBUG:<2> from: sip:b0c115@voipbuster.com;tag=d1b6287bd1cea0c03c19ffecd6809cb +9 1174866902.5414 DEBUG:<2> to: sip:b0c115@voipbuster.com 1174866902.5414 DEBUG:<2> Content-length: 0 1174866902.5414 DEBUG:<2> 1174866902.5414 DEBUG:<2> 1174866902.5923 DEBUG:<2> Net::SIP::Leg::receive[372]: received on 192.168.0.11:5060 from 194.120.0 +.202:5060 packet 1174866902.5923 DEBUG:<2> SIP/2.0 401 Unauthorized 1174866902.5923 DEBUG:<2> Via: SIP/2.0/UDP 192.168.0.11;branch=z9hG4bK80c888d887d9c6a7e269792 +f976ab6ee7cb6c62d40c87df3cfaf4dd8ed3e8e24 1174866902.5923 DEBUG:<2> From: <sip:b0c115@voipbuster.com>;tag=d1b6287bd1cea0c03c19ffecd6809 +cb9 1174866902.5923 DEBUG:<2> To: <sip:b0c115@voipbuster.com> 1174866902.5923 DEBUG:<2> Contact: sip:194.120.0.202:5060 1174866902.5923 DEBUG:<2> Call-ID: 36cca1ffddb5d4115d5c42ed9dd87956 1174866902.5923 DEBUG:<2> CSeq: 1 REGISTER 1174866902.5923 DEBUG:<2> Server: (Very nice Sip Registrar/Proxy Server) 1174866902.5923 DEBUG:<2> Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO 1174866902.5923 DEBUG:<2> WWW-Authenticate: Digest realm="voipbuster.com",nonce="3161090111", +algorithm=MD5 1174866902.5923 DEBUG:<2> Content-Length: 0 1174866902.5923 DEBUG:<2> 1174866902.5923 DEBUG:<2> 1174866902.6120 DEBUG:<2> Net::SIP::Leg::deliver[288]: delivery from 192.168.0.11:5060 to udp:sip.v +oipbuster.com:5060 OK: 1174866902.6120 DEBUG:<2> REGISTER sip:sip.voipbuster.com SIP/2.0 1174866902.6120 DEBUG:<2> via: SIP/2.0/UDP 192.168.0.11;branch=z9hG4bK80c888d887d9c6a7e269792 +f976ab6eeb0237d262658672f4f74ff606b132390 1174866902.6120 DEBUG:<2> call-id: 36cca1ffddb5d4115d5c42ed9dd87956 1174866902.6120 DEBUG:<2> contact: sip:b0c115@192.168.0.11:5060 1174866902.6120 DEBUG:<2> expires: 900 1174866902.6120 DEBUG:<2> from: sip:b0c115@voipbuster.com;tag=d1b6287bd1cea0c03c19ffecd6809cb +9 1174866902.6120 DEBUG:<2> to: sip:b0c115@voipbuster.com 1174866902.6120 DEBUG:<2> authorization: Digest nonce="3161090111" realm="voipbuster.com" res +ponse="bc2b1d568d05a2ed89769184e2dabcf8" uri="sip:sip.voipbuster.com" username="b0c115" 1174866902.6120 DEBUG:<2> cseq: 2 REGISTER 1174866902.6120 DEBUG:<2> Content-length: 0 1174866902.6120 DEBUG:<2> 1174866902.6120 DEBUG:<2> 1174866902.6684 DEBUG:<2> Net::SIP::Leg::receive[372]: received on 192.168.0.11:5060 from 194.120.0 +.203:5060 packet 1174866902.6684 DEBUG:<2> SIP/2.0 401 Unauthorized 1174866902.6684 DEBUG:<2> Via: SIP/2.0/UDP 192.168.0.11;branch=z9hG4bK80c888d887d9c6a7e269792 +f976ab6eeb0237d262658672f4f74ff606b132390 1174866902.6684 DEBUG:<2> From: <sip:b0c115@voipbuster.com>;tag=d1b6287bd1cea0c03c19ffecd6809 +cb9 1174866902.6684 DEBUG:<2> To: <sip:b0c115@voipbuster.com> 1174866902.6684 DEBUG:<2> Contact: sip:194.120.0.203:5060 1174866902.6684 DEBUG:<2> Call-ID: 36cca1ffddb5d4115d5c42ed9dd87956 1174866902.6684 DEBUG:<2> CSeq: 2 REGISTER 1174866902.6684 DEBUG:<2> Server: (Very nice Sip Registrar/Proxy Server) 1174866902.6684 DEBUG:<2> Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO 1174866902.6684 DEBUG:<2> WWW-Authenticate: Digest realm="voipbuster.com",nonce="1419298782", +algorithm=MD5 1174866902.6684 DEBUG:<2> Content-Length: 0 1174866902.6684 DEBUG:<2> 1174866902.6684 DEBUG:<2> ....
And more....
Direct Responses: 4938 | Write a response