Sven Evensen
2012-08-28 11:25:09 UTC
We have one system (4.4 in EC2) which uses sipxBridge and an other similar
one which uses unmanaged gateway.
Incoming INVITE to these two system show different behavior when the INVITE
goes from sipxProxy and further in to the system where the UA is really our
server on port 5560. Our server relays calls out to mobile phones.
The first INVITE below is with sipxbridge (sdp removed) shows how the
INVITE uses the FQDN and the VIA uses internal IP of sipx
The second shows the INVITE use external IP of sipx and the VIA also uses
external IP of sipx. This propagates into the system and causes problems on
the final ACK as seen on in attached pcap in line 76, this I believe stops
media from being relayed.
*1871 19.774448 10.7.7.30 54532 10.7.7.30 5070 SIP/SDP Request: INVITE
sip:***@ec2-50-18-193-48.us-west-1.compute.amazonaws.com*
INVITE sip:***@ec2-50-18-193-48.us-west-1.compute.amazonaws.comSIP/2.0
Record-Route: <sip:10.7.7.30:5060;lr>
Route: <sip:ec2-50-18-193-48.us-west-1.compute.amazonaws.com:5070
;transport=tcp;lr>
Call-Id: bee104006623-503c84f6-2cae7b74-1d175788-***@127.0.0.1-0
Cseq: 17965 INVITE
From: <sip:***@194.145.191.131>;tag=787762526
To: <sip:***@ec2-50-18-193-48.us-west-1.compute.amazonaws.com>
Via: SIP/2.0/TCP 10.7.7.30;branch=z9hG4bK-XX-2aaeiUlgRYKle1rNjQIwZC5nnw
Via: SIP/2.0/UDP 10.7.7.30:5090
;branch=z9hG4bK246b613edf92e02fcf8bed5fda63e0f33533;sipxecs-id=41a42656
Max-Forwards: 20
User-Agent: sipXecs/4.4.0 sipXecs/sipxbridge (Linux)
References: bee104006623-503c84f6-2cae7b74-1d175788-***@127.0.0.1
;rel=chain;sipxecs-tag=request-invite-z9hg4bk312.e7b1a027.0
Contact: <sip:***@10.7.7.30:5090;x-sipX-nonat>
Content-Type: application/sdp
Allow: INVITE,BYE,ACK,CANCEL,REFER,OPTIONS,PRACK
Supported: replaces,100rel
Content-Length: 179
Date: Tue, 28 Aug 2012 08:44:38 GMT
X-Sipx-Spiral: true
*1382 9.460933 10.5.5.10 37326 10.5.5.10 5070 SIP/SDP Request: INVITE
sip:***@176.34.141.24,*
INVITE sip:***@176.34.141.24 SIP/2.0
Record-Route: <sip:176.34.141.24:5060;lr>
Route: <sip:ec2-176-34-141-24.eu-west-1.compute.amazonaws.com:5070
;transport=tcp;lr>
Via: SIP/2.0/TCP 176.34.141.24:5060
;branch=z9hG4bK-XX-0182be3pQ05krfO`9nTh52Amwg
Via: SIP/2.0/UDP 94.231.97.9:5060;branch=z9hG4bK72c9e972;rport=5060
From: "+442083994301" <sip:+***@94.231.97.9>;tag=as2ba8402f
To: <sip:***@176.34.141.24>
Contact: <sip:+***@94.231.97.9;x-sipX-nonat>
Call-Id: ***@94.231.97.9
Cseq: 102 INVITE
User-Agent: CME VoIP PBX
Max-Forwards: 20
Date: Tue, 28 Aug 2012 08:24:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 236
X-Sipx-Spiral: true
--
*Sven Evensen, Operations Consultant*
*OnRelay*
Elizabeth House â 39 York Road, London SE1 7NQ, UK â +44 (0) 207 902 8123 â
mailto:***@onrelay.com <***@onrelay.com> â www.onrelay.com
This electronic message transmission contains information from OnRelay,
Ltd., that may be confidential or privileged. The information is intended
solely for the recipient and use by any other party is not authorised. If
you are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information or any attachment,
is prohibited. If you have received this electronic transmission in error,
please notify us immediately by electronic mail (***@onrelay.com) and
delete this message, along with any attachments, from your computer.
Registered in England No 04006093 Š Registered Office 1st Floor, 236 Gray's
Inn Road, London WC1X 8HB
one which uses unmanaged gateway.
Incoming INVITE to these two system show different behavior when the INVITE
goes from sipxProxy and further in to the system where the UA is really our
server on port 5560. Our server relays calls out to mobile phones.
The first INVITE below is with sipxbridge (sdp removed) shows how the
INVITE uses the FQDN and the VIA uses internal IP of sipx
The second shows the INVITE use external IP of sipx and the VIA also uses
external IP of sipx. This propagates into the system and causes problems on
the final ACK as seen on in attached pcap in line 76, this I believe stops
media from being relayed.
*1871 19.774448 10.7.7.30 54532 10.7.7.30 5070 SIP/SDP Request: INVITE
sip:***@ec2-50-18-193-48.us-west-1.compute.amazonaws.com*
INVITE sip:***@ec2-50-18-193-48.us-west-1.compute.amazonaws.comSIP/2.0
Record-Route: <sip:10.7.7.30:5060;lr>
Route: <sip:ec2-50-18-193-48.us-west-1.compute.amazonaws.com:5070
;transport=tcp;lr>
Call-Id: bee104006623-503c84f6-2cae7b74-1d175788-***@127.0.0.1-0
Cseq: 17965 INVITE
From: <sip:***@194.145.191.131>;tag=787762526
To: <sip:***@ec2-50-18-193-48.us-west-1.compute.amazonaws.com>
Via: SIP/2.0/TCP 10.7.7.30;branch=z9hG4bK-XX-2aaeiUlgRYKle1rNjQIwZC5nnw
Via: SIP/2.0/UDP 10.7.7.30:5090
;branch=z9hG4bK246b613edf92e02fcf8bed5fda63e0f33533;sipxecs-id=41a42656
Max-Forwards: 20
User-Agent: sipXecs/4.4.0 sipXecs/sipxbridge (Linux)
References: bee104006623-503c84f6-2cae7b74-1d175788-***@127.0.0.1
;rel=chain;sipxecs-tag=request-invite-z9hg4bk312.e7b1a027.0
Contact: <sip:***@10.7.7.30:5090;x-sipX-nonat>
Content-Type: application/sdp
Allow: INVITE,BYE,ACK,CANCEL,REFER,OPTIONS,PRACK
Supported: replaces,100rel
Content-Length: 179
Date: Tue, 28 Aug 2012 08:44:38 GMT
X-Sipx-Spiral: true
*1382 9.460933 10.5.5.10 37326 10.5.5.10 5070 SIP/SDP Request: INVITE
sip:***@176.34.141.24,*
INVITE sip:***@176.34.141.24 SIP/2.0
Record-Route: <sip:176.34.141.24:5060;lr>
Route: <sip:ec2-176-34-141-24.eu-west-1.compute.amazonaws.com:5070
;transport=tcp;lr>
Via: SIP/2.0/TCP 176.34.141.24:5060
;branch=z9hG4bK-XX-0182be3pQ05krfO`9nTh52Amwg
Via: SIP/2.0/UDP 94.231.97.9:5060;branch=z9hG4bK72c9e972;rport=5060
From: "+442083994301" <sip:+***@94.231.97.9>;tag=as2ba8402f
To: <sip:***@176.34.141.24>
Contact: <sip:+***@94.231.97.9;x-sipX-nonat>
Call-Id: ***@94.231.97.9
Cseq: 102 INVITE
User-Agent: CME VoIP PBX
Max-Forwards: 20
Date: Tue, 28 Aug 2012 08:24:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 236
X-Sipx-Spiral: true
--
*Sven Evensen, Operations Consultant*
*OnRelay*
Elizabeth House â 39 York Road, London SE1 7NQ, UK â +44 (0) 207 902 8123 â
mailto:***@onrelay.com <***@onrelay.com> â www.onrelay.com
This electronic message transmission contains information from OnRelay,
Ltd., that may be confidential or privileged. The information is intended
solely for the recipient and use by any other party is not authorised. If
you are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information or any attachment,
is prohibited. If you have received this electronic transmission in error,
please notify us immediately by electronic mail (***@onrelay.com) and
delete this message, along with any attachments, from your computer.
Registered in England No 04006093 Š Registered Office 1st Floor, 236 Gray's
Inn Road, London WC1X 8HB