09-04-2012 08:31 AM - edited 03-16-2019 01:01 PM
I am attempting to get Nortel Phones MWI to work with Unity Connection in the configuration below.
Unity Connection 8.6 <---SIP or SCCP---> Call Manager 8.6 <---SIP ---> Avaya Session Manager 6.1 <---SIP---> Nortel CS100E 7.5 <---Unistem---> Nortel Phone
Here is the link with the Normalization script for MWI on Nortel
http://www.cisco.com/en/US/solutions/collateral/ns340/ns414/ns728/ns784/989942.html
Here is the Avaya document that I referenced for SIP integration to Avaya Session Manager.
https://devconnect.avaya.com/public/download/interop/SM61CS1K75CUCM8.pdf
Messages-Waiting: yes
|1,100,63,1.11268^10.252.192.79^*
09:58:35.728 |//SIP/SIPUdp/wait_SdlSPISignal: Outgoing SIP UDP message to 10.253.198.181:[5060]:
[23695,NET]
NOTIFY sip:5560297@10.253.198.181:5060 SIP/2.0
Via: SIP/2.0/UDP 10.253.198.31:5060;branch=z9hG4bKa923da325e8
From: <sip:voicemail@10.253.198.31>;tag=591882809 <--------
To: <sip:5560297@10.253.198.181>
Call-ID: fee6a500-461171b-95c-1fc6fd0a@10.253.198.31
CSeq: 101 NOTIFY
Max-Forwards: 70
Date: Tue, 04 Sep 2012 14:58:35 GMT
User-Agent: Cisco-CUCM8.6
Event: message-summary
Subscription-State: active
Contact: <sip:voicemail@10.253.198.31:5060>
Content-Type: application/simple-message-summary
Content-Length: 23
My biggest concern is there is a blurb in the MWI Nortel document that states:
-- Modify the From header so that the userpart is numeric. CUCM will natively send
-- 'voicemail' as the userpart. Nortel does not handle that. This code changes
-- the user part to 1000 or the value of the configured script parameter: mwi-number.
In the Call Manager traces I never see it modify voicemail@10.253.198.31 like you see above to 1000@10.253.198.31. So something tells me I do not have syntax correctly or something.
On the Nortel Console I get:
ERR4080 FAIL Q+P 60297 0
Basic call routing is working. My extension length is 5 digits long but prepend/strip a "55" as a steering code to/from Session Manager.
I will attach the rest of the Call Manager trace and my Nortel MWI copy/paste script.
Any ideas are much appreciated.
09-04-2012 03:10 PM
Not sure but there must be some sort of syntax error or programming logic mistake in the example but this is what worked for me today. It is obviously a much shorter script than what is posted so if I find any issues during testing in the next couple of days I may take another look about adding the rest in there piece by piece.
Nortel = {}
Nortel.allowHeaders = {"History-Info"}
local mwi_number = scriptParameters.getValue("mwi-number")
if not mwi_number
then
mwi_number = "1000"
end
function Nortel.outbound_ANY(msg)
msg:removeHeaderValue("Allow", "OPTIONS")
end
function Nortel.outbound_ANY_ANY(msg)
msg:removeHeaderValue("Allow", "OPTIONS")
end
function Nortel.outbound_NOTIFY(msg)
msg:removeHeaderValue("Allow", "OPTIONS")
local from = msg:getHeader("From")
if from
then
from = from:gsub("voicemail", mwi_number)
msg:modifyHeader("From", from)
msg:addHeaderUriParameter("From", "user", "phone")
end
end
return Nortel
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide