2009年7月8日星期三

路由器IVR配置

IVR配置

1.这个文件夹的文件全部复制到TFTP目录。
2.打开声音文件,利用goldwave软件重新编辑录制声音,不要改变原有的文件名以及编码格式。
3.把这些文件作成一个tar文件,上传到CCME路由器。
接通总机之后,可以拨分机号码,如果没有输入分机号,一定时间(约5秒)自动转到前台
!!录制以下几个文件并上传到CCME/SRST的根目录下
ch_welcome.au
ch_enter_dest.au
ch_dest_unreachable.au
ch_dest_busy.au
ch_reenter_dest.au
ch_disconnect.au
CCME的配置
application
service ivr flash:its-CISCO.2.0.1.0.tcl
paramspace chinese language ch
paramspace chinese index 1
paramspace chinese location flash:
paramspace chinese prefix ch
param aa-pilot 86019999
!!总机号码
param operator 828
!!前台号码
service load ivr
voice-port 0/0/0
no connection plar 828
!!需要接总机(语音问候)的FXO端口不能使用connection plar
!!需要接总机(语音问候)的FXO端口都需要配置
......
dial-peer voice 21 pots
service ivr
destination-pattern .T
incoming called-number 86019999
!!
port 0/0/0
!!需要接总机(语音问候)的FXO端口都需要配置
(2)方法二、
SRST/CCME情况下,没有unity,自动应答的官方的配置实例如下(还没有实验证明):
Foreign Exchange Office (FXO) ports are limited in how dial-peers are matched for these ports. When a dial-peer is matched for inbound calls to an FXO port, the first dial-peer in the configuration where that port is specified is the one matched. The FXO port cannot match based on the incoming called number configured on a dial-peer lower on the list of dial-peers.
The VoIP dial-peer must point to itself (the gateway IP address) and
plar-opx on the voice-port if an FXO port is used. This workaround can be used in such circumstances, to trigger the TCL-AA script to answer the incoming call:
!
application
service tcl-aa flash:its-CISCO.2.0.1.0.tcl
param operator 3005
paramspace english index 1
paramspace english language en
paramspace english location flash:
paramspace english prefix en
param aa-pilot 45744
!
!
interface FastEthernet0/0.192
description CME vlan
encapsulation dot1Q 192
ip address 192.168.1.1 255.255.255.0
!
voice-port 2/0/0
echo-cancel coverage 32
timeouts interdigit 2
connection plar-opx 45744
!
dial-peer voice 2000 voip
destination-pattern 45744
incoming-called-number 45744
codec g711ulaw
session target ipv4:192.168.1.1
dtmf-relay h245-alpha
service tcl-aa
!