[Asterisk-Users] SIP problem with Nikotel
Fernando Gache
fernando at gache.com
Thu Mar 18 10:27:44 MST 2004
Hi, I'm testing Nikotel with Asterisk.
Sound quality is Ok, but I can´t manage to have a call longer then 1 minute
After 1 minute or so, my * exchanges some SIP messages with Nikotel and the
call ends with maximum retries error.
Debugging the SIP messages, I see 2 IP´s in the VIA header, the
calamar0.nikotel.com (63.214.186.6 Nikotel server) and a CiscoSystemsSIP
(195.126.99.75). I suppose this second IP is part of the Nikotel routers.
The problem is that, when my Asterisk sends a INVITE message including the
second IP, the same Cisco returns a 606 message. After a couple of this
messages, the server hungs up with maximum retries.
Following are the messages I'm talking about. Any ideas? Am I doing
something wrong?
Sip read:
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 80.28.41.108:6012;branch=z9hG4bK65f066d4
From: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
To: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
Date: Thu, 18 Mar 2004 14:34:34 GMT
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 103 INVITE
Allow-Events: telephone-event
Content-Disposition: session;handling=required
Content-Type: application/sdp
Content-Length: 286
Contact: <sip:34645984891 at 195.126.99.75:5060>
Record-Route: <sip:34645984891 at 63.214.186.6:5060;maddr=63.214.186.6>
v=0
o=CiscoSystemsSIP-GW-UserAgent 4092 6217 IN IP4 195.126.99.75
s=SIP Call
c=IN IP4 195.126.99.75
t=0 0
m=audio 16842 RTP/AVP 3 101 100
c=IN IP4 195.126.99.75
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
14 headers, 12 lines
Found audio format UNKN
Found audio format UNKN
Found audio format UNKN
Found description format GSM
Found description format telephone-event
Found description format X-NSE
Capabilities: us - 1550, them - 2/0, combined - 2
Non-codec capabilities: us - 1, them - 1, combined - 1
-- SIP/nikotel-c3c9 is making progress passing it to
IAX2[13101 at 13101]/10
bcn01*CLI>
Sip read:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.28.41.108:6012;branch=z9hG4bK65f066d4
From: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
To: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
Date: Thu, 18 Mar 2004 14:34:34 GMT
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 103 INVITE
Session-Expires: 120;refresher=uas
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE,
NOTIFY, INFO
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 286
Contact: <sip:34645984891 at 195.126.99.75:5060>
Record-Route: <sip:34645984891 at 63.214.186.6:5060;maddr=63.214.186.6>
v=0
o=CiscoSystemsSIP-GW-UserAgent 4092 6217 IN IP4 195.126.99.75
s=SIP Call
c=IN IP4 195.126.99.75
t=0 0
m=audio 16842 RTP/AVP 3 101 100
c=IN IP4 195.126.99.75
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
15 headers, 12 lines
Found audio format UNKN
Found audio format UNKN
Found audio format UNKN
Found description format GSM
Found description format telephone-event
Found description format X-NSE
Capabilities: us - 1550, them - 2/0, combined - 2
Non-codec capabilities: us - 1, them - 1, combined - 1
list_route: hop: <sip:34645984891 at 63.214.186.6:5060;maddr=63.214.186.6>
list_route: hop: <sip:34645984891 at 195.126.99.75:5060>
set_destination: Parsing
<sip:34645984891 at 63.214.186.6:5060;maddr=63.214.186.6> for address/port to
send to
-- SIP/nikotel-c3c9 answered IAX2[13101 at 13101]/10
set_destination: set destination to 63.214.186.6, port 5060
Transmitting:
ACK sip:34645984891 at 195.126.99.75:5060 SIP/2.0
Via: SIP/2.0/UDP 80.28.41.108:5082;branch=z9hG4bK65f066d4
Route: <sip:34645984891 at 195.126.99.75:5060>
From: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
To: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
Contact: <sip:minder at 80.28.41.108:5082>
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 103 ACK
User-Agent: Asterisk PBX
Content-Length: 0
(no NAT) to 63.214.186.6:5060
bcn01*CLI>
Sip read:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.28.41.108:6012;branch=z9hG4bK65f066d4
From: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
To: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
Date: Thu, 18 Mar 2004 14:34:34 GMT
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 103 INVITE
Session-Expires: 120;refresher=uas
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE,
NOTIFY, INFO
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 286
Contact: <sip:34645984891 at 195.126.99.75:5060>
Record-Route: <sip:34645984891 at 63.214.186.6:5060;maddr=63.214.186.6>
v=0
o=CiscoSystemsSIP-GW-UserAgent 4092 6217 IN IP4 195.126.99.75
s=SIP Call
c=IN IP4 195.126.99.75
t=0 0
m=audio 16842 RTP/AVP 3 101 100
c=IN IP4 195.126.99.75
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
15 headers, 12 lines
Found audio format UNKN
Found audio format UNKN
Found audio format UNKN
Found description format GSM
Found description format telephone-event
Found description format X-NSE
Capabilities: us - 1550, them - 2/0, combined - 2
Non-codec capabilities: us - 1, them - 1, combined - 1
list_route: hop: <sip:34645984891 at 63.214.186.6:5060;maddr=63.214.186.6>
list_route: hop: <sip:34645984891 at 195.126.99.75:5060>
set_destination: Parsing
<sip:34645984891 at 63.214.186.6:5060;maddr=63.214.186.6> for address/port to
send to
set_destination: set destination to 63.214.186.6, port 5060
Transmitting:
ACK sip:34645984891 at 195.126.99.75:5060 SIP/2.0
Via: SIP/2.0/UDP 80.28.41.108:5082;branch=z9hG4bK65f066d4
Route: <sip:34645984891 at 195.126.99.75:5060>
From: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
To: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
Contact: <sip:minder at 80.28.41.108:5082>
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 103 ACK
User-Agent: Asterisk PBX
Content-Length: 0
(no NAT) to 63.214.186.6:5060
bcn01*CLI>
Sip read:
INVITE sip:minder at 80.28.41.108:5082;maddr=63.214.186.6 SIP/2.0
Via: SIP/2.0/UDP 63.214.186.6
Via: SIP/2.0/UDP 195.126.99.75
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
Date: Thu, 18 Mar 2004 14:35:22 GMT
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Supported: timer,100rel
Session-Expires: 120;refresher=uac
Min-SE: 60
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE,
NOTIFY, INFO
CSeq: 101 INVITE
Max-Forwards: 6
Remote-Party-ID: "13101"
<sip:minder at 195.126.99.75>;party=calling;screen=no;privacy=off
Timestamp: 1079620522
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 286
Contact: <sip:34645984891 at 195.126.99.75:5060>
Record-Route: <sip:minder at 63.214.186.6:5060;maddr=63.214.186.6>
v=0
o=CiscoSystemsSIP-GW-UserAgent 4092 6217 IN IP4 195.126.99.75
s=SIP Call
c=IN IP4 195.126.99.75
t=0 0
m=audio 16842 RTP/AVP 3 101 100
c=IN IP4 195.126.99.75
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
22 headers, 12 lines
Using latest request as basis request
Sending to 63.214.186.6 : 5060 (non-NAT)
Found audio format UNKN
Found audio format UNKN
Found audio format UNKN
Found description format GSM
Found description format telephone-event
Found description format X-NSE
Capabilities: us - 1550, them - 2/0, combined - 2
Non-codec capabilities: us - 1, them - 1, combined - 1
We're at 80.28.41.108 port 10552
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 63.214.186.6
Via: SIP/2.0/UDP 195.126.99.75
Record-Route: <sip:minder at 63.214.186.6:5060;maddr=63.214.186.6>
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:minder at 80.28.41.108:5082>
Content-Type: application/sdp
Content-Length: 215
v=0
o=root 19184 19186 IN IP4 80.28.41.108
s=session
c=IN IP4 80.28.41.108
t=0 0
m=audio 10552 RTP/AVP 3 101
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
to 63.214.186.6:5060
bcn01*CLI>
Sip read:
SIP/2.0 606 Not Acceptable "See warning header"
Via: SIP/2.0/UDP 195.126.99.75
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
CSeq: 101 INVITE
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Expires: 31
Content-Length: 0
Warning: Please check the VIA path. This message is not for us at
63.214.186.6:5060
9 headers, 0 lines
Message is INVITE
Retransmitting #1 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 63.214.186.6
Via: SIP/2.0/UDP 195.126.99.75
Record-Route: <sip:minder at 63.214.186.6:5060;maddr=63.214.186.6>
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:minder at 80.28.41.108:5082>
Content-Type: application/sdp
Content-Length: 215
v=0
o=root 19184 19186 IN IP4 80.28.41.108
s=session
c=IN IP4 80.28.41.108
t=0 0
m=audio 10552 RTP/AVP 3 101
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
to 63.214.186.6:5060
Retransmitting #2 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 63.214.186.6
Via: SIP/2.0/UDP 195.126.99.75
Record-Route: <sip:minder at 63.214.186.6:5060;maddr=63.214.186.6>
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:minder at 80.28.41.108:5082>
Content-Type: application/sdp
Content-Length: 215
v=0
o=root 19184 19186 IN IP4 80.28.41.108
s=session
c=IN IP4 80.28.41.108
t=0 0
m=audio 10552 RTP/AVP 3 101
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
to 63.214.186.6:5060
bcn01*CLI>
Sip read:
SIP/2.0 606 Not Acceptable "See warning header"
Via: SIP/2.0/UDP 195.126.99.75
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
CSeq: 101 INVITE
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Expires: 31
Content-Length: 0
Warning: Please check the VIA path. This message is not for us at
63.214.186.6:5060
9 headers, 0 lines
Message is INVITE
Retransmitting #3 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 63.214.186.6
Via: SIP/2.0/UDP 195.126.99.75
Record-Route: <sip:minder at 63.214.186.6:5060;maddr=63.214.186.6>
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:minder at 80.28.41.108:5082>
Content-Type: application/sdp
Content-Length: 215
v=0
o=root 19184 19186 IN IP4 80.28.41.108
s=session
c=IN IP4 80.28.41.108
t=0 0
m=audio 10552 RTP/AVP 3 101
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
to 63.214.186.6:5060
Retransmitting #4 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 63.214.186.6
Via: SIP/2.0/UDP 195.126.99.75
Record-Route: <sip:minder at 63.214.186.6:5060;maddr=63.214.186.6>
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:minder at 80.28.41.108:5082>
Content-Type: application/sdp
Content-Length: 215
v=0
o=root 19184 19186 IN IP4 80.28.41.108
s=session
c=IN IP4 80.28.41.108
t=0 0
m=audio 10552 RTP/AVP 3 101
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
to 63.214.186.6:5060
bcn01*CLI>
Sip read:
SIP/2.0 606 Not Acceptable "See warning header"
Via: SIP/2.0/UDP 195.126.99.75
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
CSeq: 101 INVITE
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Expires: 31
Content-Length: 0
Warning: Please check the VIA path. This message is not for us at
63.214.186.6:5060
9 headers, 0 lines
Message is INVITE
Retransmitting #5 (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 63.214.186.6
Via: SIP/2.0/UDP 195.126.99.75
Record-Route: <sip:minder at 63.214.186.6:5060;maddr=63.214.186.6>
From: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
To: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:minder at 80.28.41.108:5082>
Content-Type: application/sdp
Content-Length: 215
v=0
o=root 19184 19186 IN IP4 80.28.41.108
s=session
c=IN IP4 80.28.41.108
t=0 0
m=audio 10552 RTP/AVP 3 101
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
to 63.214.186.6:5060
Mar 18 15:09:31 WARNING[49159]: chan_sip.c:495 retrans_pkt: Maximum retries
exceeded on call 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108 for seqno 101
(Response)
set_destination: Parsing
<sip:34645984891 at 63.214.186.6:5060;maddr=63.214.186.6> for address/port to
send to
set_destination: set destination to 63.214.186.6, port 5060
Reliably Transmitting:
BYE sip:34645984891 at 195.126.99.75:5060 SIP/2.0
Via: SIP/2.0/UDP 80.28.41.108:5082;branch=z9hG4bK65f066d4
Route: <sip:34645984891 at 195.126.99.75:5060>
From: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
To: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
Contact: <sip:minder at 80.28.41.108:5082>
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
CSeq: 104 BYE
User-Agent: Asterisk PBX
Proxy-Authorization: Digest username="minder", realm="nikotel.com",
algorithm="MD5", uri="sip:34645984891 at 195.126.99.75:5060",
nonce="fb5e64ef87", response="d52e4568812a7816740d52756519de59"
Content-Length: 0
(no NAT) to 63.214.186.6:5060
== Spawn extension (sip_clients, 0834645984891, 1) exited non-zero on
'IAX2[13101 at 13101]/10'
-- Hungup 'IAX2[13101 at 13101]/10'
bcn01*CLI>
Sip read:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.28.41.108:6021;branch=z9hG4bK65f066d4
From: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
To: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
CSeq: 104 BYE
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Expires: 31
Content-Length: 0
Contact: <sip:minder at 80.28.41.108:5082>
9 headers, 0 lines
Message is BYE
bcn01*CLI>
Sip read:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.28.41.108:6021;branch=z9hG4bK65f066d4
From: "13101" <sip:minder at 80.28.41.108:5082>;tag=as14c97a22
To: <sip:34645984891 at calamar0.nikotel.com>;tag=18B7B6CC-1BEC
Date: Thu, 18 Mar 2004 14:35:29 GMT
Call-ID: 65989b546ffeb99f1490f28a39b2506b at 80.28.41.108
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
CSeq: 104 BYE
More information about the asterisk-users
mailing list