Monday, April 4, 2011

CME b-acd script how to

I'll show you how to configure b-acd script on cme version 7.0. I used a 2811 router with ios version 12.4(13r)T.
This script is used to do a mini callcenter with callmanager express.
I downloaded b-acd-2.1.2.3 script from cisco and copied to router flash by tftp.
Then i defined 1235 and 1236 as 2 hunt groups:
ephone-hunt 1 longest-idle
 pilot 1235
 list 1002, 1115 #those are the extensions
!
ephone-hunt 2 longest-idle
 pilot 1236
 list 1003, 1116

This is the working script:

application
 service callcenter_queue flash:cme-b-acd-2.1.2.3/app-b-acd-2.1.2.3.tcl
  param queue-len 10
  param aa-hunt0 1235
  param aa-hunt1 1236
  param queue-manager-debugs 1
  param number-of-hunt-grps 2
 !
 service callcenter_aa flash:cme-b-acd-2.1.2.3/app-b-acd-aa-2.1.2.3.tcl
  paramspace english index 1
  param call-retry-timer 15
  param service-name callcenter_queue
  paramspace english language en
  param second-greeting-time 60
  paramspace english location flash:cme-b-acd-2.1.2.3/
  param max-time-vm-retry 2
  param voice-mail 5003
  param max-time-call-retry 700
  param aa-pilot 1234
  param number-of-hunt-grps 2
  param dial-by-extension-option 3
  param handoff-string callcenter_aa
  param welcome-prompt flash:cme-b-acd-2.1.2.3/en_bacd_welcome.au

Dial-peer made for reaching the script pilot (1234) is:

dial-peer voice 22222 voip
 service callcenter_aa
 destination-pattern 1234
 session target ipv4:192.168.1.1 #this is the loopback address of the router
 incoming called-number 1234
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad

To make things happen, you have to also assign the moh file:
telephony-service
 moh flash:cme-b-acd-2.1.2.3/en_bacd_music_on_hold.au

 The debug commands that i used were:
 debug voip application script
 debug voip application tcl
  If you have any questions feel free to ask and i'll answer you as soon as possible.

1 comments:

Anonymous said...

I need your Help please?
Here is my CME-BACD Config with Router Version;

====================

!
!
!
ephone 24

button 1:24
!
!
!

!
!
!
ephone 99
type 7975
button 1:99
!
!
ephone-hunt 1 sequential
pilot 5001 secondary 4057062662
list 1003, 1004
timeout 2, 2
!
!
ephone-hunt 2 sequential
pilot 5002 secondary 4057062662
list 1005, 1007
timeout 3, 3
!
!
ephone-hunt 3 sequential
pilot 5003 secondary 4057062662
list 1002, 1006, 1008, 1009, 1010, 1011, 1012
timeout 6, 6, 6, 6, 6, 6, 6
!
!
!