之前在论坛里看到很多人发帖说AA做不成功,我自己之前也试过,怎么尝试均以失败告终。后来下载Cisco最新的TCL脚本,查看官方的配置例子,才知道原来注意事项有如下:
1、不要更改语音文件名
2、必须把所有的语音文件都传进Flash
3、必须配置队列
4、必须要在“telephony-service“下配置“moh en_bacd_music_on_hold.au”

不过按照cisco的TCL脚本,如果拨入者听完AA音频后,拨分机必须先拨一个数字键才能拨分机。有谁知道听完AA后直接拨分机的做法吗?

下面给出我的配置,套用AA的配置我就不写出来了。
application
service aa flash:app-b-acd-aa-3.0.0.1.tcl
  paramspace english language en
  paramspace english index 1
  paramspace english location flash:
  param service-name queue
  param handoff-string aa
  param aa-pilot 8005550100
  param number-of-hunt-grps 2
  param second-greeting-time 60
  param call-retry-timer 15
  param max-time-call-retry 600
  param voice-mail 5000
  param max-time-vm-retry 2
  param dial-by-extension-option 1
  param max-extension-length 4
  param welcome-prompt _bacd_welcome.au
  param menu-timeout 6
!
service queue flash:app-b-acd-3.0.0.1.tcl
  param queue-len 10
  param number-of-hunt-grps 2
  param aa-hunt2 1111
  param aa-hunt3 2222
  param queue-manager-debugs 1
————————————————————
  命令解释:
application
service aa flash:app-b-acd-aa-3.0.0.1.tcl     
! defines the application-name of the AA script as aa

  paramspace english language en
! specifies language as English

  paramspace english index 1
  paramspace english location flash:
! declares location of audio files

  param service-name queue
! associates AA script with queue stript

  param handoff-string aa
! specifies the AA application name that will be used as a handoff string to the call-queue script.

  param aa-pilot 8005551000
! set access number to Cisco Unified CME B-ACD

  param number-of-hunt-grps 2
!declares the number of ephone hunt group menu options. range 1 - 3

  param second-greeting-time 60
! set time interval CME B-ACD waits before playing second (all-agents busy) greeting, range 30 - 120 seconds

  param call-retry-timer 15
! set time interval in which call in queue can attempt to access available ephone-dns and voice mail, range 5 - 30 seconds

  param max-time-call-retry 600
! set maximum time calls can wait in queue, range 60 - 3600 seconds

  param voice-mail 5000          (经过测试,必须要有voice-mail,现实中如果没有可以随便配置一个没有冲突的号码)
! declares B-ACD voice mail pilot number

  param max-time-vm-retry 2
! maximum times CME B-ACD can attempt to transfer call to voicemail, range 1 - 3

  param dial-by-extension-option  3    (按3键,可拨打内部分机)
!declares menu option number for extension dial. This should not overlap with hunt group options

    param max-extension-length  4    (内部分机号码为四位)
! declares the maximum length of the extension that the user can dial when dial-by-extension-option is chosen.
! The default value of this parameter is 5. If max-extension-length is set to 0 then there will not be any restriction for number of digits in an extension   
! exercise caution before setting the max-extension-length to 0 as this may let the user make unauthorized calls

    param welcome-prompt _aa1_welcome.au   (在Flash卡中,文件名必须为:en_bacd_welcome.au)
! declares the welcome prompt. The actual file in the flash should be en_aa1_welcome.au

   param menu-timeout 6
! The default value of this parameter is 4. Range is 1 ? 10. If the number of retries for playing the greeting and menu options exceeds the menu-timeout parameter, the call will be transferred to the operator hunt group. The operator hunt-group is the highest numbered aa-hunt. For example, in sample below the operator hunt group is aa-hunt4, pilot number 2222.

service queue flash:app-b-acd-3.0.0.1.tcl
!defines the application-name of the queue script as “queue”

  param queue-len 10
!declares the queue length per ephone hunt group, range 10 - 30

  param number-of-hunt-grps 2
!number of hunt-group menu options, range 1 - 3. Should be same as configured in the AA application

  param aa-hunt3 1111
!declares menu option 3 and associates it with the ephone hunt group pilot number 1111

  param aa-hunt4 2222
  param queue-manager-debugs 1
!enables collection of debugging information. 0 disables collection of debugging information
!Enable debug voip ivr script can also be enabled to view the debugs