联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All IP电话/视频会议(1) 
按平台查找All Python(1) 

[IP电话/视频会议] Python

用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 (2012-03-09, Python, 529KB, 下载76次)

http://www.pudn.com/Download/item/id/1789630.html
总计:1