Dear,
We would like to modify the SIP User portion of the diversion URI to the E164 format. For the moment the CUCM sends the number in international format (00...) because Voicemail MASK is invoked (see CSCsm96435 Diversion header interaction with Voice Mail Box mask)
Does anyone have an Lua script example on how to strip the '00' and replace this with '+' for the user portion of the diversion URI?
Thanks
Best regards,
Luk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There aren't any official Cisco scripts to do this.
The tricky part is that there can be multiple Diversion Headers in the INVITE, and you'd have to process them all to make sure you're getting what you want.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.