SIP Normalization Script SIP Invite IP-FQDN to Domain Not Working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2022 07:58 AM
We are trying to configure CUCM-Expressway Outbound B2B calling to allow for callback which doesn't work on the normal case since caller ID is DN@"CUCM IP Address" and we need to make it DN@Domain so we are using CUCM normalization script, I'm trying this now in a lab environment but i can't seem to make it work when i check CUCM SDL trace logs i see the header in the SIP invite just the same, i read in some other post on the community that TAC doesn't troubleshoot SIP Normalization Script so i was wondering of anyone can provide some insight regarding this, I'm using the below script configured on the SIP profile applied to Cisco Jabber:
M={}
function M.inbound_INVITE(msg)
local from = msg:getHeader("From")
local newfrom = string.gsub(from,"cucm1pub.example1.com","example2.com")
msg:modifyHeader("From", newfrom)
end
return M
- Labels:
-
UC Manager SIP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 07:42 AM - edited 02-26-2022 06:20 AM
Hello @Anas Hafez,
I'm not a CUCM expert but I know of some resources which may be helpful to you:
- Configure SIP Normalization Script in CCM - Cisco Unified Communications Manager (CallManager) - Configuration Examples and TechNotes
- Cisco Code Exchange - search results for Collaboration + CUCM
- DevNet Automation Exchange - search results for CUCM
- Cisco Unified Contact Center Express Script Repository (ZIP - 30 MB) - direct download link
- List of various GitHub repos having to do with CUCM
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2022 02:51 AM
Thanks alexstev:
That is indeed useful, but i also wanted to add that i managed to solve my problem (Translate DN@CUCM_IP_Address to DN@Domain) by checking the below in the SIP trunk & IP phone SIP profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2022 06:22 AM - edited 02-26-2022 06:23 AM
That's great that you solved it. Thank for sharing.
