cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
124
Views
5
Helpful
2
Replies

CUCM SIP Normalization Script to remove SDP line for "m=video"

Bill
Level 1
Level 1

I am trying to create a SIP Normalization script in CUCM that will remove an SDP line.
The Line is:   m=video 36272 RTP/AVP 126 97 111
This is on CUCM 14.0 SU3.

The SIP Trunks goes to an Expressway-C.
I am attempting an audio call, but the receiving device is complaining about the m=video line.

I’ve seen some examples, but none seem to work.

Here is one I tried:


M = {}
function M.inbound_INVITE(msg)
local sdp = msg:getSdp()
if sdp
then
sdp = sdp:removeLine("m=video")
msg:setSdp(sdp)
end
end
return M

Also tried changing M.inbound to M.outbound

Thanks

1 Accepted Solution

Accepted Solutions

b.winter
VIP
VIP

Just use a seperate Device Pool with a separate region for the Trunk to EXP-C.
And in the region settings, set the video bandwidth and immersive video bandwith to "None" to all other regions.

No need to mess around with LUA scripts.

View solution in original post

2 Replies 2

b.winter
VIP
VIP

Just use a seperate Device Pool with a separate region for the Trunk to EXP-C.
And in the region settings, set the video bandwidth and immersive video bandwith to "None" to all other regions.

No need to mess around with LUA scripts.

Good suggestion. That did work.
I think I can work with that.
Thanks for the quick response.