02-21-2018 07:00 AM - edited 03-01-2019 02:57 AM
Dear all,
I am using CME with aa-bcd service.But I would like to dial the internal extension directly without press '1' .But CISCO default script don't have that features.I am very glad if anyone help to edit this script.
In CISCO default script,to dial the internal extension with press '1' and after we can dial the internal extension.
Solved! Go to Solution.
02-22-2018 06:14 PM
I think its-CISCO.2.0.3.0.zip in
https://developer.cisco.com/site/voice-gateway/downloads/sample-scripts/
may serve the features you want.
02-21-2018 10:26 AM
Can you please share the script you are using ?
02-21-2018 04:45 PM
Please kindly check the CISCO default TCL script file.
This is command file run is CISCO router
!
application
service aa-test flash:app-b-acd-aa-3.0.0.5.tcl
paramspace english index 1
param max-time-vm-retry 2
param max-time-call-retry 20
param voice-mail 5003
paramspace english language en
param aa-pilot 6000
param number-of-hunt-grps 1
param dial-by-extension-option 1
param handoff-string aa-test
param welcome-prompt _bacd_welcome.au
paramspace english location flash:
param call-retry-timer 15
param service-name queue
param menu-timeout 5
param second-greeting-time 30
!
service queue flash:app-b-acd-3.0.0.5.tcl
param queue-len 15
param aa-hunt1 2000
param operator 0
param queue-manager-debugs 1
param number-of-hunt-grps 1
!
02-22-2018 09:41 AM
This script has the feature built in. Please refer to this gudie.
https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucme/bacd/configuration/guide/cme40tcl.pdf
if [infotag get cfg_avpair_exists dial-by-extension-option] {
set dialByExtension [string trim [infotag get cfg_avpair dial-by-extension-option]]
} else {
set dialByExtension "NONE"
}
f {$status == "cd_005"} {
set KATIMER(keepTime) [clock seconds]
set optionSelected [infotag get evt_dcdigits]
puts ">>>>>>>>>>>>> return from infotag get evt_dcdigits is : $optionSelected <<<<<<<<<<<<<<<<<<<<<<<<<"
if {$optionSelected == $dialByExtension} {
puts -nonewline "TCL AA: +++ Collect Extension Digits +++"
set retryDigitCollect 1
leg collectdigits leg_incoming PARAM1
media play leg_incoming _bacd_enter_dest.au
fsm setstate CALLTOEXTENSION
}
02-22-2018 05:08 PM
Dear yawchen,
I am not clear what you mean.Actually I want is to dial the extension directly without press '1'(option-menu) and dial the operator by press '0'.
Original Procedure for incoming call is
The caller dail the PSTN number>>>en_bacd_welcome.au (greeting prompt coming up)>>an then en_bacd_options_menu.au(voice prompt coming up>>the caller choose "1" before dial the internal extension or "0" to contact with operator.>>if the caller choose "1"(en_bacd_enter_dest.au voice prompt coming up)wait for input digit(or extension number.) or if the caller
choose"0" en_bacd_music_on_hold.au (music file coming up) while call the operator.
Reuired Prcedure for incoming call is
The caller dail the PSTN number>>>en_bacd_welcome.au (greeting prompt coming up)>>>>the caller can type the internal extension number directly or the caller can type the operator number "0" to call the operator.
The cisco original script is availabe not i dont know and I dont have experiences to edit that script.That why I am ask for helping.Thanks
Dear yawhen if you can,please kindly help.
02-22-2018 06:07 PM
If you just want to do :
Reuired Prcedure for incoming call is
The caller dail the PSTN number>>>en_bacd_welcome.au (greeting prompt coming up)>>>>the caller can type the internal extension number directly or the caller can type the operator number "0" to call the operator.
Then the bacd script is overkill.
You also need to think about if caller didn't enter digit in certain period of time what do you want to handle ? What is the extension digit length ?..etc. There may have existing script somewhere see if I can dig it out. Will update you later.
02-22-2018 06:14 PM
I think its-CISCO.2.0.3.0.zip in
https://developer.cisco.com/site/voice-gateway/downloads/sample-scripts/
may serve the features you want.
02-22-2018 08:38 PM
Dear yawchen,
I got all.thanks you for supporting me.You are awesome.
02-22-2018 08:59 PM
Glad it works for you !
02-22-2018 09:27 PM
Dear yawchen,
Thanks again your help.It is possible to edit this tcl script with NOTEPAD++.Because it default righ time is about 30 s and retry count is about 6 time to alreat the operator.I would like to reduce the time to ring time to 5 s and retry call time to 2.I edit in the script but it show error like this.Can u help also.
%CALL_CONTROL-6-APP_NOT_FOUND: Application aa-test in dial-peer 100 not found. Handing callid 67 to the alternate app .
02-23-2018 08:08 AM
set retrycnt 6 -> to set retry count
set callInfo(alertTime) 30 -> to set ringing time
you can use notepad to edit
02-23-2018 08:11 AM
Dear yawchen,
I would like to add music on hold file while calling operator .It is possible.
02-23-2018 09:32 AM
Not with this script. In this script we call ext or operator immediately, not put caller in queue so no need to MOH.
02-23-2018 06:08 PM
Dear Yawchen,
So please kindly guide me which is more compatible script for those requirements.Thank you very much!
02-23-2018 09:29 PM
Dear yawchen,
I would like to put the MOH while dialing the operator.Can you guide me how to do.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide