[cisco-voip] UCM 9.1 SIP Normalization Rules

Matt Slaga (AM) matt.slaga at dimensiondata.com
Fri Mar 14 10:04:09 EDT 2014


Just the request URI part of the header.




From: Pavan K [mailto:pav.ccie at gmail.com]
Sent: Friday, March 14, 2014 9:25 AM
To: Matt Slaga (AM)
Cc: 'Cisco-Voip-Puck' (cisco-voip at puck.nether.net)
Subject: Re: [cisco-voip] UCM 9.1 SIP Normalization Rules



Matt,
Are you expecting the to header to change or the request uri ?
On Mar 14, 2014 8:20 AM, "Matt Slaga (AM)" <matt.slaga at dimensiondata.com<mailto:matt.slaga at dimensiondata.com>> wrote:
I’m attempting to apply a SIP Normalization rule to make a port adjustment on SIP calls between UCM and Lync 2013.

In the header, UCM sends the port number as 5060.  Lync has problems digesting this when referring the call to another pool and wants to see the header at 5061.

The script we are attempting to use is below.  It has been applied to the various SIP trunks between UCM and Lync.

When reviewing traces, the port is not being adjusted.  Either the LUA script is wrong below, or for some reason it is not being applied.

Any thoughts?


M = {}
function M.outbound_INVITE(msg)
local method, ruri, ver = msg:getRequestLine()
local uri = string.gsub(ruri, "5060", "5061")
msg:setRequestUri(uri)
end
return M


[cid:image001.png at 01CF3F6C.BE20EB40]

[cid:image002.png at 01CF3F6C.BE20EB40]



Matt Slaga
Dimension Data
Tel:+1-571-203-4132
Matt.Slaga at DimensionData.com<mailto:Matt.Slaga at DimensionData.com>


_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip


itevomcid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140314/1f7f9446/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 106469 bytes
Desc: image001.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140314/1f7f9446/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 34829 bytes
Desc: image002.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140314/1f7f9446/attachment-0001.png>


More information about the cisco-voip mailing list