Installing two site CME and a single CUE

We have two CME’s and a single shared CUE.

Dialplan

CME1:

3002 – Phone 1
3003 – Phone 2
3200 – AA Script (outside scope)
3600 – Voicemail
3998 – MWI off
3999 – MWI on

CME2:

3004 – Phone 1
3005 – Phone 2
3998 – MWI off
3999 – MWI on

on CME1 (Central)

voice service voip
allow-connections sip to h323
allow-connections h323 to sip
allow-connections h323 to h323

interface FastEthernet 0/0
ip address 192.168.n.1 255.255.255.0
h323-gateway voip interface
h323-gateway voip bind srcaddr 192.168.n.1

interface service-engine 1/0
ip unnumbered FastEthernet0/0
service-module ip address 192.168.n.2 255.255.255.0
service-module ip default-gateway 192.168.n.1

ip route 192.168.n.2 255.255.255.255 Service-Engine 1/0

dial-peer voice 3600 voip
destination-pattern 3[126]00
session protocol sipv2
session target ipv4:192.168.n.2
incoming called-number 399[89]....
codec g711ulaw
no vad

dial-peer voice 3004 voip
destination-pattern 300[45]
voice-class h323 1
session target ipv4:cme2_ipaddress
dfmf-relay h245-alphanumberic
ip qos dscp cs3 signalling
no vad

dial-peer voice 3998 voip
destination-pattern 399[89]300[45]
session target ipv4:cme2_ipaddress

telephony-service
voicemail 3600

ephone-dn 1 dual-line
number 3002

ephone-dn 2 dual-line
number 3003

ephone-dn 3
number 3998....
mwi off

ephone-dn 4
number 3999....
mwi on

on CME2 (remote)

dial-peer voice 3002 voip
destination-pattern 300[23]
voice-class h323 1
session target ipv4:cme1_ipaddress
dfmf-relay h245-alphanumberic
ip qos dscp cs3 signalling
no vad

dial-peer voice 3998 voip
incoming called-number 399[89]....

telephony-service
voicemail 3600
mwi relay

ephone_dn 1
number 3004

ephone_dn 2
number 3005

ephone-dn 3
number 3998....
mwi off

ephone-dn 4
number 3999....
mwi on

Notes:

1. The scope of this post only includes enough info to show CUE integration.

2. It is essential to control the codecs used to inbound and outbound calls. For this reason both the “destination-pattern” as well as the “incoming called-number” is defined on dial-peer 3600 on CME1. This is to ensure that calls coming from and going to CUE use codec g711ulaw.

3. For MWI to be passed between CME1 and CME2 you need to ensure that:

a) “allow-connections sip to h323” is configured inside “voice service voip” on CME1
b) “mwi relay” is configured in “telephony-service” on CME2