[Asterisk-Users] Net2Phone SIP

John Todd jtodd at loligo.com
Mon Jun 2 13:00:49 MST 2003


Hints to debugging this issue:

Just for your own use, I'd suggest using the "tethereal -V port 5060" 
incantation of ethereal to see a more detailed packet-level debug 
"from the wire".

Look at the REGISTER packets (if N2P indeed does use REGISTERs) since 
that may be less complex, and may give you the same errors.

Compare a packet trace from your ATA-186 with that of Asterisk and 
see where the differences are.

JT


>I've been trying to use net2phone's sip service at sip.net2phone.com
>with * but keep getting
>SIP/2.0 401 Unauthorized. Do you know if this should be possible?
>
>So far:
>I can use an ata186 to connected directly to n2p through
>sip.net2phone.com without any special settings.
>I can connect from * to iconnecthere, but, whatever I try from * to n2p
>produces "SIP/2.0 401 Unauthorized"
>(Can forward the full * sip log and ata186 log if it would help)
>
>Many thanks
>
>Mark
>
>--------------------------
>
>INVITE sip:18002479297 at sip.net2phone.com SIP/2.0
>Via: SIP/2.0/UDP 10.0.0.55:5060;branch=z9hG4bK7d701e63
>From: "112" <sip:2763072144 at 10.0.0.55>;tag=as16e11aa8
>To: <sip:18002479297 at sip.net2phone.com>
>Contact: <sip:2763072144 at 10.0.0.55>
>Call-ID: 7d2fd41f7e897e54712371ae0f782262 at 10.0.0.55
>CSeq: 102 INVITE
>User-Agent: Asterisk PBX
>Content-Type: application/sdp
>Content-Length: 149
>
>v=0
>o=root 9698 9698 IN IP4 10.0.0.55
>s=session
>c=IN IP4 10.0.0.55
>t=0 0
>m=audio 19622 RTP/AVP 8 0
>a=rtpmap:8 PCMA/8000
>a=rtpmap:0 PCMU/8000
>  (no NAT) to 66.33.146.12:5060
>     -- Called 18002479297 at n2p
>Sip read:
>SIP/2.0 401 Unauthorized
>Via: SIP/2.0/UDP 10.0.0.55:5060;branch=z9hG4bK7d701e63
>From: "112" <sip:2763072144 at 10.0.0.55>;tag=as16e11aa8
>To: <sip:18002479297 at sip.net2phone.com>;tag=3ed78add-12013
>Call-ID: 7d2fd41f7e897e54712371ae0f782262 at 10.0.0.55
>CSeq: 102 INVITE
>Contact: "net2phone" <sip:66.33.146.12:5060>
>User-Agent: Asterisk PBX
>Content-Length: 0
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list