Symptom
Blank Line added by CUBE in the SDP:
Sent:
SIP/2.0 200 OK
Via: SIP/2.0/TLS 52.114.132.46:5061;branch=z9hG4bKf368604d
From: ;tag=7e75cf21ac4b481690ef9928b8890f55
To: "U.S. CELLULAR" ;tag=FDEED69D-31D
Date: Fri, 12 Nov 2021 23:36:29 GMT
Call-ID: 2D5C66C5-434811EC-9DE9C989-B5DC4D8C@TeamsSBC.abc.gov
CSeq: 1 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-event
Contact:
Supported: replaces
Supported: sdp-anat
Server: Cisco-SIPGateway/IOS-17.3.3
X-MS-SBC: Cisco UBE/ISR4431/IOS-17.3.3
Session-ID: 5aeeb10240985ffdacdd710098829af4;remote=3d7a82d247aa50ff9f717006b0a9b18a
Session-Expires: 1800;refresher=uas
Require: timer
Supported: timer
Content-Type: application/sdp
Content-Length: 353
v=0
o=CiscoSystemsSIP-GW-UserAgent 4286 3236 IN IP4 165.1.1.1
s=SIP Call
c=IN IP4 0.0.0.0
t=0 0
m=audio 30002 RTP/SAVP 0 101
c=IN IP4 165.1.1.1
---------------------->Blank line here
a=mid:1
a=inactive
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Conditions
SIP Profile with following rules:
rule 160 response 200 sdp-header Session-Owner copy "IN IP4 (.*)" u04
rule 170 response 200 sdp-header Audio-Connection-Info modify "0.0.0.0" "\u04"
Will affect Solutions with MSFT (Direct Routing)
Workaround
extra line is added while modifying the Audio-Connection-info header 0.0.0.0 by a variable hence can you use the below work-around by directly replacing the hard coded IP of the Gateway.
Voice class sip-profile 5410
No rule 160 response 200 sdp-header Session-Owner copy "IN IP4 (.*)" u04
No rule 170 response 200 sdp-header Audio-Connection-Info modify "0.0.0.0" "\u04"
rule 170 response 200 sdp-header Audio-Connection-Info modify "0.0.0.0" "165.1.1.1"