04-30-2024 06:33 AM
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
Solved! Go to Solution.
04-30-2024 06:40 AM
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.
04-30-2024 06:40 AM
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.
04-30-2024 06:49 AM
Good suggestion. That did work.
I think I can work with that.
Thanks for the quick response.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide