I'm tyring to setup a whole account with IP authentication but I get this: SIP/2.0 407 Proxy Authentication Required
This question have been asked a lot, but people who got their problem solved in the forum, did not state exactly how did they fix it.
<--- SIP read from 10.1.2.22:5060 --->
INVITE sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.1.2.22:5060;branch=z9hG4bK2cc1fb25;rport
From: "xxx" <sip:
[email protected]>;tag=as01de5f3b
To: <sip:
[email protected]>
Contact: <sip:
[email protected]>
Call-ID:
[email protected]CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "xxx" <sip:
[email protected]>;privacy=off;screen=no
Date: Thu, 03 Jun 2010 07:50:26 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 258
v=0
o=root 21398 21398 IN IP4 10.1.2.22
s=session
c=IN IP4 10.1.2.22
t=0 0
m=audio 13444 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
<------------->
--- (15 headers 13 lines) ---
Sending to 10.1.2.22 : 5060 (NAT)
Using INVITE request as basis request -
[email protected]localhost*CLI> sip set
<--- Reliably Transmitting (NAT) to 10.1.2.22:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.1.2.22:5060;branch=z9hG4bK2cc1fb25;received=10.1.2.22;rport=5060
From: "Mohammad" <sip:
[email protected]>;tag=as01de5f3b
To: <sip:
[email protected]>;tag=as15e72483
Call-ID:
[email protected]CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="448150c2"
Content-Length: 0