Hi,
I wanna change the IP Address inside a inbound SIP Message but is not working
We need to convert the PUBLIC IP ADDRESS to the Internal CUCM IP Address
M = {}
function M.inbound_INVITE(msg)
local orig_to = msg:getHeader("To")
local new_to = orig_to:gsub("PUBLIC", "PRIVATE")
msg:modifyHeader("To", new_to)
end
return M
Regards
Leonardo Santana
*** Rate All Helpful Responses***