06-16-2011 08:00 AM - last edited on 03-25-2019 08:07 PM by ciscomoderator
Hi,
I have configured a SIP trunk in CCM. There are no problems with incoming calls but I need to change SIP headers for outgoing calls. I need to send host name instead of IP address and I need to add "user=phone" in the header. ie
INVITE sip:630333333@10.186.100.12:5090 SIP/2.0
should be changed to
INVITE sip:630333333@host.company.com;user=phone SIP/2.0
I would like to do it without using DNS if possible.
Thanks and regards
Raúl
06-16-2011 09:02 AM
The user=phone value you can enable using a SIP Profile on the trunk; however, the hostname would normally be dictated by the System > Server value (which you likely changed to an IP address during install). CUCM 8.5 and beyond added a SIP Normalization Script feature that would allow you to make these modifications though.
06-16-2011 02:49 PM
Hi Jonathan,
Thanks for the answer. I have already tried the SIP Profile but it is not working. Supposed I am missing something.
About the hostname I do not refer to CCM hostname but the third party pbx I have established the sip trunk with.
Thanks and regards
06-17-2011 03:58 AM
If you want to do it with DNS you just need to enter the DNS address you want into the Destination Address of the SIP Trunk in CUCM. You do not have access to the hosts file in the VOS model so the only way I can think to send a DNS-formatted address in the INVITE without performing a DNS lookup would be to use the SIP Normalization script and have it replace any instance of the IP address(es) with the hostname(s).
As for the SIP Profile: Did you reset the SIP Trunk after making the change to it's profile? CUCM won't pick up a change to the trunk until you force a reset of it.
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