文件名称:Python
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:529kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用pjsip的库编写web网络电话,说明:
1.先安装pjsip的库。
2.你需要两个sip账号,分别填入第114行和116行。
第一个参数是SIP服务器,第二是用户名,第三是密码。
3.被叫号在第49行,你可以修改成从文件读或者其他。
4.第131行,从E盘根目录获取“电话号码.call”文件。获取之后就把该文件删掉。并呼叫该号码。
5.第44行,等待音文件,必须是标准的wav文件,可以用windows自带的录音机自己录制,转码出来的有可能不被支持,会报异常,此处未作处理
6.本程序是拿来做网页免费电话(web800)用的,当用户在web上填入一个号码,就可以自动回拨他,播放等待音,并接通第49行设定的客服号码。
7.web部分考虑到各人服务器不一样,未给出,只需按格式写入一个空文件到131行设定的路径就可以-Written in the pjsip the library web network telephone, stating:
1 to install the pjsip the library.
You need two sip accounts, respectively, to fill 114 lines and 116 lines.
The first parameter is the SIP server, the second is the user name and password.
3 called in line 49, you can modify the file read or other.
Four. Line 131, obtained from the root directory of E telephone number call "file. Fetch and then put the file is deleted. And call the number.
5 line 44, waiting for the sound file must be a standard wav file, you can use windows built-in recorder to record your own out of transcoding may not be supported, exception will be reported here is not dealt with
This procedure is used as the web pages Toll-free (web800) used when the user fill in a number on the web, you can automatically call back him, the player waiting tone, and connected to the line 49 to set the customer service number.
7.web part of each one taking into account the server is not the same, is not given
1.先安装pjsip的库。
2.你需要两个sip账号,分别填入第114行和116行。
第一个参数是SIP服务器,第二是用户名,第三是密码。
3.被叫号在第49行,你可以修改成从文件读或者其他。
4.第131行,从E盘根目录获取“电话号码.call”文件。获取之后就把该文件删掉。并呼叫该号码。
5.第44行,等待音文件,必须是标准的wav文件,可以用windows自带的录音机自己录制,转码出来的有可能不被支持,会报异常,此处未作处理
6.本程序是拿来做网页免费电话(web800)用的,当用户在web上填入一个号码,就可以自动回拨他,播放等待音,并接通第49行设定的客服号码。
7.web部分考虑到各人服务器不一样,未给出,只需按格式写入一个空文件到131行设定的路径就可以-Written in the pjsip the library web network telephone, stating:
1 to install the pjsip the library.
You need two sip accounts, respectively, to fill 114 lines and 116 lines.
The first parameter is the SIP server, the second is the user name and password.
3 called in line 49, you can modify the file read or other.
Four. Line 131, obtained from the root directory of E telephone number call "file. Fetch and then put the file is deleted. And call the number.
5 line 44, waiting for the sound file must be a standard wav file, you can use windows built-in recorder to record your own out of transcoding may not be supported, exception will be reported here is not dealt with
This procedure is used as the web pages Toll-free (web800) used when the user fill in a number on the web, you can automatically call back him, the player waiting tone, and connected to the line 49 to set the customer service number.
7.web part of each one taking into account the server is not the same, is not given
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pjsua-1.1-Py25.win32.exe
使用说明.txt
chengcall.py
使用说明.txt
chengcall.py
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.