cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
895
Views
0
Helpful
1
Replies

Modify Diversion user URI to +E164 format with Lua Script

Luk Nicolaers
Level 1
Level 1

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

1 Reply 1

Mark Stover
Cisco Employee
Cisco Employee

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: