cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1029
Views
0
Helpful
4
Replies

CUCM 8.6 Request URI Domain

mcecilia
Level 1
Level 1

   Hello Sirs,

I have CUCM 8.6 with TopLevel Domain in Enterprise parameteres configured as "Test.com", and also a SIP Trunk with destination IP 211.211.211.211.

When I make a call using the trunk, the Request URI has the format XXXX@211.211.211.211 and my network needs to manage calls as XXXX@Test.com.

Can you help me to arrange this?

Thanks                  

1 Accepted Solution

Accepted Solutions

You will need to use sip normalization scripts to do this..To do this do the following:

1. Go to device>device settings>sip normalization script

2. Click on Add new

3. Give the script a name

4. Copy and paste the script below  into the contect box

M = {}

function M.outbound_INVITE(msg)

local method, ruri, ver = msg:getRequestLine()

local uri = string.gsub (ruri, “211.211.211.211″, “Test.com”)

msg:setRequestUri(uri)

end

return M

5. save it.

6. Then go to the sip trunk in question, scroll down to Normalization script (its right at the bottom) Select this script. Save and reset the trunk.

NB: change the IP and name to the values that match your system

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

View solution in original post

4 Replies 4

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

What do you have in your environment. Do you have CUBE or you are connecting directly to the provider using a sip trunk

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

mcecilia
Level 1
Level 1

Thanks Sir,
I have nothing more than cucm to do this.
Regards


Sent from Cisco Technical Support Android App

You will need to use sip normalization scripts to do this..To do this do the following:

1. Go to device>device settings>sip normalization script

2. Click on Add new

3. Give the script a name

4. Copy and paste the script below  into the contect box

M = {}

function M.outbound_INVITE(msg)

local method, ruri, ver = msg:getRequestLine()

local uri = string.gsub (ruri, “211.211.211.211″, “Test.com”)

msg:setRequestUri(uri)

end

return M

5. save it.

6. Then go to the sip trunk in question, scroll down to Normalization script (its right at the bottom) Select this script. Save and reset the trunk.

NB: change the IP and name to the values that match your system

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts