cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
912
Views
2
Helpful
3
Replies

CUCM Trunk Normalisation Script for RE Mobile

Casey_A
Level 1
Level 1

I've got RE mobile working in the labs without the normalisation script for the CUCM trunk that was included in the Configuration guide. What's the implication of not using a normalisation script on the CUCM trunk? Thanks.

1 Accepted Solution

Accepted Solutions

cshiyou
Cisco Employee
Cisco Employee

hi

what you need to change is the domain name part.

for example, you REAS cluster FQDN is abc.cisco.com

M = {}

function M.outbound_INVITE(msg)

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

local uri = string.gsub(ruri, "@(.*):%d+", "@abc.cisco.com")

msg:setRequestUri(uri)

local toheader = msg:getHeader("To")

local touri = string.gsub(toheader, "@(.*)>", "@abc.cisco.com>")

msg:modifyHeader("To", touri)

end

return M

View solution in original post

3 Replies 3

cshiyou
Cisco Employee
Cisco Employee

hi,

it is not mandatory to add the script.

it is only required in case you deploy REM in CUCM only mode.

yours

Alan

exjun
Cisco Employee
Cisco Employee

Hello, Alan.

When I look at re mobile installation guide, it contains a sip normalization script as below for reference, but I am not sure what to change, making it work out in my CUCM only environment

I am assuming I need to change "@fcsdk.registration.domain" to something for my lab and applied re mobile ip address there, but no chance of luck.

Could you please shed a light on this ?

Thanks in advance

M = {}

function M.outbound_INVITE(msg)

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

local uri = string.gsub(ruri, "@(.*):%d+", "@fcsdk.registration.domain")

msg:setRequestUri(uri)

local toheader = msg:getHeader("To")

local touri = string.gsub(toheader, "@(.*)>", "@fcsdk.registration.domain>")

msg:modifyHeader("To", touri)

end

return M

cshiyou
Cisco Employee
Cisco Employee

hi

what you need to change is the domain name part.

for example, you REAS cluster FQDN is abc.cisco.com

M = {}

function M.outbound_INVITE(msg)

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

local uri = string.gsub(ruri, "@(.*):%d+", "@abc.cisco.com")

msg:setRequestUri(uri)

local toheader = msg:getHeader("To")

local touri = string.gsub(toheader, "@(.*)>", "@abc.cisco.com>")

msg:modifyHeader("To", touri)

end

return M