[cisco-voip] UCM 9.1 SIP Normalization Rules

Daniel Pagan dpagan at fidelus.com
Fri Mar 14 17:07:24 EDT 2014


While on this topic, there was a very informative video on Cisco Support Community called "SIP Normalization on CUCM and LUA Scripting". I've watched portions of this video when I needed clarification and found it very useful - it was over 1hr in length and went into great detail, but unfortunately I found the video was recently removed. Last time I accessed it was last week, possibly two weeks ago.

I believe it was created by a Cisco employee.
SIP Normalization on CUCM and LUA Scripting
Link: https://supportforums.cisco.com/videos/7178

It would be great if the video can be reposted. The creator of the video went through various scenarios and explained in detail how to customize a normalization script to achieve the desired goal. Again, I'm not sure which Cisco employee created the video but it was very helpful and it would be great to have access to it once more.

Daniel

From: cisco-voip [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Matt Taber (mtaber)
Sent: Friday, March 14, 2014 4:08 PM
To: Matt Slaga (AM)
Cc: 'Cisco-Voip-Puck' (cisco-voip at puck.nether.net)
Subject: Re: [cisco-voip] UCM 9.1 SIP Normalization Rules

Hi Matt,

Cisco Developer Network (CDN) is available to support the design of LUA scripts utilized for SIP Normalization:
https://developer.cisco.com/site/devnet/support/

Information pertaining to SIP Transparency and Normalization scripting can be found in the following:
https://developer.cisco.com/site/collaboration/call-control/uc-manager-sip/overview/

-Matt

On Mar 14, 2014, at 11:29 AM, Brian Meade wrote:


Matt,

Cisco TAC doesn't support SIP Normalization Scripts.  Developer support has to be used for things like this.

Brian

On Fri, Mar 14, 2014 at 10:13 AM, Matt Slaga (AM) <matt.slaga at dimensiondata.com<mailto:matt.slaga at dimensiondata.com>> wrote:
It's the request line (INVITE sip:firstname.lastname at domain.com:5060 SIP/2.0


We attempted to open a TAC case on this issue, and I've never seen Cisco toss a hot potato that fast in my 15 years of dealing with them.  It's like I clicked 'send' and got a reply back from an engineer saying 'not supported'.  That's the first I've seen a viable option with the CUCM interface rejected as not supported.




From: Bernhard Albler [mailto:bernhard.albler at gmail.com<mailto:bernhard.albler at gmail.com>]
Sent: Friday, March 14, 2014 10:06 AM

To: Matt Slaga (AM)
Cc: 'Cisco-Voip-Puck' (cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>)
Subject: Re: [cisco-voip] UCM 9.1 SIP Normalization Rules



Hi matt,
which line are you trying to change? The To Field(TO:blabla at blabla.com:5060<http://TO:blabla@blabla.com:5060/> or the request Line (INVITE...)

thanks
bernhard

On Fri, Mar 14, 2014 at 2:18 PM, 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


<image001.png>

<image002.png>



Matt Slaga
Dimension Data
Tel:+1-571-203-4132<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



--
Bernhard Albler, +4369917207384<tel:%2B4369917207384>
--
"Was Nachwelt! Wie komm' ich dazu was für die Nachwelt zu tun? Was hat denn die Nachwelt für mich getan?"
--Carl Friedrich Zelter


itevomcid

_______________________________________________
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

_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140314/e86a0152/attachment.html>


More information about the cisco-voip mailing list