[Asterisk-Users] Problem with SIP 407

Marc Fargas asterisk at telenieko.com
Wed Feb 25 13:13:14 MST 2004


On this cuts note that the gateway has username 'Republica', you could see
some reference to Republica2 which corresponds to a  second line on the
gateway that I have disabled.

Thanks for your help!

That's SIP debug when dialling '9' (9 would do Goto(s,1))
===================
*CLI> 
*CLI> 
11 headers, 2 lines
Reliably Transmitting:
NOTIFY sip:Republica at 192.168.6.2 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hG4bK0f92815a
From: "asterisk" <sip:asterisk at 192.168.2.2>;tag=as0bc66d50
To: <sip:Republica at 192.168.6.2>
Contact: <sip:asterisk at 192.168.2.2>
Call-ID: 297d2326127db26a250f00ba06a56bd5 at 192.168.2.2
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0
 (no NAT) to 192.168.6.2:5060


Sip read: 
SIP/2.0 501 Not Implemented
Via: SIP/2.0/UDP
192.168.2.2:5060;received=192.168.2.2;branch=z9hG4bK0f92815a
From: "asterisk"<sip:asterisk at 192.168.2.2> ;tag=as0bc66d50
To: <sip:Republica at 192.168.6.2> ;tag=c0a80602-13c4-30d-bef46-6225
Call-ID: 297d2326127db26a250f00ba06a56bd5 at 192.168.2.2
CSeq: 102 NOTIFY
Content-Length:0


7 headers, 0 lines
Feb 25 21:03:04 WARNING[98311]: chan_sip.c:4875 handle_response: Host
'192.168.6.2' does not implement 'NOTIFY'


Sip read: 
INVITE sip:9 at 192.168.2.2:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 1 INVITE
Content-Type: application/sdp
Content-Length:234

v=0
o=FXS_GW 12367 0 IN IP4 192.168.6.2
s=Audio Session
i=Audio Session
c=IN IP4 192.168.6.2
t=0 0
m=audio 16384 RTP/AVP 18 4 0 8
a=rtpmap:18 G729/8000/1
a=rtpmap:4 G723/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1

10 headers, 11 lines
Using latest request as basis request
Sending to 192.168.6.2 : 5060 (non-NAT)
Found audio format UNKN
Found audio format ULAW
Found audio format UNKN
Found audio format ALAW
Found description format G729
Found description format G723
Found description format PCMU
Found description format PCMA
Capabilities: us - 6, them - 269/854015, combined - 6
Non-codec capabilities: us - 1, them - 0, combined - 1
Reliably Transmitting (no NAT):
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76b77fc8
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:9 at 192.168.2.2>
Proxy-Authenticate: Digest realm="asterisk", nonce="2f9d85fe"
Content-Length: 0


 to 192.168.6.2:5060


Sip read: 
ACK sip:9 at 192.168.2.2:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone> ;tag=as76b77fc8
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 1 ACK
Content-Length:0


9 headers, 0 lines


Sip read: 
INVITE sip:9 at 192.168.2.2:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="2f9d85fe", uri="sip:9 at 192.168.2.2:5060;user=phone", re
sponse="4b434a0e18166c573b006cf9cbd2f3bc", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 2 INVITE
Content-Type: application/sdp
Content-Length:234

v=0
o=FXS_GW 12367 0 IN IP4 192.168.6.2
s=Audio Session
i=Audio Session
c=IN IP4 192.168.6.2
t=0 0
m=audio 16384 RTP/AVP 18 4 0 8
a=rtpmap:18 G729/8000/1
a=rtpmap:4 G723/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1

11 headers, 11 lines
Using latest request as basis request
Sending to 192.168.6.2 : 5060 (non-NAT)
Found audio format UNKN
Found audio format ULAW
Found audio format UNKN
Found audio format ALAW
Found description format G729
Found description format G723
Found description format PCMU
Found description format PCMA
Capabilities: us - 6, them - 269/854015, combined - 6
Non-codec capabilities: us - 1, them - 0, combined - 1
Looking for 9 in nacer
list_route: hop: <sip:Republica at 192.168.6.2:5060>
Transmitting (no NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76915db6
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:9 at 192.168.2.2>
Content-Length: 0


 to 192.168.6.2:5060
    -- Executing Goto("SIP/Republica-a2aa", "default|s|1") in new stack
    -- Goto (default,s,1)
    -- Executing Answer("SIP/Republica-a2aa", "") in new stack
We're at 192.168.2.2 port 19466
Video is at 192.168.2.2 port 18490
Answering with preferred capability 4
Answering with preferred capability 2
Answering with non-codec capability 1
Reliably Transmitting (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76915db6
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:9 at 192.168.2.2>
Content-Type: application/sdp
Content-Length: 233

v=0
o=root 28577 28577 IN IP4 192.168.2.2
s=session
c=IN IP4 192.168.2.2
t=0 0
m=audio 19466 RTP/AVP 0 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
m=video 18490 RTP/AVP

 to 192.168.6.2:5060
    -- Executing SetLanguage("SIP/Republica-a2aa", "es") in new stack
    -- Executing DigitTimeout("SIP/Republica-a2aa", "5") in new stack
    -- Set Digit Timeout to 5
    -- Executing ResponseTimeout("SIP/Republica-a2aa", "5") in new stack
    -- Set Response Timeout to 5
    -- Executing Wait("SIP/Republica-a2aa", "1") in new stack
    -- Executing Goto("SIP/Republica-a2aa", "1001|1") in new stack
    -- Goto (default,1001,1)
    -- Executing BackGround("SIP/Republica-a2aa", "frgs/frgs-inicionoche")
in new stack
    -- Playing 'frgs/frgs-inicionoche' (language 'es')
Retransmitting #1 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76915db6
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:9 at 192.168.2.2>
Content-Type: application/sdp
Content-Length: 233

v=0
o=root 28577 28577 IN IP4 192.168.2.2
s=session
c=IN IP4 192.168.2.2
t=0 0
m=audio 19466 RTP/AVP 0 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
m=video 18490 RTP/AVP

 to 192.168.6.2:5060
Retransmitting #2 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76915db6
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:9 at 192.168.2.2>
Content-Type: application/sdp
Content-Length: 233

v=0
o=root 28577 28577 IN IP4 192.168.2.2
s=session
c=IN IP4 192.168.2.2
t=0 0
m=audio 19466 RTP/AVP 0 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
m=video 18490 RTP/AVP

 to 192.168.6.2:5060
    -- Executing Goto("SIP/Republica-a2aa", "s|7") in new stack
    -- Goto (default,s,7)
    -- Executing Goto("SIP/Republica-a2aa", "1002|1") in new stack
    -- Goto (default,1002,1)
    -- Executing BackGround("SIP/Republica-a2aa", "frgs/frgs-horario") in
new stack
    -- Playing 'frgs/frgs-horario' (language 'es')
Retransmitting #3 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76915db6
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:9 at 192.168.2.2>
Content-Type: application/sdp
Content-Length: 233

v=0
o=root 28577 28577 IN IP4 192.168.2.2
s=session
c=IN IP4 192.168.2.2
t=0 0
m=audio 19466 RTP/AVP 0 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
m=video 18490 RTP/AVP

 to 192.168.6.2:5060
Retransmitting #4 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76915db6
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:9 at 192.168.2.2>
Content-Type: application/sdp
Content-Length: 233

v=0
o=root 28577 28577 IN IP4 192.168.2.2
s=session
c=IN IP4 192.168.2.2
t=0 0
m=audio 19466 RTP/AVP 0 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
m=video 18490 RTP/AVP

 to 192.168.6.2:5060
Retransmitting #5 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
To: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76915db6
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:9 at 192.168.2.2>
Content-Type: application/sdp
Content-Length: 233

v=0
o=root 28577 28577 IN IP4 192.168.2.2
s=session
c=IN IP4 192.168.2.2
t=0 0
m=audio 19466 RTP/AVP 0 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
m=video 18490 RTP/AVP

 to 192.168.6.2:5060
Feb 25 21:03:10 WARNING[98311]: chan_sip.c:471 retrans_pkt: Maximum retries
exceeded on call 58e18c-c0a80602-13c4-30e-befaf-19ab@
192.168.2.2 for seqno 2 (Response)
Feb 25 21:03:10 WARNING[344085]: file.c:521 ast_readaudio_callback: Failed
to write frame
  == Spawn extension (default, 1002, 1) exited non-zero on
'SIP/Republica-a2aa'
set_destination: Parsing <sip:Republica at 192.168.6.2:5060> for address/port
to send to
set_destination: set destination to 192.168.6.2, port 5060
Reliably Transmitting:
BYE sip:Republica at 192.168.6.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hG4bK700c8c87
From: <sip:9 at 192.168.2.2:5060;user=phone>;tag=as76915db6
To: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
Contact: <sip:9 at 192.168.2.2>
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 102 BYE
User-Agent: Asterisk PBX
Content-Length: 0

 (no NAT) to 192.168.6.2:5060


Sip read: 
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP
192.168.2.2:5060;received=192.168.2.2;branch=z9hG4bK700c8c87
From: <sip:9 at 192.168.2.2:5060;user=phone> ;tag=as76915db6
To: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-30e-befaf-7ba1
Call-ID: 58e18c-c0a80602-13c4-30e-befaf-19ab at 192.168.2.2
CSeq: 102 BYE
Content-Length:0


7 headers, 0 lines
Message is BYE

*CLI>


==============
End of output

That's the output of sip debug when I plug the gateway:
=============

Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-0-f5-7d76
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 1 REGISTER
Content-Length:0


9 headers, 0 lines
Using latest request as basis request
Sending to 192.168.6.2 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-0-f5-7d76
To: <sip:Republica at 192.168.2.2>;tag=as4f879ad9
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:Republica at 192.168.2.2>
Content-Length: 0


 to 192.168.6.2:5060
Transmitting (no NAT):
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-0-f5-7d76
To: <sip:Republica at 192.168.2.2>;tag=as4f879ad9
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:Republica at 192.168.2.2>
Proxy-Authenticate: Digest realm="asterisk", nonce="488d8438"
Content-Length: 0


 to 192.168.6.2:5060


Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica2 at 192.168.6.2:5060>;expires=3600
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica2 at 192.168.2.2> ;tag=c0a80602-13c4-0-226-7b02
To: <sip:Republica2 at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-2
CSeq: 2 REGISTER
Content-Length:0


9 headers, 0 lines
Using latest request as basis request
Sending to 192.168.6.2 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica2 at 192.168.2.2> ;tag=c0a80602-13c4-0-226-7b02
To: <sip:Republica2 at 192.168.2.2>;tag=as532f4bc0
Call-ID: c0a80602-13c4-0-cd-449b-2
CSeq: 2 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:Republica2 at 192.168.2.2>
Content-Length: 0


 to 192.168.6.2:5060
Feb 25 21:08:56 NOTICE[98311]: chan_sip.c:5405 handle_request: Registration
from '<sip:Republica2 at 192.168.2.2>' failed for '192.1
68.6.2'


Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="488d8438", uri="sip:192.168.2.2:5060", response="9485b
3a1975dd4576af7706db1e9c001", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
Content-Length:0


10 headers, 0 lines


Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="488d8438", uri="sip:192.168.2.2:5060", response="9485b
3a1975dd4576af7706db1e9c001", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
Content-Length:0


10 headers, 0 lines


Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="488d8438", uri="sip:192.168.2.2:5060", response="9485b
3a1975dd4576af7706db1e9c001", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
Content-Length:0


10 headers, 0 lines


Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="488d8438", uri="sip:192.168.2.2:5060", response="9485b
3a1975dd4576af7706db1e9c001", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
Content-Length:0


10 headers, 0 lines


Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="488d8438", uri="sip:192.168.2.2:5060", response="9485b
3a1975dd4576af7706db1e9c001", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
Content-Length:0


10 headers, 0 lines

*CLI> 
*CLI> 
*CLI> 
*CLI> 
*CLI> 

Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="488d8438", uri="sip:192.168.2.2:5060", response="9485b
3a1975dd4576af7706db1e9c001", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
Content-Length:0


10 headers, 0 lines


Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="488d8438", uri="sip:192.168.2.2:5060", response="9485b
3a1975dd4576af7706db1e9c001", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
Content-Length:0


10 headers, 0 lines
Using latest request as basis request
Sending to 192.168.6.2 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>;tag=as38234a34
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:Republica at 192.168.2.2>
Content-Length: 0


 to 192.168.6.2:5060
Transmitting (no NAT):
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d009d-398-1849
To: <sip:Republica at 192.168.2.2>;tag=as38234a34
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 3 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:Republica at 192.168.2.2>
Proxy-Authenticate: Digest realm="asterisk", nonce="00ac6fb3"
Content-Length: 0


 to 192.168.6.2:5060


Sip read: 
REGISTER sip:192.168.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.6.2:5060
Contact: <sip:Republica at 192.168.6.2:5060>;expires=3600
Proxy-Authorization: Digest username="Republica", realm="asterisk",
nonce="00ac6fb3", uri="sip:192.168.2.2:5060", response="64b82
2e0995c5101b6babf168cce423d", algorithm=MD5
User-Agent: FXS_GW (2asipfxs.106)
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d00ad-40d8-6f7c
To: <sip:Republica at 192.168.2.2>
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 4 REGISTER
Content-Length:0


10 headers, 0 lines
Using latest request as basis request
Sending to 192.168.6.2 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d00ad-40d8-6f7c
To: <sip:Republica at 192.168.2.2>;tag=as38234a34
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 4 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:Republica at 192.168.2.2>
Content-Length: 0


 to 192.168.6.2:5060
Transmitting (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.6.2:5060
From: <sip:Republica at 192.168.2.2> ;tag=c0a80602-13c4-403d00ad-40d8-6f7c
To: <sip:Republica at 192.168.2.2>;tag=as38234a34
Call-ID: c0a80602-13c4-0-cd-449b-1
CSeq: 4 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Expires: 3600
Contact: <sip:Republica at 192.168.2.2>;expires=3600
Date: Wed, 25 Feb 2004 20:09:12 GMT
Content-Length: 0


 to 192.168.6.2:5060
11 headers, 2 lines
Reliably Transmitting:
NOTIFY sip:Republica at 192.168.6.2 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.2:5060;branch=z9hG4bK4b660dc1
From: "asterisk" <sip:asterisk at 192.168.2.2>;tag=as0802fb3a
To: <sip:Republica at 192.168.6.2>
Contact: <sip:asterisk at 192.168.2.2>
Call-ID: 1b7366521a47bf8c4dc798f27241fde4 at 192.168.2.2
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0
 (no NAT) to 192.168.6.2:5060


Sip read: 
SIP/2.0 501 Not Implemented
Via: SIP/2.0/UDP
192.168.2.2:5060;received=192.168.2.2;branch=z9hG4bK4b660dc1
From: "asterisk"<sip:asterisk at 192.168.2.2> ;tag=as0802fb3a
To: <sip:Republica at 192.168.6.2> ;tag=c0a80602-13c4-403d00b1-5109-a8b
Call-ID: 1b7366521a47bf8c4dc798f27241fde4 at 192.168.2.2
CSeq: 102 NOTIFY
Content-Length:0


7 headers, 0 lines
Feb 25 21:09:16 WARNING[98311]: chan_sip.c:4875 handle_response: Host
'192.168.6.2' does not implement 'NOTIFY'

*CLI> 







More information about the asterisk-users mailing list