what about to change the destination port in the siptrunk config ??--
Florian Kroessbacher
gmail: florian.kroessbac...@gmail.com

On Fri, Mar 14, 2014 at 2:20 PM, Matt Slaga (AM)
<matt.sl...@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@01CF3F65.E9BE66D0]
> [cid:image002.png@01CF3F66.5781C450]
> Matt Slaga
> Dimension Data
> Tel:+1-571-203-4132
> matt.sl...@dimensiondata.com<mailto:matt.sl...@dimensiondata.com>
_______________________________________________
cisco-voip mailing list
cisco-voip@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip

Reply via email to