cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3461
Views
20
Helpful
33
Replies

CME tcl script file.

kingvoice
Level 1
Level 1

Dear Experts !

                      I have  cisco CME router and i would like to configue Auto Attendant by using TCL script file . Can any one provide me the

sample configuration and default TCL scirpt files .

 

Thanks

 

Regards;

KV

33 Replies 33

Hi.

Hope you have already downloaded bacd files.

Here an example

 service IVR flash:app-b-acd-aa-3.0.0.2.tcl
  paramspace english index 0
  param welcome-prompt Welcome.wav
  param call-retry-timer 5
  param service-name queue
  param second-greeting-time 60
  paramspace english location flash:
  param max-time-vm-retry 2
  param max-time-call-retry 600
  param voice-mail 9999
  param aa-pilot 1000
  param max-extension-length 4
  param number-of-hunt-grps 5
  paramspace english prefix en
  param handoff-string IVR

 service queue flash:app-b-acd-2.1.2.2.tcl
   param number-of-hunt-grps 3
  param aa-hunt12 0800259630
  param queue-len 30
  param aa-hunt1 2001
  param aa-hunt2 2002

param aa-hunt3 2003
  param queue-cme-debugs 1
  param queue-manager-debugs 1

dial-peer voice 1000 pots

incoming called-number 1000

service IVR

 

 

With the above config call hitting 1000 will fall into IVR application which plays welcome prompt and options prompt

option 1 will go to extension (or hunt pilot) 2001, option 2 to 2002 and option 3 to 2003

of course you need to record your own prompts and name them as en_welcome.au and en_bacd_options.au 

 

 

Here a reference page

 

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucme/bacd/configuration/guide/cme40tcl/40bacd.html

HTH

 

Regards

 

Carlo

 

 

 

 

 

Please rate all helpful posts "The more you help the more you learn"

Thanks ; Can you give me the download link please.

 

Thankyou once again..

Hi.

You need a valid cco to download it 

Here you are 

 

https://software.cisco.com/download/release.html?mdfid=277641082&softwareid=283451126&release=8.8&relind=AVAILABLE&rellifecycle=&reltype=latest

 

Choose version 3.0.0.2

 

 

HTH

 

 

Regards

 

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

Thank You very much !

Hi 

Glad to help..

If you need further help, don't hesitate to post here.

 

Cheers

 

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

Hello Carlo ;

         I applied the above  configuration but it is not working ...

Hi

Please give more details.

Post your config

Thanks

 

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

application
 service aa flash:app-b-acd-aa-3.0.0.2.tcl
  paramspace english index 1
  param number-of-hunt-grps 5
  param handoff-string aa
  param max-time-vm-retry 2
  param aa-pilot 7000
  param max-extension-length 4
  paramspace english location flash:
  param second-greeting-time 60
  param welcome-prompt _welcome.au
  param call-retry-timer 5
  paramspace english prefix en
  param max-time-call-retry 600
  param voice-mail 9999
  param service-name queue
 !
 service queue flash:app-b-acd-3.0.0.2.tcl
  param queue-len 30
  param queue-cme-debugs 1
  param aa-hunt0 3015
  param queue-manager-debugs 1
  param number-of-hunt-grps 3

 


dial-peer voice 7001 voip
 service aa
 destination-pattern 7000
 session target ipv4:192.168.20.1
 incoming called-number 7000
 dtmf-relay h245-signal h245-alphanumeric
 codec g711ulaw
 no vad

 

 

 

voice-port 0/0/0

connection plar opx 7000

 

Note : When calling this line after ring it is connected and  silence . when i press 0 nothing happens..

 

Hi.

Two main things:

1- You hear silence because you haven't loaded audio prompts on gateway's memory.

you can achieve that by issuing audio-prompt load flash:promptfilename.au

 

 

2 - Hunt0 is not a valid option. if you want option 0 you need to add "param operator xxxx" under application service where xxxx is the extension you want to send operator calls

HTH

 

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

Hello Carlo ;

                  Still same , silence and nothing happening after press zero .

 

 

Hi.

Can you please send me the output of a debug voip application script and acual running config?

 

 

Thanks

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

VGW#
Oct 13 23:49:06.815: //33//TCL :/tcl_PutsObjCmd:
proc init_perCallvars
Oct 13 23:49:06.815:
Oct 13 23:49:06.815: //33//TCL :/tcl_PutsObjCmd: preced info : 0:-1:0 ,index : 2 ,return value: 0
Oct 13 23:49:06.815:
Oct 13 23:49:06.815: //33//TCL :/tcl_PutsObjCmd: is mlpp = 0

Oct 13 23:49:06.815:
Oct 13 23:49:06.815: //33//TCL :/tcl_PutsObjCmd:
>>>>>>>>>legstate = lg_001<<<<<<<<<<<

Oct 13 23:49:06.815:
Oct 13 23:49:06.815: //33//TCL :/tcl_PutsObjCmd: TCL AA: ++ Playing Welcome Prompt and options menu ++
VGW#
Oct 13 23:49:10.451: //18//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> B-ACD Service Running <<<
VGW#
Oct 13 23:49:16.647: //33//TCL :/tcl_PutsObjCmd: >>>>>>>>>>>>> return from infotag get evt_dcdigits is : 0 <<<<<<<<<<<<<<<<<<<<<<<<<
Oct 13 23:49:16.647:
Oct 13 23:49:16.647: //33//TCL :/tcl_PutsObjCmd: preced info : 0:-1:0 ,index : 2 ,return value: 0
Oct 13 23:49:16.647:
Oct 13 23:49:16.647: //33//AFW_:/AFW_FSM_Drive: Tcl_Eval to drive FSM inside Tcl modulespace. code=1 code=ERROR
Oct 13 23:49:16.647: TCL script failure
        Result:
                         Play Failed
Oct 13 23:49:16.647:    TCL script failure errorInfo:
                        Play Failed
    while executing
"media play leg_incoming moh:livemoh"
    (procedure "act_GotDestNoOption" line 49)
    invoked from within
"act_GotDestNoOption"
    ("0" arm line 2)
    invoked from within
"switch -exact $optionSelected {
                                {#} {
                                        act_RetryMenu
                                }
                                {0} {
                                        act_GotDestNoOption
                                }
                                default {
                                        set playMusicFlag 1
                        ..."
    (procedure "act_GotDest" line 38)
    invoked from within
"act_GotDest"
Oct 13 23:49:16.647: //18//TCL :/tcl_PutsObjCmd: TCL B-ACD: +++ New incoming call to queue 3015 +++
Oct 13 23:49:16.647: //18//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> Queue index is 0 <<<
Oct 13 23:49:16.647: //18//TCL :/tcl_PutsObjCmd:
VGW#TCL B-ACD:  >>> THE QUEUE NOW IS {TclModule_23CD91C_0_1297496 {CALL_NEW} {1444780156} {0}} <<<
Oct 13 23:49:16.647: //18//TCL :/tcl_PutsObjCmd: TCL B-ACD: +++ 3015 Queue Length = 1 +++
VGW#
Oct 13 23:50:10.450: //18//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> B-ACD Service Running <<<
Oct 13 23:50:10.450: //18//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> {TclModule_23CD91C_0_1297496 {CALL_NEW} {1444780156} {0}} <<<
Oct 13 23:50:10.450: //18//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS  <<<
Oct 13 23:50:10.450: //18//TCL :/tcl_PutsObjCmd: TCL B-ACD: +++ AA TclModule_23CD91C_0_1297496 not responding, flushed from Queue +++

Hi.

From your output..

Oct 13 23:49:06.815:
Oct 13 23:49:06.815: //33//TCL :/tcl_PutsObjCmd: TCL AA: ++ Playing Welcome Prompt and options menu ++

****** This means that Gateway is correctly playing Welcome and option prompt but thay probably haven't been loaded into Gateway's memory or are encoded in an incorrect format. ********

 

Oct 13 23:49:16.647: TCL script failure
        Result:
                         Play Failed
Oct 13 23:49:16.647:    TCL script failure errorInfo:
                        Play Failed
    while executing
"media play leg_incoming moh:livemoh"

 

********* When gateway has to reach a destination, it needs to play a music on hold which by default is  Livemoh :*****

 

if you want to define a custom music on hold configure what follows:

telephony-service

moh flash:moh.wav

create cnf-files

 

 

So please load audio prompts on system memory with audio-prompt load command or simply reload the gateway.

 

HTH

 

Regards

 

Carlo

 

 

Please rate all helpful posts "The more you help the more you learn"

Hello Carlo ;

                 Yes you are o

right ! Now only problem is when i press zero it is not going to operator

only silence. Any advise ?