Basic Voicemail Configuration for Call Manager Express (CME) using Cisco Unity Express (CUE)2/25/2017 !Step 1 - CME CONFIG ! interface SM1/0 ip unnumbered Vlan2 ! Meaning we would be using IP address from the range of: Vlan2 range. service-module ip address 192.168.1.251 255.255.255.0 !Application: CUE Running on SM service-module ip default-gateway 142.102.66.250 ! Default Gateway ! ip route 142.102.66.253 255.255.255.255 SM1/0 ! Subnet mask is 255.255.255.255 as only traffic to this address 253 would come to Service Module 1/0 ! dial-peer voice 2222 voip !Dial-Peer for VM Pilot destination-pattern 2222$ session protocol sipv2 session target ipv4:192.168.1.251 dtmf-relay rtp-nte codec g711ulaw no vad ! ************ ! For SCCP CME ! ************ telephony-service voicemail 2222 mwi relay ! ephone-dn 1 octo-line ! Put under existing DNs call-forward busy 2222 call-forward noan 2222 timeout 20 mwi sip ! ! *********** ! For SIP CME ! *********** voice register global voicemail 2222 ! ! voice register dn 1 ! Put under existing DNs call-forward b2bua busy 2222 call-forward b2bua mailbox 2222 call-forward b2bua noan 2222 timeout 20 mwi ! voice register pool 1 dtmf-relay rtp-nte ! Make sure DTMF Relay Method is already configured on the phone ! sip-ua mwi-server ipv4:192.168.1.251 unsolicited ! !Step 2 - CUE CONFIG !NOW THE CUE MODULE IS RECONGNISED BY THE CME AND ALL NECESSARY CONFIG IS COMPLETE !REMEMBER CUE IS A SEPERATE MODULE RUNNING INSIDE THE CME ROUTER SO IT NEEDS TO BE INITIALISED TOO service-module service-Engine 1/0 session !Create a CCN Subsystem SIP ccn subsystem sip gateway address 192.168.1.250 mwi sip unsolicited dtmf-relay rtp-nte end subsystem ! Create a CCN Trigger SIP ccn trigger sip phonenumber 2222 !<-- This number has to match the number configured under "telephony-service" and under "voice register global" application voicemail enabled end trigger !Create Users username one create username two create username one phonenumber 2001 username two phonenumber 2002 username one pin 12345 username two pin 12345 voicemail mailbox owner one no tutorial ! Optional - Incase you dont want the voicemail tutorial to be played for the first time users logs into Unity Express end mailbox voicemail callerid ! Optional - Used to enable playing of caller ID information from incoming voice-mail messages
4 Comments
!Basic
voice register global mode cme source-address 192.168.1.32 port 5060 max-dn 10 max-pool 2 authenticate register !Advanced ! Other Features timeouts interdigit 5 tftp-path flash: ntp-server 192.168.1.250 mode directedbroadcast timezone 1 ! type ? for a list date-format D/M/Y camera ! to enable camera video ! to enable video ! secondary dial-tone on SIP is not supported voice class codec 1 ! Just to prioritize the codec codec preference 1 g711ulaw codec preference 2 ilbc video codec h264 voice service voip no ip address trusted authenticate 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 Vlan2 ! voice vlan or voice sub-interface bind media source-interface Vlan2 ! voice vlan or voice sub-interface registrar server voice register dn 1 number 2001 name HQ Phone 1 ! ! voice register pool 1 id mac <MAC> type 9971 number 1 dn 1 ! Button 1, DN 1 (2001) configured above description +14165552001 username hqone password cisco no call-waiting dtmf-relay sip-kpml rtp-nte voice-class codec 1 ! g711 would be preferred based on the 'voice class codec' configured busy-trigger-per-button 1 ! second call would be busy no vad camera video ! 1. Infrastructure
Make sure basic infrastructure is there: For example: VLAN, DHCP, NTP, etc 2. Basic CME Config telephony-service max-ephones 10 max-dn 30 ip source-address 10.1.1.1 ! voice vlan/loopback address create cnf-files Power on phones in sequence. To verify, sh ephone 3. Configuring Phone Numbers ephone-dn 1 number 1001 ephone-dn 2 number 1002 ephone 1 mac-address <MAC> button 1:1 ! Button 1, DN 1 (configured above) restart ephone 2 mac-address <MAC> button 1:2 ! ! Button 1, DN 2 (configured above) restart 4. Changing Display Message on Phone telephony-service system message Jalson International Inc 5. Dual Channel ephone-dn 3 dual-line number 1003 ephone 1 button 1:1 2:3 restart To verify: sh ephone 6. Seconadry Dial Tone telephony-service secondary-dialtone 9 7. Call Blocking telephony-service after-hours block pattern 1 91900 7-24 after-hours block pattern 2 9011 after-hours ??? ephone 2 after-hour exepmt Ephone 2 will be able to dial 91900 (Premium) and 9011 (International) 8. Call Distribution -- shared lines ephone-dn 7 number 1077 ephone 1 button 2:7 ephone 2 button 2:7 9. Timezone telephony-service time-zone 43 ! type ? aftertimezone to see the list. 10. Date Format telephony-service date-format dd-mm-yy 11. Call Transfer/Call Forward Allow to Any Pattern telephony-service call-forward pattern .T ! to forward to any pattern transfer-pattern .T ! to transfer to any pattern including PSTN transfer-system full consult ! full-consult - won't allow blind transfer |
AuthorSaad is a Senior Collaboration Engineer. He is CCIE x 3 (Collaboration, R&S and Data Center) Categories
All
Archives
May 2022
|