Hi there,
We are trying to use a SIP normalization script to change the SIP URI header.
We are having issues sending cals from CUCM to Lync conference bridge via a SIP trunk. Internal calls to the conference bridge work fine, however calls from outside through our SIP Cube fail.
Tracing indicates that Lync cannot decipher the +61XXXXXXX@domain.com SIP URI, so we are tring to create a normalization script to change the SIP URI header..
We got the below but it doesnt seem to be working, can anyone help? Apparently the below should change @domain.com to 10.1.1.1 in the invite message so that lync can understand this..
M = {}
local function process_outbound_invite(msg)
local method, ruri, ver = msg:getRequestLine()
ruri = ruri.gsub(“domain.com″, "10.1.1.1")
msg:setRequestUri(ruri)
end
M.outbound_INVITE = process_outbound_invite
return M
Anyone have any ideas? Also if anyone can think of another way of diong this would be great!!
thanks