Subject: RE: Redirecting number mask with "CUCMs external phone number mask" ? Replied by: Christian Holst on 18-12-2012 05:45:16 AM Prober format if msg(can't delete the syntax par): We need E164 number as redirecting number for outbound calls. External phonenumber mask needs to be applied to redirecting number as customer has approx. 50 number ranges. TACs only answer is LUA since CUCM can't be upgraded) CUCM is 8.6.1 (can't be upgraded at the moment since HCS) We found this bit on cisco, but as I read it it's retrieving the mask as a parameter from the LUA script, we need it to retrieve the relevant External phone number mask. -- M = {} local mask = scriptParameters.getValue("Diversion-Mask") function M.outbound_INVITE(message) if mask then message:applyNumberMask("Diversion", mask) end end return M
Subject: RE: Redirecting number mask with "CUCMs external phone number mask" ? Replied by: Mark Stover on 07-05-2013 08:45:01 AM You are correct that LUA script can only retrieve a parameter from the SIP Normalization configuration at the SIP trunk level. You could potentially have a different SIP trunk for each number range that needs a different external mask and define a different "mask" parameter value on the SIP Normalization setting on each of those SIP trunks.
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: