After further digging, it appears that the double 200 OK packet seems to always happen. I don’t think that is significant though.
I have stripped out the REGISTER, OPTIONS, NOTIFY and other not needed packets to make it easier to read.
Here is a new wireshark flow and the SIP debug info:
==== FLOW ====
[size=85]|Time | 10.132.6.15 | 10.132.10.14 |
| | | 10.132.21.254 |
|1.134 | INVITE SDP (g711A g711U telephone-eventRTPType…1) | |SIP From: “Mike Myhre” <sip:sss7100@10.132.6.15 To:<sip:2303@10.132.21.254:5060
| |(5060) ------------------> (5060) | |
|1.143 | 100 Trying| | |SIP Status
| |(5060) <------------------ (5060) | |
|1.399 | 180 Ringing | |SIP Status
| |(5060) <------------------ (5060) | |
|9.790 | 200 OK SDP (g711U telephone-eventRTPType-101) | |SIP Status
| |(5060) <------------------ (5060) | |
|9.791 | ACK | | |SIP Request
| |(5060) ------------------> (5060) | |
|10.081 | RTP (g711U) | |RTP Num packets:350 Duration:6.979s SSRC:0x68153CEE
| |(10002) <-------------------------------------- (50818) |
|10.259 | RTP (g711U) | |RTP Num packets:344 Duration:6.916s SSRC:0x3E23A8CC
| |(10002) --------------------------------------> (50818) |
|17.180 | INVITE SDP (g711U g729 telephone-eventRTPType-…) | |SIP Request
| |(5060) <------------------ (5060) | |
|17.181 | 100 Trying| | |SIP Status
| |(5060) ------------------> (5060) | |
|17.181 | 200 OK SDP (g711U telephone-eventRTPType-101) | |SIP Status
| |(5060) ------------------> (5060) | |
|17.196 | RTP (g711U) | |RTP Num packets:2058 Duration:41.154s SSRC:0x3E23A8CC
| |(10002) ------------------> (10000) | |
|17.280 | 200 OK SDP (g711U telephone-eventRTPType-101) | |SIP Status
| |(5060) ------------------> (5060) | |
|17.339 | ACK | | |SIP Request
| |(5060) <------------------ (5060) | |
|17.356 | RTP (g711U) | |RTP Num packets:1190 Duration:23.776s SSRC:0x2D061CAD
| |(10002) <------------------ (10000) | |
|41.141 | INVITE SDP (g711U g729 telephone-eventRTPType-…) | |SIP Request
| |(5060) <------------------ (5060) | |
|41.142 | 100 Trying| | |SIP Status
| |(5060) ------------------> (5060) | |
|41.142 | 200 OK SDP (g711U telephone-eventRTPType-101) | |SIP Status
| |(5060) ------------------> (5060) | |
|41.241 | 200 OK SDP (g711U telephone-eventRTPType-101) | |SIP Status
| |(5060) ------------------> (5060) | |
|41.337 | ACK | | |SIP Request
| |(5060) <------------------ (5060) | |
|41.407 | RTP (g711U) | |RTP Num packets:841 Duration:16.797s SSRC:0x631254C8
| |(10002) <-------------------------------------- (50818) |
|58.352 | BYE | | |SIP Request
| |(5060) <------------------ (5060) | |
|58.354 | 200 OK | | |SIP Status
| |(5060) ------------------> (5060) | |[/size]
==== SIP DEBUG TRACE =====
[size=85]“SIP/XXX_7100/2303”) in new stack
== Using SIP RTP CoS mark 5
Audio is at 10002
Adding codec 100004 (alaw) to SDP
Adding codec 100003 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 10.132.21.254:5060:
INVITE sip:2303@10.132.21.254:5060 SIP/2.0
Via: SIP/2.0/UDP 10.132.6.15:5060;branch=z9hG4bK7af35828
Max-Forwards: 70
From: “Mike Myhre” sip:xxx7100@10.132.6.15;tag=as37ced1e1
To: sip:2303@10.132.21.254:5060
Contact: sip:xxx7100@10.132.6.15:5060
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 102 INVITE
User-Agent: Asterisk PBX 11.0.0
Date: Mon, 10 Dec 2012 13:59:14 GMT
Session-Expires: 7200
Min-SE: 90
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 255
v=0
o=root 157010108 157010108 IN IP4 10.132.6.15
s=Asterisk PBX 11.0.0
c=IN IP4 10.132.6.15
t=0 0
m=audio 10002 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
-- Called SIP/XXX_7100/2303
<— SIP read from UDP:10.132.21.254:5060 —>
SIP/2.0 100 Trying
From: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
To: sip:2303@10.132.21.254:5060
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 10.132.6.15:5060;branch=z9hG4bK7af35828
Contact: sip:2303@10.132.21.254:5060;transport=UDP
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_NetVanta_7100/R10.3.1.E
Content-Length: 0
<------------->
— (11 headers 0 lines) —
<— SIP read from UDP:10.132.21.254:5060 —>
SIP/2.0 180 Ringing
From: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
To: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 10.132.6.15:5060;branch=z9hG4bK7af35828
Contact: sip:2303@10.132.21.254:5060;transport=UDP
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_NetVanta_7100/R10.3.1.E
Content-Length: 0
<------------->
— (11 headers 0 lines) —
list_route: hop: sip:2303@10.132.21.254:5060;transport=UDP
– SIP/XXX_7100-0000414c is ringing
<— SIP read from UDP:10.132.21.254:5060 —>
SIP/2.0 200 OK
From: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
To: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 10.132.6.15:5060;branch=z9hG4bK7af35828
Contact: sip:2303@10.132.21.254:5060;transport=UDP
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_NetVanta_7100/R10.3.1.E
Content-Type: application/sdp
Content-Length: 234
v=0
o=MxSIP 0 0 IN IP4 10.132.10.14
s=SIP Call
c=IN IP4 10.132.10.14
t=0 0
m=audio 50818 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:off - - - -
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
<------------->
— (12 headers 12 lines) —
Found RTP audio format 0
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format telephone-event for ID 101
Capabilities: us - (ulaw|alaw), peer - audio=(ulaw)/video=(nothing)/text=(nothing), combined - (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 10.132.10.14:50818
list_route: hop: sip:2303@10.132.21.254:5060;transport=UDP
set_destination: Parsing sip:2303@10.132.21.254:5060;transport=UDP for address/port to send to
set_destination: set destination to 10.132.21.254:5060
Transmitting (no NAT) to 10.132.21.254:5060:
ACK sip:2303@10.132.21.254:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.132.6.15:5060;branch=z9hG4bK5f65a4f4
Max-Forwards: 70
From: “Mike Myhre” sip:xxx7100@10.132.6.15;tag=as37ced1e1
To: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
Contact: sip:xxx7100@10.132.6.15:5060
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 102 ACK
User-Agent: Asterisk PBX 11.0.0
Content-Length: 0
-- SIP/XXX_7100-0000414c answered SIP/XXX-snom-0000414b
Audio is at 10104
Adding codec 100004 (alaw) to SDP
Adding codec 100003 (ulaw) to SDP
Adding codec 100002 (gsm) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
<------------>
– Locally bridging SIP/XXX-snom-0000414b and SIP/XXX_7100-0000414c
<------------->
<— SIP read from UDP:10.132.21.254:5060 —>
INVITE sip:xxx7100@10.132.6.15:5060 SIP/2.0
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 1 INVITE
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-373017-d793da1c-7f8016c4
Max-Forwards: 70
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_NetVanta_7100/R10.3.1.E
Contact: sip:2303@10.132.21.254:5060;transport=UDP
Content-Type: application/sdp
Content-Length: 266
v=0
o=- 1355149297 1355149297 IN IP4 10.132.21.254
s=-
c=IN IP4 10.132.21.254
t=0 0
m=audio 10000 RTP/AVP 0 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=silenceSupp:off - - - -
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
— (13 headers 12 lines) —
Sending to 10.132.21.254:5060 (no NAT)
Found RTP audio format 0
Found RTP audio format 18
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format G729 for ID 18
Found audio description format telephone-event for ID 101
Capabilities: us - (ulaw|alaw), peer - audio=(ulaw|g729)/video=(nothing)/text=(nothing), combined - (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 10.132.21.254:10000
<— Transmitting (no NAT) to 10.132.21.254:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-373017-d793da1c-7f8016c4;received=10.132.21.254
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 1 INVITE
Server: Asterisk PBX 11.0.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:xxx7100@10.132.6.15:5060
Content-Length: 0
<------------>
Audio is at 10002
Adding codec 100003 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
<— Reliably Transmitting (no NAT) to 10.132.21.254:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-373017-d793da1c-7f8016c4;received=10.132.21.254
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 1 INVITE
Server: Asterisk PBX 11.0.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:xxx7100@10.132.6.15:5060
Content-Type: application/sdp
Content-Length: 231
v=0
o=root 157010108 157010109 IN IP4 10.132.6.15
s=Asterisk PBX 11.0.0
c=IN IP4 10.132.6.15
t=0 0
m=audio 10002 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------>
– Locally bridging SIP/XXX-snom-0000414b and SIP/XXX_7100-0000414c
Retransmitting #1 (no NAT) to 10.132.21.254:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-373017-d793da1c-7f8016c4;received=10.132.21.254
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 1 INVITE
Server: Asterisk PBX 11.0.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:xxx7100@10.132.6.15:5060
Content-Type: application/sdp
Content-Length: 231
v=0
o=root 157010108 157010109 IN IP4 10.132.6.15
s=Asterisk PBX 11.0.0
c=IN IP4 10.132.6.15
t=0 0
m=audio 10002 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<— SIP read from UDP:10.132.21.254:5060 —>
ACK sip:xxx7100@10.132.6.15:5060;transport=UDP SIP/2.0
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 1 ACK
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-373017-d793dabc-50f4a8c6
Max-Forwards: 70
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_NetVanta_7100/R10.3.1.E
Contact: sip:2303@10.132.21.254:5060;transport=UDP
Content-Length: 0
— (12 headers 0 lines) —
<— SIP read from UDP:208.74.152.69:9319 —>
<— SIP read from UDP:10.132.21.254:5060 —>
INVITE sip:xxx7100@10.132.6.15:5060 SIP/2.0
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 2 INVITE
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-37302f-d79437ae-72c07ae5
Max-Forwards: 70
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_NetVanta_7100/R10.3.1.E
Contact: sip:2303@10.132.21.254:5060;transport=UDP
Content-Type: application/sdp
Content-Length: 281
v=0
o=MxSIP 0 2 IN IP4 10.132.10.14
s=SIP Call
c=IN IP4 10.132.10.14
t=0 0
m=audio 50818 RTP/AVP 0 18 101
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
— (13 headers 14 lines) —
Sending to 10.132.21.254:5060 (no NAT)
<— Transmitting (no NAT) to 10.132.21.254:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-37302f-d79437ae-72c07ae5;received=10.132.21.254
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 2 INVITE
Server: Asterisk PBX 11.0.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:xxx7100@10.132.6.15:5060
Content-Length: 0
<------------>
Audio is at 10002
Adding codec 100003 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
<— Reliably Transmitting (no NAT) to 10.132.21.254:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-37302f-d79437ae-72c07ae5;received=10.132.21.254
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 2 INVITE
Server: Asterisk PBX 11.0.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:xxx7100@10.132.6.15:5060
Content-Type: application/sdp
Content-Length: 231
v=0
o=root 157010108 157010109 IN IP4 10.132.6.15
s=Asterisk PBX 11.0.0
c=IN IP4 10.132.6.15
t=0 0
m=audio 10002 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------>
– Locally bridging SIP/XXX-snom-0000414b and SIP/XXX_7100-0000414c
Retransmitting #1 (no NAT) to 10.132.21.254:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-37302f-d79437ae-72c07ae5;received=10.132.21.254
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 2 INVITE
Server: Asterisk PBX 11.0.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:xxx7100@10.132.6.15:5060
Content-Type: application/sdp
Content-Length: 231
v=0
o=root 157010108 157010109 IN IP4 10.132.6.15
s=Asterisk PBX 11.0.0
c=IN IP4 10.132.6.15
t=0 0
m=audio 10002 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<— SIP read from UDP:10.132.21.254:5060 —>
ACK sip:xxx7100@10.132.6.15:5060;transport=UDP SIP/2.0
From: sip:2303@10.132.21.254:5060;tag=5435100-a8415fe-13c4-373007-88c2f01e-373007
To: "Mike Myhre"sip:xxx7100@10.132.6.15;tag=as37ced1e1
Call-ID: 244b81fe5a25124a196583503aa73185@10.132.6.15:5060
CSeq: 2 ACK
Via: SIP/2.0/UDP 10.132.21.254:5060;branch=z9hG4bK-37302f-d7943872-546758d3
Max-Forwards: 70
Supported: 100rel,replaces
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
User-Agent: ADTRAN_NetVanta_7100/R10.3.1.E
Contact: sip:2303@10.132.21.254:5060;transport=UDP
Content-Length: 0
[/size]