AnsweredAssumed Answered

SIP Normalization Script Assistance:

Question asked by philjaeger on Nov 28, 2016
Latest reply on Dec 7, 2016 by philjaeger

Good Day,

 

I'm running CUCM 10.5.1 and having issues with a SIP normalization script.   I am trying to change any diversion header, in an invite message,  to a specific phone number.   The script I am using is below but it doesn't make any changes to the diversion header.

 

M={}

function M.outbound_INVITE(msg)
msg:applyNumberMask("Diversion", "4078222000")

end


function M.outbound_INVITE(msg)
msg:applyNumberMask("P-Asserted-Identity", "XXXXXXXXXX")

end
return M

 

Any advice is appreciated.

 

 

Regards,

Outcomes