Ticket #205 (closed defect: invalid)

Opened 9 months ago

Last modified 9 months ago

SENDS INVITE

Reported by: sunisp Assigned to: areski
Priority: critical Milestone:
Component: General Version:
Keywords: Cc:

Description

HI, I need help with this, In the call flow I sent to you from the test calls we did, our server 68.167.xx.xxx server takes the Invite XO sends and then transposes the To and From header values, and sends an Invite back to XO which is killing the call. For example, we send from 314-787-7805 to 213-867-0989 and your server sends us an Invite back with 314-787-7805 as the From and 213-867-0989 as the To. This is not a new Invite due to the same Call-ID. So we need to find out why our server is sending this Invite.

Invite From XO

Frame 222 (1139 bytes on wire, 1139 bytes captured)

Arrival Time: Feb 27, 2008 16:25:36.656515000

[Time delta from previous captured frame: 0.047646000 seconds]

[Time delta from previous displayed frame: 5.740058000 seconds]

[Time since reference or first frame: 5.740058000 seconds]

Frame Number: 222

Frame Length: 1139 bytes

Capture Length: 1139 bytes

[Frame is marked: True]

[Protocols in frame: eth:ip:udp:sip:sdp]

[Coloring Rule Name: UDP]

[Coloring Rule String: udp]

Ethernet II, Src: SonusNet?_01:44:23 (00:10:6b:01:44:23), Dst: All-HSRP-routers_0a (00:00:0c:07:ac:0a)

Destination: All-HSRP-routers_0a (00:00:0c:07:ac:0a)

Address: All-HSRP-routers_0a (00:00:0c:07:ac:0a)

.... ...0 .... .... .... .... = IG bit: Individual address (unicast)

.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)

Source: SonusNet?_01:44:23 (00:10:6b:01:44:23)

Address: SonusNet?_01:44:23 (00:10:6b:01:44:23)

.... ...0 .... .... .... .... = IG bit: Individual address (unicast)

.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)

Type: IP (0x0800)

Internet Protocol, Src: 207.155.147.62 (207.155.147.62), Dst: 68.167.xx.xxx (68.167.xxx.xxx)

Version: 4

Header length: 20 bytes

Differentiated Services Field: 0x68 (DSCP 0x1a: Assured Forwarding 31; ECN: 0x00)

0110 10.. = Differentiated Services Codepoint: Assured Forwarding 31 (0x1a)

.... ..0. = ECN-Capable Transport (ECT): 0

.... ...0 = ECN-CE: 0

Total Length: 1125

Identification: 0x8f45 (36677)

Flags: 0x00

0... = Reserved bit: Not set

.0.. = Don't fragment: Not set

..0. = More fragments: Not set

Fragment offset: 0

Time to live: 64

Protocol: UDP (0x11)

Header checksum: 0x0488 [correct]

[Good: True]

[Bad : False]

Source: 207.155.147.62 (207.155.147.62)

Destination: 68.167.xx.xxx (68.167.xxx.xxx)

User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)

Source port: 5060 (5060)

Destination port: 5060 (5060)

Length: 1105

Checksum: 0x0000 (none)

Good Checksum: False

Bad Checksum: False

Session Initiation Protocol

Request-Line: INVITE sip:2138670989@68.167.xxx.xxx:5060 SIP/2.0

Method: INVITE

[Resent Packet: False]

Message Header

Via: SIP/2.0/UDP 207.155.147.62:5060;branch=z9hG4bK0eBe19835df3d57d1a4

Transport: UDP

Sent-by Address: 207.155.147.62

Sent-by port: 5060

Branch: z9hG4bK0eBe19835df3d57d1a4

From: <sip:3147877805@207.155.147.62;isup-oli=0;pstn-params=808481808882;otg=TG_CORE_GSX>;tag=gK0e66fdfb

SIP from address: sip:3147877805@207.155.147.62

SIP tag: gK0e66fdfb

To: <sip:2138670989@68.167.xx.xxx>

SIP to address: sip:2138670989@68.167.xx.xxx

Call-ID: 252617073_9582@207.155.147.62

CSeq: 10549 INVITE

Sequence Number: 10549

Method: INVITE

Max-Forwards: 70

Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS

Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed

Contact: <sip:3147877805@207.155.147.62:5060>

Contact Binding: <sip:3147877805@207.155.147.62:5060>

URI: <sip:3147877805@207.155.147.62:5060>

SIP contact address: sip:3147877805@207.155.147.62:5060

Remote-Party-ID: <sip:3147877805@207.155.147.62:5060>;privacy=off

Supported: timer,100rel

Session-Expires: 1800

Min-SE: 90

Content-Length: 286

Content-Disposition: session; handling=required

Content-Type: application/sdp

Message body

Session Description Protocol

Session Description Protocol Version (v): 0

Owner/Creator, Session Id (o): Sonus_UAC 7764 24149 IN IP4 207.155.147.62

Owner Username: Sonus_UAC

Session ID: 7764

Session Version: 24149

Owner Network Type: IN

Owner Address Type: IP4

Owner Address: 207.155.147.62

Session Name (s): SIP Media Capabilities

Connection Information (c): IN IP4 207.155.147.42

Connection Network Type: IN

Connection Address Type: IP4

Connection Address: 207.155.147.42

Time Description, active time (t): 0 0

Session Start Time: 0

Session Stop Time: 0

Media Description, name and address (m): audio 23506 RTP/AVP 0 18 101

Media Type: audio

Media Port: 23506

Media Proto: RTP/AVP

Media Format: ITU-T G.711 PCMU

Media Format: ITU-T G.729

Media Format: 101

Media Attribute (a): rtpmap:0 PCMU/8000

Media Attribute Fieldname: rtpmap

Media Format: 0

MIME Type: PCMU

Media Attribute (a): rtpmap:18 G729/8000

Media Attribute Fieldname: rtpmap

Media Format: 18

MIME Type: G729

Media Attribute (a): fmtp:18 annexb=no

Media Attribute Fieldname: fmtp

Media Format: 18 [G729]

Media format specific parameters: annexb=no

Media Attribute (a): rtpmap:101 telephone-event/8000

Media Attribute Fieldname: rtpmap

Media Format: 101

MIME Type: telephone-event

Media Attribute (a): fmtp:101 0-15

Media Attribute Fieldname: fmtp

Media Format: 101 [telephone-event]

Media format specific parameters: 0-15

Media Attribute (a): sendrecv

Media Attribute (a): maxptime:20

Media Attribute Fieldname: maxptime

Media Attribute Value: 20

Invite From CPE

Frame 234 (864 bytes on wire, 864 bytes captured)

Arrival Time: Feb 27, 2008 16:25:37.081611000

[Time delta from previous captured frame: 0.024728000 seconds]

[Time delta from previous displayed frame: 0.161827000 seconds]

[Time since reference or first frame: 6.165154000 seconds]

Frame Number: 234

Frame Length: 864 bytes

Capture Length: 864 bytes

[Frame is marked: True]

[Protocols in frame: eth:ip:udp:sip:sdp]

[Coloring Rule Name: UDP]

[Coloring Rule String: udp]

Ethernet II, Src: Cisco_05:97:bf (00:13:c4:05:97:bf), Dst: SonusNet?_01:44:23 (00:10:6b:01:44:23)

Destination: SonusNet?_01:44:23 (00:10:6b:01:44:23)

Address: SonusNet?_01:44:23 (00:10:6b:01:44:23)

.... ...0 .... .... .... .... = IG bit: Individual address (unicast)

.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)

Source: Cisco_05:97:bf (00:13:c4:05:97:bf)

Address: Cisco_05:97:bf (00:13:c4:05:97:bf)

.... ...0 .... .... .... .... = IG bit: Individual address (unicast)

.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)

Type: IP (0x0800)

Internet Protocol, Src: 68.167.xx.xxx (68.167.xxx.xxx), Dst: 207.155.147.62 (207.155.147.62)

Version: 4

Header length: 20 bytes

Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)

0000 00.. = Differentiated Services Codepoint: Default (0x00)

.... ..0. = ECN-Capable Transport (ECT): 0

.... ...0 = ECN-CE: 0

Total Length: 850

Identification: 0x8f41 (36673)

Flags: 0x00

0... = Reserved bit: Not set

.0.. = Don't fragment: Not set

..0. = More fragments: Not set

Fragment offset: 0

Time to live: 54

Protocol: UDP (0x11)

Header checksum: 0x1007 [correct]

[Good: True]

[Bad : False]

Source: 68.167.xxx.xxx (68.167.xxx.xxx)

Destination: 207.155.147.62 (207.155.147.62)

User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)

Source port: 5060 (5060)

Destination port: 5060 (5060)

Length: 830

Checksum: 0xe8a1 [correct]

[Good Checksum: True]

[Bad Checksum: False]

Session Initiation Protocol

Request-Line: INVITE sip:3147877805@207.155.147.62:5060 SIP/2.0

Method: INVITE

[Resent Packet: False]

Message Header

Via: SIP/2.0/UDP 68.167.xx.xxx:5060;branch=z9hG4bK34a897d0;rport

Transport: UDP

Sent-by Address: 68.167.xx.xxx

Sent-by port: 5060

Branch: z9hG4bK34a897d0

RPort: rport

From: <sip:2138670989@68.167.xx.xxx>;tag=as7ece235e

SIP from address: sip:2138670989@68.167.xx.xxx

SIP tag: as7ece235e

To: <sip:3147877805@207.155.147.62;isup-oli=0;pstn-params=808481808882;otg=TG_CORE_GSX>;tag=gK0e66fdfb

SIP to address: sip:3147877805@207.155.147.62

SIP tag: gK0e66fdfb

Contact: <sip:2138670989@68.167.58.210>

Contact Binding: <sip:2138670989@68.167.xx.xxx>

URI: <sip:2138670989@68.167.xx.xxx>

SIP contact address: sip:2138670989@68.167.58.210

Call-ID: 252617073_9582@207.155.147.62

CSeq: 102 INVITE

Sequence Number: 102

Method: INVITE

User-Agent: Asterisk PBX

Max-Forwards: 70

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Content-Type: application/sdp

Content-Length: 262

Message body

Session Description Protocol

Session Description Protocol Version (v): 0

Owner/Creator, Session Id (o): root 2524 2525 IN IP4 69.38.211.222

Owner Username: root

Session ID: 2524

Session Version: 2525

Owner Network Type: IN

Owner Address Type: IP4

Owner Address: 69.38.211.222

Session Name (s): session

Connection Information (c): IN IP4 69.38.211.222

Connection Network Type: IN

Connection Address Type: IP4

Connection Address: 69.38.211.222

Time Description, active time (t): 0 0

Session Start Time: 0

Session Stop Time: 0

Media Description, name and address (m): audio 5034 RTP/AVP 18 101

Media Type: audio

Media Port: 5034

Media Proto: RTP/AVP

Media Format: ITU-T G.729

Media Format: 101

Media Attribute (a): rtpmap:18 G729/8000

Media Attribute Fieldname: rtpmap

Media Format: 18

MIME Type: G729

Media Attribute (a): fmtp:18 annexb=no

Media Attribute Fieldname: fmtp

Media Format: 18 [G729]

Media format specific parameters: annexb=no

Media Attribute (a): rtpmap:101 telephone-event/8000

Media Attribute Fieldname: rtpmap

Media Format: 101

MIME Type: telephone-event

Media Attribute (a): fmtp:101 0-16

Media Attribute Fieldname: fmtp

Media Format: 101 [telephone-event]

Media format specific parameters: 0-16

Media Attribute (a): silenceSupp:off - - - -

Media Attribute Fieldname: silenceSupp

Media Attribute Value: off - - - -

Media Attribute (a): ptime:20

Media Attribute Fieldname: ptime

Media Attribute Value: 20

Media Attribute (a): sendrecv

Change History

03/04/08 14:52:31 changed by stavros

  • status changed from new to closed.
  • resolution set to invalid.

This has nothing to do with A2Billing. Perhaps you should involve the Asterisk developers if you can't overcome the problem yourself.

Additionally, from what I understand of the SIP RFCs reversing the contents To: and From: headers is a perfectly valid thing to do.



Google