cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2516
Views
0
Helpful
3
Replies

SIP/2.0 400 Bad Request when the call transfer 8821

KY_
Level 4
Level 4

Hello Everyone

 

Some of call fails when the user transfer it 8821 ip phone, It mostly happen 8821 

Have someone who experienced this issue ?

 

Here is the call analysis....

========================================
## Invite from Calling :
========================================
50127088.003 |10:50:24.394 |AppInfo |//SIP/SIPUdp/wait_SdlDataInd: Incoming SIP UDP message size 1335 from 10.34.74.250:[56510]:
[26740656,NET]
INVITE sip:4300@10.30.40.100:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.74.250:5060;branch=z9hG4bK611260B
Remote-Party-ID: <sip:0534XXXXXX@10.34.74.250>;party=calling;screen=no;privacy=off
From: <sip:0534XXXXXX@10.34.74.250>;tag=9AA9A9D5-1393
To: <sip:4300@10.30.40.100>
Date: Thu, 18 Oct 2018 07:55:11 GMT
Call-ID: F9531959-D1E111E8-83BED1D6-37BB7FBE@10.34.74.250
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 4182932786-3521188328-2209927638-0935034814
User-Agent: Cisco-SIPGateway/IOS-16.3.7
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Timestamp: 1539849311
Contact: <sip:0534XXXXXX@10.34.74.250:5060>
Expires: 180
Allow-Events: telephone-event
Max-Forwards: 65
Session-ID: c88d6876435556088351b038bd8d2b80;remote=00000000000000000000000000000000
Session-Expires: 15400;refresher=uac
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 318

v=0
o=CiscoSystemsSIP-GW-UserAgent 8024 7681 IN IP4 10.34.74.250
s=SIP Call
c=IN IP4 10.34.74.250
t=0 0
m=audio 9832 RTP/AVP 8 0 18 101
c=IN IP4 10.34.74.250
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20



========================================
## Digit analysis :
========================================
|CallingPartyNumber=0534XXXXXX
|DialingPartition=TR_IST_ZYT
|DialingPattern=4300
|FullyQualifiedCalledPartyNumber=4300


========================================
## Call Forward all to 4301:
========================================
cfa = 4301, cfaToVM


========================================
## DA after forward:
========================================
|CallingPartyNumber=0534XXXXXX
|DialingPartition=TR_IST_ZYT
|DialingPattern=4301
|FullyQualifiedCalledPartyNumber=4301




========================================
## Invite to 4301:
========================================
50127196.001 |10:50:24.405 |AppInfo |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.34.74.12 on port 51526 index 799436
[26740658,NET]
INVITE sip:c0b5c79c-799c-046b-8759-1dcd6b0f3d6f@10.34.74.12:51526;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 10.30.40.100:5060;branch=z9hG4bK10f5dd1307f289
From: <sip:0534XXXXXX@10.30.40.100>;tag=8962530~61bb6024-b60f-8d0d-50da-777fa1085105-31396654
To: <sip:4301@10.30.40.100>
Date: Thu, 18 Oct 2018 07:50:24 GMT
Call-ID: 771e6580-bc813b40-ea293-b530460a@10.30.40.100
Supported: timer,resource-priority,replaces
Min-SE: 1800
User-Agent: Cisco-CUCM10.5
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
CSeq: 101 INVITE
Expires: 300
Allow-Events: presence
Call-Info: <urn:x-cisco-remotecc:callinfo>; security= Unknown; orientation= from; gci= 1-14709758; isVoip; call-instance= 1
Send-Info: conference, x-cisco-conference
Alert-Info: <file://Bellcore-dr2/>
Diversion: "Sond Hou" <sip:4300@10.30.40.100>;reason=unconditional;privacy=off;screen=yes
Remote-Party-ID: <sip:0534XXXXXX@10.30.40.100;x-cisco-callback-number=0534XXXXXX>;party=calling;screen=yes;privacy=off
Contact: <sip:0534XXXXXX@10.30.40.100:5060;transport=tcp>
Max-Forwards: 64
Content-Length: 0





========================================
## pressed Transfer :
========================================
50131489.003 |10:50:38.600 |AppInfo |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.34.74.12 on port 51526 index 799436 with 2228 bytes:
[26741061,NET]
INVITE sip:0534XXXXXX@10.30.40.100:5060;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 10.34.74.12:51526;branch=z9hG4bK4ad9e310
From: <sip:4301@10.30.40.100>;tag=682c7bcb3c3e04401ade0de8-11be6d6d
To: <sip:0534XXXXXX@10.30.40.100>;tag=8962530~61bb6024-b60f-8d0d-50da-777fa1085105-31396654
Call-ID: 771e6580-bc813b40-ea293-b530460a@10.30.40.100
Max-Forwards: 70
Session-ID: 7e7ec10400105000a000682c7bcb3c3e;remote=00000000000000000000000000000000
Date: Thu, 18 Oct 2018 07:50:37 GMT
CSeq: 101 INVITE
User-Agent: Cisco-CP8821/11.0.4
Contact: <sip:c0b5c79c-799c-046b-8759-1dcd6b0f3d6f@10.34.74.12:51526;transport=tcp>;+u.sip!devicename.ccm.cisco.com="SEP682C7BCB3C3E"
Accept: application/sdp
Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE,INFO
Remote-Party-ID: "Sond Hou" <sip:4301@10.30.40.100>;party=called;id-type=subscriber;privacy=off;screen=yes
Call-Info: <urn:x-cisco-remotecc:hold>; reason= transfer; protect= true; noholdreversion
Supported: replaces,join,sdp-anat,norefersub,resource-priority,extended-refer,X-cisco-callinfo,X-cisco-serviceuri,X-cisco-escapecodes,X-cisco-service-control,X-cisco-srtp-fallback,X-cisco-monrec,X-cisco-config,X-cisco-sis-7.0.0,X-cisco-xsi-8.5.1
Allow-Events: kpml,dialog
Recv-Info: conference
Recv-Info: x-cisco-conference
RTP-RxStat: Dur=10,Pkt=474,Oct=81356,LatePkt=1,LostPkt=0,AvgJit=9,VQMetrics="CCR=0.0056;ICR=0.0000;ICRmx=0.0182;CS=2;SCS=0;Ver=0.90;VoRxCodec=G.711 u-la;CID=4;VoPktSizeMs=20;VoPktLost=0;VoPktDis=1;VoOneWayDelayMs=0"
RTP-TxStat: Dur=10,Pkt=479,Oct=76640
Content-Length: 561
Content-Type: application/sdp
Content-Disposition: session;handling=optional

v=0
o=Cisco-SIPUA 6967 1 IN IP4 10.34.74.12
s=SIP Call
b=AS:4064
t=0 0
m=audio 27938 RTP/AVP 114 9 124 0 8 116 18 101
c=IN IP4 10.34.74.12
b=TIAS:64000
a=rtpmap:114 opus/48000/2
a=ptime:20
a=fmtp:114 maxplaybackrate=16000;sprop-maxcapturerate=16000;maxaveragebitrate=64000;stereo=0;sprop-stereo=0;usedtx=0
a=rtpmap:9 G722/8000
a=rtpmap:124 ISAC/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:116 iLBC/8000
a=fmtp:116 mode=20
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendonly




========================================
## DA for transfer :
========================================
|CallingPartyNumber=4301
|DialingPartition=TR_IST_ZYT
|DialingPattern=4312
|FullyQualifiedCalledPartyNumber=4312



========================================
## invite to 4312 :
========================================
50132858.001 |10:50:42.547 |AppInfo |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.34.74.14 on port 52977 index 799430
[26741207,NET]
INVITE sip:8066b807-853f-1153-f0c8-c0c5b1f357c7@10.34.74.14:52977;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 10.30.40.100:5060;branch=z9hG4bK10f6123a40cff6
From: "Sond Hou" <sip:4301@10.30.40.100>;tag=8962709~61bb6024-b60f-8d0d-50da-777fa1085105-31396691
To: <sip:4312@10.30.40.100>
Date: Thu, 18 Oct 2018 07:50:42 GMT
Call-ID: 81d8fa80-bc813b52-ea2b5-b530460a@10.30.40.100
Supported: timer,resource-priority,replaces
Min-SE: 1800
User-Agent: Cisco-CUCM10.5
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
CSeq: 101 INVITE
Expires: 300
Allow-Events: presence
Call-Info: <urn:x-cisco-remotecc:callinfo>; security= Unknown; orientation= from; gci= 1-14709763; isVoip; call-instance= 1
Send-Info: conference, x-cisco-conference
Alert-Info: <file://Bellcore-dr1/>
Remote-Party-ID: "Sond Hou" <sip:4301@10.30.40.100;x-cisco-callback-number=4301>;party=calling;screen=yes;privacy=off
Contact: <sip:4301@10.30.40.100:5060;transport=tcp>;+u.sip!devicename.ccm.cisco.com="SEP682C7BCB3C3E"
Max-Forwards: 69
Content-Length: 0



========================================
## Incoming 400 Bad request from 4312 ( 8821 phone )
========================================
50133049.003 |10:50:43.278 |AppInfo |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.34.74.14 on port 52977 index 799430 with 871 bytes:
[26741235,NET]
SIP/2.0 400 Bad Request
Via: SIP/2.0/TCP 10.30.40.100:5060;branch=z9hG4bK10f6123a40cff6
From: "Sond Hou" <sip:4301@10.30.40.100>;tag=8962709~61bb6024-b60f-8d0d-50da-777fa1085105-31396691
To: <sip:4312@10.30.40.100>;tag=00451d87bdae7218619718d5-53138081
Call-ID: 81d8fa80-bc813b52-ea2b5-b530460a@10.30.40.100
Session-ID: 174c28d400105000a00000451d87bdae;remote=00000000000000000000000000000000
Date: Thu, 18 Oct 2018 07:50:43 GMT
CSeq: 101 INVITE
Server: Cisco-CP8821/11.0.4
Contact: <sip:8066b807-853f-1153-f0c8-c0c5b1f357c7@10.34.74.14:52977;transport=tcp>;+u.sip!devicename.ccm.cisco.com="SEP00451D87BDAE"
Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE,INFO
Remote-Party-ID: "Hasan GUZELYURT" <sip:4312@10.30.40.100>;party=called;id-type=subscriber;privacy=off;screen=yes
Allow-Events: kpml,dialog
Content-Length: 0


Another Example:

 


66055105.003 |15:19:07.009 |AppInfo |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.34.74.12 on port 51632 index 866294 with 860 bytes:
[29214384,NET]
Sond Hou
Via: SIP/2.0/TCP0.30.40.70:5060;branch=z9hG4bK12ca69f5f6c5d
From: <sip:05352324597@10.70.48.181>;tag=9785499~61bb6024-b60f-8d0d-50da-777fa1085105-31469980
To: <sip:4301@0.30.40.70>;tag=682c7bcb3c3e04b17148601f-01a38498
Call-ID: 2a658800-bc91cbb9-101760-b530460a@10.70.48.181



63017538.003 |11:36:18.885 |AppInfo |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.34.74.14 on port 49594 index 810068 with 870 bytes:
[28857516,NET]
SIP/2.0 400 Bad Request
Via: SIP/2.0/TCP 10.30.40.70:5060;branch=z9hG4bK1276551d7b8338
From: "XXXXXXX

<sip:4301@0.30.40.70>;tag=9668318~61bb6024-b60f-8d0d-50da-777fa1085105-31451746
To: <sip:4312@10.30.40.70>;tag=00451d87bdae766044acb90e-4e9c9750
Call-ID: b0b3280-bc919782-fdb5d-b530460a@0.30.40.70

I already open case tac but they are still working on it.

 

Regards

1 Accepted Solution

Accepted Solutions

Problem is resolved after adding following command on the CUBE.

Media re-nego was failed before then it was return cause code 65

 

Solution;

 

Voice service voip

Sip

midcall-signaling passthru media-change

To: <sip:4300@10.30.40.100>;tag=11785910~61bb6024-b60f-8d0d-50da-777fa1085105-31500209

Date: Mon, 22 Oct 2018 06:21:29 GMT

Call-ID: 8703837D-D4F911E8-B7ACD1D6-37BB7FBE@10.44.55.66

User-Agent: Cisco-SIPGateway/IOS-16.3.7

Max-Forwards: 70

Timestamp: 1540189289

CSeq: 103 BYE

Reason: Q.850;cause=65

Session-ID: 76cc08ba58225fa58978cae486f44e50;remote=c7217ccb8454576499eb4eb2526ae721

Content-Length: 0

 

View solution in original post

3 Replies 3

Dennis Mink
VIP Alumni
VIP Alumni

looking at this, where you get the bad request from your provider:

 

 

SIP/2.0 400 Bad Request
Via: SIP/2.0/TCP 10.30.40.100:5060;branch=z9hG4bK10f6123a40cff6
From: "Sond Hou" <sip:4301@10.30.40.100>;tag=8962709~61bb6024-b60f-8d0d-50da-777fa1085105-31396691

 

that is only 4 digits.. does your provider not expect you to to send 10 digits or full E164?

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


Helo Denis

Your stituation is incorrect this ip phone to iphone  tranefer calls when the call  arrive from provider. WE are  getting bad request from ip phone not provider.

You are missing, provider is sending E164 numbering. fine.

 

Thanks

Problem is resolved after adding following command on the CUBE.

Media re-nego was failed before then it was return cause code 65

 

Solution;

 

Voice service voip

Sip

midcall-signaling passthru media-change

To: <sip:4300@10.30.40.100>;tag=11785910~61bb6024-b60f-8d0d-50da-777fa1085105-31500209

Date: Mon, 22 Oct 2018 06:21:29 GMT

Call-ID: 8703837D-D4F911E8-B7ACD1D6-37BB7FBE@10.44.55.66

User-Agent: Cisco-SIPGateway/IOS-16.3.7

Max-Forwards: 70

Timestamp: 1540189289

CSeq: 103 BYE

Reason: Q.850;cause=65

Session-ID: 76cc08ba58225fa58978cae486f44e50;remote=c7217ccb8454576499eb4eb2526ae721

Content-Length: 0