11-18-2016 09:32 AM
Unfortunately we do not have a CUBE in the call flow. If we did I would use the following to perform what i need to accomplish:
voice service voip
sip
sip-profiles 1
voice class sip-profiles 1
request ANY sip-header Allow-Header modify " UPDATE," ""
response ANY sip-header Allow-Header modify " UPDATE," ""
However what we have is a SIP trunk directly from a CUCM 10.5 server to the CCE CVP. I understand i could remove the UPDATE from the allow in the header with a Normalization Script, does anyone have an example.
I believe it should look like the following:
1. M = {}
2. function M.inbound_INVITE(msg)
3. msg:removeHeaderValue("Allow", " UPDATE")
4. end
5. function M.outbound_INVITE(msg)
6. msg:removeHeaderValue("Allow", " UPDATE")
7. end
8. return M
Thank you in advance for any help
-Doug
11-18-2016 09:50 AM
What you have looks like it should work for the initial invites, don't forget the subsequent response messages to the INVITE though:
M = {}
function M.inbound_INVITE(msg)
msg:removeHeaderValue("Allow", "UPDATE")
end
function M.outbound_INVITE(msg)
msg:removeHeaderValue("Allow", "UPDATE")
end
function M.inbound_ANY_INVITE(msg)
msg:removeHeaderValue("Allow", "UPDATE")
end
function M.outbound_ANY_INVITE(msg)
msg:removeHeaderValue("Allow", "UPDATE")
end
return M
I recommend applying the profile and testing (I recommend on the trunk - the sip profile sip normalization selection doesn't work sometimes). You can use RTMT to grab CM traces and load them in to translator X to see how the SIP messaging turns out after the transformation.
Developer Guide for SIP Transparency and Normalization - Cisco
Thanks!
Ryan Ticer
11-18-2016 09:59 AM
Ryan,
Thanks for the sanity check, I will test and let you know.
-Doug
08-10-2022 06:39 AM - edited 08-10-2022 06:42 AM
ryanticer post worked for me!
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