Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SIP/2.0 400 Bad Request - 'Malformed/Missing Contact field'

I set up a trunk between Avaya and CUCM but when I call from Avaya to PSTN a receive the error "SIP/2.0 400 Bad Request - 'Malformed/Missing Contact field' (what does it mean????)

This is my scenario:

Avaya (SIP) -> CUCM -> (SIP) Voice Gateway

This the log extract from the CUCM:

INVITE sip:435@172.30.3.252 SIP/2.0

From: "Test<Australia>" <sip:4131@coscon-ses.com>;tag=066f4f88a5ae31ddb84f9871ca00

To: sip:435@172.30.3.252

Call-ID: 066f4f88a5ae31deb84f9871ca00

CSeq: 1 INVITE

Max-Forwards: 71

Route: <sip:172.30.3.252;lr;phase=terminating;transport=tcp>

Record-Route: <sip:172.32.201.208;lr;transport=tcp>

Via: SIP/2.0/TCP 172.32.201.208;branch=z9hG4bK066f4f88a5ae31dfb84f9871ca00

User-Agent: Avaya CM/R015x.02.1.016.4

Supported: timer, replaces, join, histinfo, 100rel

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

Contact: "Test<Australia>" <sip:4131@172.32.201.208;transport=tcp>

Session-Expires: 1200;refresher=uac

Min-SE: 1200

P-Asserted-Identity: "Test<Australia>" <sip:4131@coscon-ses.com>

Content-Type: application/sdp

History-Info: <sip:435@172.30.3.252>;index=1

History-Info: "435" <sip:435@172.30.3.252>;index=1.1

Alert-Info: <cid:internal@invalid.unknown.domain>;avaya-cm-alert-type=internal

Content-Length: 252

v=0

o=- 1 1 IN IP4 172.32.201.208

s=-

c=IN IP4 172.32.201.203

b=AS:64

t=0 0

m=audio 52284 RTP/AVP 18 0 8 101

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=yes

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:101 telephone-event/8000

a=ptime:30

INVITE sip:435@172.30.3.252 SIP/2.0

From: "Test<Australia>" <sip:4131@coscon-ses.com>;tag=066f4f88a5ae31ddb84f9871ca00

To: sip:435@172.30.3.252

Call-ID: 066f4f88a5ae31deb84f9871ca00

CSeq: 2 INVITE

Max-Forwards: 71

Route: <sip:172.30.3.252;lr;phase=terminating;transport=tcp>

Record-Route: <sip:172.32.201.208;lr;transport=tcp>

Via: SIP/2.0/TCP 172.32.201.208;branch=z9hG4bK8066f4f88a5ae31e0b84f9871ca00

User-Agent: Avaya CM/R015x.02.1.016.4

Supported: timer, replaces, join, histinfo, 100rel

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

Contact: "Test<Australia>" <sip:4131@172.32.201.208;transport=tcp>

Session-Expires: 1800;refresher=uac

Min-SE: 1800

P-Asserted-Identity: "Test<Australia>" <sip:4131@coscon-ses.com>

Content-Type: application/sdp

History-Info: <sip:435@172.30.3.252>;index=1

History-Info: "435" <sip:435@172.30.3.252>;index=1.1

Alert-Info: <cid:internal@invalid.unknown.domain>;avaya-cm-alert-type=internal

Content-Length: 252

v=0

o=- 1 1 IN IP4 172.32.201.208

s=-

c=IN IP4 172.32.201.203

b=AS:64

t=0 0

m=audio 52284 RTP/AVP 18 0 8 101

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=yes

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:101 telephone-event/8000

a=ptime:30

SIP/2.0 100 Trying

Via: SIP/2.0/TCP 172.32.201.208;branch=z9hG4bK8066f4f88a5ae31e0b84f9871ca00

From: "Test<Australia>" <sip:4131@coscon-ses.com>;tag=066f4f88a5ae31ddb84f9871ca00

To: sip:435@172.30.3.252

Date: Fri, 08 Nov 2013 05:17:49 GMT

Call-ID: 066f4f88a5ae31deb84f9871ca00

CSeq: 2 INVITE

Allow-Events: presence

Content-Length: 0

INVITE sip:0392582600@172.30.3.254:5060 SIP/2.0

Via: SIP/2.0/TCP 172.30.3.252:5060;branch=z9hG4bK26a5845ec88e6

From: "Test<Australia>" <sip:092004131@172.30.3.252>;tag=286974~3b2f3ffb-a349-4309-b2d9-a3867e731109-17833990

To: <sip:0392582600@172.30.3.254>

Date: Fri, 08 Nov 2013 05:17:49 GMT

Call-ID: 1ab18200-27c173fd-1c138-fc031eac@172.30.3.252

Supported: timer,resource-priority,replaces

Min-SE:  1800

User-Agent: Cisco-CUCM9.1

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

CSeq: 101 INVITE

Expires: 180

Allow-Events: presence

Supported: X-cisco-srtp-fallback

Supported: Geolocation

Cisco-Guid: 0447840768-0000065536-0000006291-4228062892

Session-Expires:  1800

P-Asserted-Identity: "Test<Australia>" <sip:092004131@172.30.3.252>

Remote-Party-ID: "Test<Australia>" <sip:092004131@172.30.3.252>;party=calling;screen=yes;privacy=off

Contact: <sip:092004131@172.30.3.252:5060;transport=tcp>" <sip:4131@172.32.201.208;transport=tcp>

Max-Forwards: 70

Content-Type: application/sdp

Content-Length: 214

v=0

o=CiscoSystemsCCM-SIP 286974 1 IN IP4 172.30.3.252

s=SIP Call

c=IN IP4 172.30.3.254

t=0 0

m=audio 24336 RTP/AVP 8 101

a=rtpmap:8 PCMA/8000

a=ptime:20

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

SIP/2.0 400 Bad Request - 'Malformed/Missing Contact field'

Via: SIP/2.0/TCP 172.30.3.252:5060;branch=z9hG4bK26a5845ec88e6

From: "Test<Australia>" <sip:092004131@172.30.3.252>;tag=286974~3b2f3ffb-a349-4309-b2d9-a3867e731109-17833990

To: <sip:0392582600@172.30.3.254>;tag=C88DE7C0-313

Call-ID: 1ab18200-27c173fd-1c138-fc031eac@172.30.3.252

CSeq: 101 INVITE

Reason: Q.850;cause=100

Content-Length: 0

ACK sip:0392582600@172.30.3.254:5060 SIP/2.0

Via: SIP/2.0/TCP 172.30.3.252:5060;branch=z9hG4bK26a5845ec88e6

From: "Test<Australia>" <sip:092004131@172.30.3.252>;tag=286974~3b2f3ffb-a349-4309-b2d9-a3867e731109-17833990

To: <sip:0392582600@172.30.3.254>;tag=C88DE7C0-313

Date: Fri, 08 Nov 2013 05:17:49 GMT

Call-ID: 1ab18200-27c173fd-1c138-fc031eac@172.30.3.252

Max-Forwards: 70

CSeq: 101 ACK

Allow-Events: presence

Content-Length: 0

SIP/2.0 500 Internal Server Error

Via: SIP/2.0/TCP 172.32.201.208;branch=z9hG4bK8066f4f88a5ae31e0b84f9871ca00

From: "Test<Australia>" <sip:4131@coscon-ses.com>;tag=066f4f88a5ae31ddb84f9871ca00

To: sip:435@172.30.3.252;tag=286973~3b2f3ffb-a349-4309-b2d9-a3867e731109-17833987

Date: Fri, 08 Nov 2013 05:17:49 GMT

Call-ID: 066f4f88a5ae31deb84f9871ca00

CSeq: 2 INVITE

Allow-Events: presence

Reason: Q.850;cause=100

Content-Length: 0

ACK sip:435@172.30.3.252 SIP/2.0

From: "Test<Australia>" <sip:4131@coscon-ses.com>;tag=066f4f88a5ae31ddb84f9871ca00

To: sip:435@172.30.3.252;tag=286973~3b2f3ffb-a349-4309-b2d9-a3867e731109-17833987

Call-ID: 066f4f88a5ae31deb84f9871ca00

Via: SIP/2.0/TCP 172.32.201.208;branch=z9hG4bK8066f4f88a5ae31e0b84f9871ca00

CSeq: 2 ACK

Max-Forwards: 70

Route: <sip:172.30.3.252;lr;phase=terminating;transport=tcp>

User-Agent: Avaya CM/R015x.02.1.016.4

Content-Length: 0

1 REPLY

SIP/2.0 400 Bad Request - 'Malformed/Missing Contact field'

you are sending From:

Contact: <092004131>" <4131>

,as the contact, towards your SIP voice gateway.  I dont know where that comes from but 092004131 is definitely not a Melbourne number (strip the 0 off).

 

There is a contact in there twice, with two IP addresses, the original one from avaya is:

sip:4131@172.32.201.208

check this post out.

https://supportforums.cisco.com/message/3810453#3810453

=============================
Please remember to rate useful posts, by clicking on the stars below.

=============================

Please remember to rate useful posts, by clicking on the stars below.

2483
Views
0
Helpful
1
Replies
CreatePlease to create content