Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.


Nortel Phones MWI with Unity Connection via CUCM

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

Here is the Avaya document that I referenced for SIP integration to Avaya Session Manager.

Messages-Waiting: yes


09:58:35.728 |//SIP/SIPUdp/wait_SdlSPISignal: Outgoing SIP UDP message to[5060]:


NOTIFY sip:5560297@ SIP/2.0

Via: SIP/2.0/UDP;branch=z9hG4bKa923da325e8

From: <sip:voicemail@>;tag=591882809                     <--------

To: <sip:5560297@>

Call-ID: fee6a500-461171b-95c-1fc6fd0a@

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@>

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@ like you see above to 1000@ 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.


Nortel Phones MWI with Unity Connection via CUCM

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
    mwi_number = "1000"

function Nortel.outbound_ANY(msg)
    msg:removeHeaderValue("Allow", "OPTIONS")

function Nortel.outbound_ANY_ANY(msg)
    msg:removeHeaderValue("Allow", "OPTIONS")

function Nortel.outbound_NOTIFY(msg)
    msg:removeHeaderValue("Allow", "OPTIONS")

    local from = msg:getHeader("From")
    if from
        from = from:gsub("voicemail", mwi_number)
        msg:modifyHeader("From", from)
        msg:addHeaderUriParameter("From", "user", "phone")

return Nortel

CreatePlease login to create content