After running Voicemail Pro on a Windows 2003 domain controller (running Microsoft DNS) fine for 6 months, Voicemail Pro decided to stop communicating with the IP Office after a reboot. It looked like everything was fine as I could load the Voicemail Pro admin interface, but obviously there was no communication between the IP Office and Voicemail Pro. This is because MS DNS decided to eat the ports needed by the Voicemail Pro to communicate with the IP Office (UDP 50791-50801)…If you experience Voicemail Pro Not Operational, but it seems fine… and you get this in Monitor:

3233269mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: TimerExpired cause=CMTCNoAnswerTimeout
3233269mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: Retarget NOANSWER EXCEPTED=00000001 ValidTargets=1
3233269mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: Retarget on target_cfg_user=SMConference
3233269mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: ADD USER: SMConference depth=1 disallow_cw=0 dnd=0 real_call=1 group_call=0 type(CMNTypeUnknown) incl(0x1) excpt(0x1), allow_redir(1) remote=00000000
3233270mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: SELECT: TRY VOICEMAIL orig_hg() orig_user(8509)
3233270mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: ADD VM TARGET
3233270mS CMTARGET: Voicemail Pro not operational
3233270mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: ADD VM TARGET: FAILED availability=0
3233271mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: VM targeting failed. Remaining on final target SMConference
3233271mS CMTARGET: 5.20.1 27 Q931 Trunk:5 CHAN=1: GetNoAnswerTimer:22

Microsoft DNS will fight for UDP ports with IP Office. One way to test this is to shutdown the MS DNS server, restart VM Pro and then restart MS DNS. If THEN your server is working you need to reserve the IP office ports so Microsoft DNS can’t grab them:


Instructions for 2003 and 2003 R2 server:

Start Registry Editor (Regedit.exe).
Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

On the Edit menu, point to New, and then click Multi-string Value. There may be an entry already there, just modify it.

Right-click the new value, click Rename, type ReservedPorts, and then press ENTER.

Double-click the ReservedPorts value, type the range of ports that you want to reserve, and then click OK.

Add 50790-50801

Click OK.

Quit Registry Editor.

Restart your voicemail pro system (full reboot)… now your MS DNS will not try to grab ports that VM PRO needs to operate.


Instructions for 2008 and 2008 R2 server:

Server 2008 and 2008 R2 do not support the above registry entry. You will need to download the following hotfix from Microsoft, install it, reboot and then run the command below.

https://support.microsoft.com/kb/2665809/en-us/

Command prompt (elevated):
netsh int ipv4 Add excludedportrange protocol=udp startport=50790 numberofports=12 store=persistent

Reboot.


Instructions for 2012 and 2012 R2 server:

Server 2012 and 2012 R2 do not support the ReservedPorts registry entry. You will need to run the command below.

Command prompt (elevated):
netsh int ipv4 Add excludedportrange protocol=udp startport=50790 numberofports=12 store=persistent

Reboot.


This article is also posted on Tek-Tips IP Office FAQs, which was authored by me.

 


Tagged with:  
Web Hosting