autodialer.jsp是Cisoc IP Phone Service SDK上自带的一个java程序程序,主要功能是通过电话上的Services键实现自动呼叫预先设定好的电话。
首先默认安装SDK,将C:/CiscoIPServices/JSP目录下的所有应用拷贝到MyEclipse上创建的工程中。
修改autodialer.jsp中的变量。
pushUserId为在Call Manager上分配了User用户组的权限,并且可以操作相关的设备。
dialstring:为在CallManager上配置IP Sservice的变量。
将应用部署到Tomcat上,在IE中测试一下Http访问路径http://10.1.210.49:8080/ip/autodialer/autodialer.jsp?dialstring=2001
在Call Manager上部署Service:
在End User用户组中创建用户,上面说的pushUserId的用户。
在Device->Device settings->Phone Service中部署autodailer服务,并指定Service Url地址为上面部署的路径,设为Enable。
为Phone上定制服务,并重启电话。
在System->Enterprise Parameters(IP为CallManager的IP地址)
配置URL Authentication:http://10.1.211.222:8080/ccmcip/authenticate.jsp
配置URL Directories:http://10.1.211.222:8080/ccmcip/xmldirectory.jsp
配置URL Information :http://10.1.211.222:8080/ccmcip/GetTelecasterHelpText.jsp
配置URL Services :http://10.1.211.222:8080/ccmcip/getservicesmenu.jsp
只有配置上面的信息后,才能通过验证才能使用http://分机IP/CGI/Execute
按下电话上的Services键,实现自动拨号。