To get MWI working between CME and CUE, perform following:
! dont forget the ever-important voice translation-rule
voice translation-rule 400rule 1 /^.*\(3500\)$/ /\1/
rule 2 /^.*\(3555\)$/ /\1/
voice translation-profile TO-VM
translate calling 400
translate called 400
translate redirect-target 400
translate redirect-called 400
!
! enable SIP and H323 intersignaling
voice service voip allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
bind control source-interface GigabitEthernet0/0.230 ==== do not use Loopback0
bind media source-interface GigabitEthernet0/0.230 ==== or MWI won't work
! add a dial-peer to make sure calls to VM is using SIP and G711u
dial-peer voice 3500 voipdescription ==== to VM
destination-pattern 3500
session protocol sipv2
session target ipv4:10.10.230.3
dtmf-relay sip-notify
codec g711ulaw
no vad
! add dial-peer to handle calls from PSTN to VM
dial-peer voice 21313500 voipdescription ==== VM
translation-profile incoming TO-VM
translation-profile outgoing TO-VM
max-conn 3
destination-pattern 21313500
session protocol sipv2
session target ipv4:10.10.230.3
dtmf-relay sip-notify
codec g711ulaw
no vad
! add this dial-peer to make sure MWI calls from CUE to CME is using G711u, otherwise MWI wont work
dial-peer voice 3998 voipdescription ==== MWI on and off
incoming called-number 399[8,9]....
codec g711ulaw
no vad
!
num-exp 3500 21313500
num-exp 3555 21313555
sip-ua
disable-early-media 180
! the usual CME config
telephony-service
max-ephones 10
max-dn 40
ip source-address 10.10.230.1 port 2000
dialplan-pattern 1 21313... extension-length 4 no-reg
voicemail 3500
! add MWI number , notice that MWI is in this format XXXX.... (XXXX = mwi number, .... = user number)
ephone-dn 5number 3998....
mwi on
!
ephone-dn 6
number 3999....
mwi off
No comments:
Post a Comment