Calling all SIP gurus--

I'm trying to register my asterisk to an ISP's SIP gateway.

I'm getting authentification errors. 

Here's the results of SIP DEBUG against it's IP.

[I've tweaked all confidential fields so as to protect the innocent
(namely, me).]

--- (9 headers 0 lines)---
Responding to challenge, registration to domain/host name myfavoriteisp
12 headers, 0 lines
Reliably Transmitting (no NAT) to 66.62.88.226:5060:
REGISTER sip:voip.myfavoriteisp.net SIP/2.0
Via: SIP/2.0/UDP 192.168.134.247:5060;branch=z9hG4bK32fe0b71
From: <sip:[EMAIL PROTECTED]>;tag=as133ed01a
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 146 REGISTER
User-Agent: Asterisk PBX
uthorization: Digest username="3073334444",
realm="voip.myfavoriteisp.net", algorithm=MD5,
uri="sip:voip.myfavoriteisp.net",
nonce="27a4f823b14f298bbbbbbbbbbbbbbbb",
response="6ccccccccccccccccccccccccccccccc", opaque="", qop="auth",
cnonce="abcdefab", nc=00000001
Expires: 120
Contact: <sip:[EMAIL PROTECTED]>
Event: registration
Content-Length: 0


---
phone*CLI>
<-- SIP read from 45.123.29.97:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.168.134.247:5060;received=216.98.159.235;branch=z9hG4bK32fe0b71;rport=5060
From: <sip:[EMAIL PROTECTED]>;tag=as133ed01a
To: <sip:[EMAIL PROTECTED]>;tag=SD4g5g799-192.168.100.21
+1+0+ca2d1757
Call-ID: [EMAIL PROTECTED]
CSeq: 146 REGISTER
WWW-Authenticate: Digest
realm="voip.myfavoriteisp.net",nonce="f6f7a243b39ace410a72f38aa6ca1a30",stale=false,algorithm=MD5,qop="auth"
Server: DC-SIP/2.0
Content-Length: 0


--- (9 headers 0 lines)---
May 23 09:56:39 NOTICE[9021]: chan_sip.c:8290 handle_response: Failed to
authenticate on REGISTER to
'<sip:[EMAIL PROTECTED]>;tag=as133ed01a'
Destroying call '[EMAIL PROTECTED]'


The above gets repeated over and over. I restart asterisk after I
comment out the register line to stop the cycling. Am I doing anything
obviously wrong?

Here's some hopefully relevant info:

sip.conf:

externip = 216.98.159.235

register => 3075689101:[EMAIL PROTECTED]

[tctwest]
realm=voip.tctwest.net
[EMAIL PROTECTED]
type=peer
context=workline
host=voip.myfavoriteisp.net
username=3073334444
md5secret=bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb



The md5secret was formed as per the wiki, using md5sum...

murf



-- 
Steve Murphy <[EMAIL PROTECTED]>
Electronic Tools Company

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to