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.

6 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
!
!
!

hanniba3ll81 said...

Dear sir,

kindly could you advise me with the following case :

- upload the files using tftp :
1- app-b-acd-aa-2.1.2.3
2- app-b-acd-2.1.2.3
3- also all audio files (*.au)
- conf t
- application
- service aa flash:cme-b-acd-2.1.2.3/app-b-acd-aa-2.1.2.3.tcl

1- param handoff-string aa
or another setting the following message displayed ( Warning: parameter service-name has not been registered under aa namespace)


any solve please ?

Anonymous said...

Dear sir,

kindly could you advise me with the following case :

- upload the files using tftp :
1- app-b-acd-aa-2.1.2.3
2- app-b-acd-2.1.2.3
3- also all audio files (*.au)
- conf t
- application
- service aa flash:cme-b-acd-2.1.2.3/app-b-acd-aa-2.1.2.3.tcl

1- param handoff-string aa
or another setting the following message displayed ( Warning: parameter service-name has not been registered under aa namespace)


any solve please ?

hanniba3ll81 said...
This comment has been removed by the author.
Rasheed Sartawi said...

information about my voice router:
model : 2901
Telephony service version : 8.6
IOS version :15.0(1r)M12

TCL Script is 2.1.2.3

Mustafa said...

Can any one can help:
I did the below but its not able to work:
-----------------------------------------------

2 -rw- 35485 Oct 27 2006 02:11:16 +03:00 app-b-acd-aa-2.1.2.2.tcl
3 -rw- 24985 Oct 27 2006 02:11:16 +03:00 app-b-acd-2.1.2.2.tcl
4 -rw- 18836 Oct 27 2006 02:11:16 +03:00 app-b-acd-2.1.2.2-ReadMe.txt
5 -rw- 398305 Nov 24 2006 04:29:10 +03:00 sslclient-win-1.1.0.154.pkg
6 -rw- 491213 Nov 24 2006 04:28:24 +03:00 128MB.sdf
7 -rw- 22542 Aug 8 2008 00:32:46 +03:00 CME-7-0-full-readme-v.1.0.txt
8 -rw- 44892236 Dec 9 2015 16:26:22 +03:00 c2800nm-ipvoicek9-mz.124-15.XZ2.bin
9 -rw- 7821474 May 2 2008 21:57:42 +03:00 apps37sccp.1-1-1-1.bin
10 -rw- 88024 Dec 12 2015 20:21:02 +03:00 MMR-aa.au
11 -rw- 75650 Oct 27 2006 02:11:18 +03:00 en_bacd_allagentsbusy.au
12 -rw- 83291 Oct 27 2006 02:11:18 +03:00 en_bacd_disconnect.au
13 -rw- 63055 Oct 27 2006 02:11:18 +03:00 en_bacd_enter_dest.au
14 -rw- 37952 Oct 27 2006 02:11:18 +03:00 en_bacd_invalidoption.au
15 -rw- 496521 Oct 27 2006 02:11:20 +03:00 en_bacd_music_on_hold.au
16 -rw- 123446 Oct 27 2006 02:11:20 +03:00 en_bacd_options_menu.au
17 -rw- 42978 Oct 27 2006 02:11:20 +03:00 en_bacd_welcome.au
18 -rw- 34794 Oct 27 2006 02:11:20 +03:00 en_bacd_xferto_operator.au
19 -rw- 1038 Nov 24 2006 04:27:56 +03:00 home.shtml
20 -rw- 102400 Nov 24 2006 04:28:10 +03:00 HOME.TAR
21 -rw- 496521 Jan 14 2008 23:24:00 +03:00 music-on-hold.au
22 -rw- 1823 Nov 24 2006 04:26:36 +03:00 sdmconfig-2811.cfg
23 drw- 0 Dec 9 2015 13:39:34 +03:00 ringtones
57 -rw- 88024 Dec 12 2015 20:21:02 +03:00 MMR-aa.au.au




application
service mmr flash:app-b-acd-2.1.2.2.tcl
param aa-hunt0 452
param aa-hunt1 451
param number-of-hunt-grps 2
param queue-manager-debugs 1
param queue-len 10
!
service aa flash:app-b-acd-aa-2.1.2.2.tcl
param number-of-hunt-grps 1
paramspace english index 1
param menu-timeout 1
param handoff-string aa
param dial-by-extension-option 3
paramspace english language en
param max-time-vm-retry 2
param max-extension-length 3
param aa-pilot 444
paramspace english location flash:
param second-greeting-time 60
param welcome-prompt en_bacd_welcome.au
param call-retry-timer 15
param voice-mail 443
param max-time-call-retry 700
param service-name mmr



dial-peer voice 444 voip
service aa
destination-pattern 444
session target ipv4:10.10.10.10
incoming called-number 444
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!