Could have made that service level Trusted and not burned a device license, too.
Haha, good spot. and thanks!
In case anyone's interested, here's the full run-down of what I did (assuming SIP trunking, MiVoice Business and NuPoint voicemail):
1. On one of the MiVBs create a new extension - Default User and Device:
User ProfileLast Name = something meaningful like NIU Mailbox
Service ProfileNumber = Any free number, but I chose one well outside our normal ranges
Service Level = Trusted (thanks again Lundah!)
Service DetailsClass of Service = used our CoS for generic SIP devices but as long as it can receive inbound calls and route to voicemail you should be ok
Class of Restriction = as above
DID Service Number = corresponding DID for extension number
Call Rerouting - 1st Alt. = 2 (or whatever routes to your voicemail)
Call Rerouting - 2nd Alt. = as above
Save ChangesIn NuPoint, create a new mailbox with the same number as the extension created above.
Give it the same name as the extension (e.g. NIU Mailbox)
Link it to the extension created and set the passcode
Change Class of Service Feature to 6 - GREETING ONLY (or whichever CoS Feature this is for you)
Login to the mailbox and record a suitable greeting
On any shared MiVoice Business instance:
Go to Call routing --> Call Handling --> Intercept Handling
Select the next available Intercept Number (likely to be 2)
Click Change and edit the following:
Directory number out of service - Directory Number = set to extension created on MiVB
Directory number out of service - Tone = change this to blank
Unassigned directory number - Directory Number = set to extension created on MiVB
Unassigned directory number - Tone = change this to blank
Click
SaveOn each Mitel Border Gateway (as the below is not shared):
Login to the MiVB interface
Go to Trunks --> Trunk Attributes
Identify your inbound SIP Trunk Service Number
Click Change and edit the Intercept Number to the one created in Intercept Handling
Click
SaveRepeat on each MBG.
Now any extensions which have issues or don't currently exist but have DID routing enabled, callers will hear the recorded greeting.
The beauty of this is it's global and dynamic - if an extension gets deleted, this will automatically result in subsequent callers hearing the message, rather than just getting reorder tone. If an extension is put into service at a later date, there's no need to manually change anything to stop this message being played - by being put into service it automatically changes that status, as by definition it is neither Out of Service nor Unassigned.