<p dir="ltr">If it's in to, we may also consider it changing on trunk configuration as well on cucm. As 5060 is default </p>
<div class="gmail_quote">On 14-Mar-2014 7:54 pm, "Bernhard Albler" <<a href="mailto:bernhard.albler@gmail.com">bernhard.albler@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi matt,<div>which line are you trying to change? The To Field(<a href="http://TO:blabla@blabla.com:5060" target="_blank">TO:blabla@blabla.com:5060</a> or the request Line (INVITE...)</div><div><br></div><div>
thanks</div><div>
bernhard</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 14, 2014 at 2:18 PM, Matt Slaga (AM) <span dir="ltr"><<a href="mailto:matt.slaga@dimensiondata.com" target="_blank">matt.slaga@dimensiondata.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">I’m attempting to apply a SIP Normalization rule to make a port adjustment on SIP calls between UCM and Lync 2013.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The script we are attempting to use is below. It has been applied to the various SIP trunks between UCM and Lync.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
Any thoughts?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Arial","sans-serif";color:#333333">M = {}<br>
function M.outbound_INVITE(msg)<br>local method, ruri, ver = msg:getRequestLine()<br>local uri = string.gsub(ruri, "5060", "5061") <br>msg:setRequestUri(uri)<br>end<br>return M</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><img width="861" height="295" src="cid:image001.png@01CF3F65.E9BE66D0"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><img width="843" height="525" src="cid:image002.png@01CF3F66.5781C450"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Matt Slaga<u></u><u></u></p><p class="MsoNormal">Dimension Data<u></u><u></u></p><p class="MsoNormal"><a href="Tel:+1-571-203-4132" target="_blank">Tel:+1-571-203-4132</a><u></u><u></u></p><p class="MsoNormal">
<a href="mailto:Matt.Slaga@DimensionData.com" target="_blank">Matt.Slaga@DimensionData.com</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bernhard Albler, +4369917207384<br>--<br>"Was Nachwelt! Wie komm' ich dazu was für die Nachwelt zu tun? Was hat denn die Nachwelt für mich getan?"<br>
--Carl Friedrich Zelter
</div>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div>