03-28-2020 02:51 AM
Hello,
I have to use a phone number from provider1 but I must route the external calls to provider 2.
1) On CUCM Site 2 is a phone with DN from provider 1
2) Call Flow:
- Call - Provider1 -> CUCM Site 1 -> CUCM Site 2 -> Phone on site 2 is ringing
- Phone on site 2 is dailing an external number -> Provider 2 -> External phone is ringing
Provider2 doesnt accept calling IDs from different providers. Is there any way to get this done via SIP Normalization script on CUCM?
Thank you for help!
Cheers
Solved! Go to Solution.
03-28-2020 11:24 AM
03-28-2020 04:19 AM
Hi there,
You can do SIP manipulation but the provider 2 will not accept calls that have different originating calling ID from the ones that is provided/assigned from the ITSP provider 2 to that specific SIP trunk.
Do you have an assigned DID from the provider 2?
Thanks,
Dijar
03-28-2020 08:18 AM - edited 03-28-2020 08:19 AM
Thanks for quick response!
Yes I have some assigned DIDs from provider 2 as well.
03-28-2020 11:24 AM
04-01-2020 09:33 AM
After you have to change also the PAI or Diversion Header.
M = {}
function M.outbound_INVITE(msg)
ocal diversHeader = msg:getHeader("Diversion")
if diversHeader
then
msg:applyNumberMask("Diversion", "+1234567)
end
end
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