[Asterisk-Users] SIP error 407 - can't make outgoing calls
Paul Mahler
pmahler at signate.com
Fri Jun 18 16:26:33 MST 2004
I am using a IPDialog siptone II. I can take incoming calls, but when I try
and make an outgoing call I get a SIP 407 error.
Can some kind soul explain to me what I am doing wrong?
Here's what I found in the wiki:
If a proxy does not accept the credentials sent with a request, it SHOULD
return a 407 (Proxy Authentication Required). The response MUST include a
Proxy-Authenticate header field containing a (possibly new) challenge
applicable to the proxy for the requested resource.
Here's what I have in sip.conf
[514]
type=friend ; This device takes and makes calls
username=514
secret=password
context=inside
callerid="Paul Mahler" <4154424024>
qualify=1000
host=dynamic ; This host is not on the same IP addr every time
canreinvite=no
mailbox=514 at inside ; Activate the message waiting light for
waiting messages
;defaultip=192.168.0.102
Here's the sip debug showing the error:
to 209.234.100.68:5060
Retransmitting #5 (no NAT):
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 209.234.100.68:5060
From: "514" <sip:514 at 216.38.136.149>;tag=00003397-f0f0c367
To: "503" <sip:503 at 216.38.136.149>;tag=as0528d61b
Call-ID: 00004814-f0f0b8e4 at 209.234.100.68
CSeq: 14057 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:503 at 216.38.136.149>
Proxy-Authenticate: Digest realm="asterisk", nonce="230958ab"
Content-Length: 0
The password at the phone is the same as the password in sip.conf.
Thanks!
Paul Mahler
pmahler at signate.com <mailto:pmahler at signate.com>
<http://www.signate.com/>
Signate, LLC
665 Third Street
Suite 100
San Francisco, CA
94107-1901
Asterisk Services and Training
More information about the asterisk-users
mailing list