Friday 15 March 2013

Cisco Call Manager Express

Integration of CME with CUCM on SIP.

Recently done a CME integration with CUCM based on SIP,Its pretty straight forward same as H323 but few points need to be kept in Mind

1. Create a SIP trunk Pointing to the CME IP address and CSS which have access to all the Cluster DN

2. Go to the CME router Do the below config .

voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
  no h225 timeout keepalive
  call preserve
 sip
  bind control source-interface GigabitEthernet0/1.2 (This will be the VOIP Interface used for creating the trunk)
  bind media source-interface GigabitEthernet0/1.2  (This will be the VOIP Interface used for creating the trunk)


3. Now create a Dial peer to send the dialer number to the CUCM 


dial-peer voice 111 voip
 corlist outgoing int
 preference 1
 destination-pattern 1....
 session protocol sipv2
 session target ipv4:XXX.XXX.XXX.XXX (CUCM IP Address)
 dtmf-relay sip-notify
 no vad
!


Done......:-)

Also few troubleshooting command you can use and are really helpful when you stuck..

debug voip ccapi inout
debug  ccsip messages.

Integration of CME with CUE

The integration between CME an CUE is based on SIP , so to create a integration you need to do few configuration in CUCM and CUE.
Below are list list of step i peformed and it started working ..

1.  Define voice parameter in IOS

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


2. Configure the CUE interface to communicate

interface ISM0/0
 description *** Connected to CUE ***
 ip unnumbered GigabitEthernet0/1

 service-module ip address 192.168.30.3 255.255.255.0 <CUE IP Adress> !Application: CUE Running on ISM
 service-module ip default-gateway 192.168.30.1

 hold-queue 512 out
!

3. Next steps are to define the dial peer

dial-peer voice 101 voip
 description ***To Internal Cisco Unity Express VoiceMail Pilot ***
destination-pattern 19999 < Voice mail Pilot number > 

 session protocol sipv2
 session target ipv4:192.168.30.3

 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!


sip-ua
 mwi-server ipv4:192.168.1.3 expires 3600 port 5060 transport udp
!

4. Define the voice mail pilot number under telephony-service

telephony-service
voicemail 19999

5. Define call forward under ephone-dn

ephone-dn  17  dual-line
 number 54321

 Label TestPhone
call-forward busy 19999 < Forward to voice mail Pilot>
call-forward noan 19999 timeout 10

6.Define ephone DN for Mwi

ephone-dn  40
 number 8000..........
 description MWI ON
 mwi on
!
!
ephone-dn  41
 number 8001..........
 description MWI OFF
 mwi off
!


Addition of Extension module to CME ..

To add a extesion module in CME

Go to the ephone config and type below command

Type <Phone Model> addon <Type Extenstion Module Model>

Thats all from CME Point of view..Now need to proceed to CUE config..

In CUE below steps needs to be followed

1. Create a Voice Mail application
ccn application voicemail
 description "voicemail"
 enabled
 maxsessions 10


2 Create a SIP Trunk to CME

ccn subsystem sip
 gateway address "192.168.30.1
 end subsystem



3. Create a Voice Mail trigger

ccn trigger sip phonenumber 19999
 application "voicemail"
 enabled
 locale "en_US"
 maxsessions 3
 end trigger


4. Create a User in CUE

username cisco create

voicemail mailbox owner "cisco" size 4320
 description "Test mailbox"
 end mailbox


username cisco phonenumber "54321"

Once this basic configis complete it should forward all busy call to voice mail and mwi should also work...


Creating a hardware resources for transcoding and conferencing  require to create profile for those and bind it to cucm usng the ccm group command .



Changing time Zone in CME

Go to Telephony-Service
Time-Zone <Time Zone Number>


Also in the config mode you can define timezone and DST for Router IOS

to define DSt the command is

clock summer-time EST recurring 2 Sun Mar 2:00 1 Sun Nov 2:00  .....................:-)

Debug Command:

For sip 
debug voice register pool 
sh voice register pool registered
 

 


No comments:

Post a Comment