trixbox

SIP Trunk / SIP 中继服务

风流意气都作罢 提交于 2019-12-25 16:01:35
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> CTS SIP Trunk/SIP中继可以让你现有的IPPBX连接到CTS的平台从而使用VOIP外线落地。享受拨打全国统一资费0.09元,多路中继号码,可接听电话。如果你已经有了IPPBX系统,使用CTS SIP Trunk企业级VOIP中继/SIP中继话务服务,可以让你在外呼电话时节省更多的钱 ,让您的VOIP系统对内对外都实现真正的 Over IP。使用CTS SIP Trunk/SIP中继无需硬件语音板卡,无需电话线路,只需一条网线,架设从内部分机到外呼电话的完全 VOIP 系统。不限企业地域,全国均可使用。如需办理请电话咨询:4008290998. 备注:使用CTS SIP Trunk服务,几乎任何的现有IPPBX均可以直接配置使用,无需任何硬件设备, 仅需支持SIP协议即可。例如:FreePBX,Asterisk,FreeSwitch,Trixbox,PBX IN A Flash,Elastix,3CX,AVAYA,Lync等等。 来源: oschina 链接: https://my.oschina.net/u/1452491/blog/200550

Asterisk AMI - pickup call

自闭症网瘾萝莉.ら 提交于 2019-12-18 06:57:10
问题 I want to pickup call in Asterisk using AMI. I can originate call, but totally don't know, how to answer the phone... Script for calling: #login sock = socket.socket(af, socktype, proto) sock.connect(sockaddr) sock.send('Action: login\r\n') sock.send('Events: off\r\n') sock.send('Username: '+str(ast_server.login)+'\r\n') sock.send('Secret: '+str(ast_server.password)+'\r\n\r\n') #originate call sock.send('Action: originate\r\n') sock.send('Channel: ' + str(user.asterisk_chan_type) + '/' + str

saving data into custom cdr field

我怕爱的太早我们不能终老 提交于 2019-12-07 08:22:25
问题 I created custom field "rec_name" id table "cdr", database "asteriskcdrdb". In this field I want to store recording name. I know I should do it by adding this line in one of .conf files, but where? exten => s,1,set(CDR(rec_name)=${CALLFILENAME}) I can do it by sql statement, too, but I don't know where is the file that saves details of call into database. 回答1: For mysql you need add into /etc/asterisk/cdr_mysql.conf [aliases] rec_name=rec_name If you HAVE aliases section, just add to it rec

saving data into custom cdr field

自古美人都是妖i 提交于 2019-12-05 16:13:06
I created custom field "rec_name" id table "cdr", database "asteriskcdrdb". In this field I want to store recording name. I know I should do it by adding this line in one of .conf files, but where? exten => s,1,set(CDR(rec_name)=${CALLFILENAME}) I can do it by sql statement, too, but I don't know where is the file that saves details of call into database. For mysql you need add into /etc/asterisk/cdr_mysql.conf [aliases] rec_name=rec_name If you HAVE aliases section, just add to it rec_name=rec_name 来源: https://stackoverflow.com/questions/10499261/saving-data-into-custom-cdr-field

Asterisk AMI - pickup call

我的梦境 提交于 2019-11-29 11:54:29
I want to pickup call in Asterisk using AMI. I can originate call, but totally don't know, how to answer the phone... Script for calling: #login sock = socket.socket(af, socktype, proto) sock.connect(sockaddr) sock.send('Action: login\r\n') sock.send('Events: off\r\n') sock.send('Username: '+str(ast_server.login)+'\r\n') sock.send('Secret: '+str(ast_server.password)+'\r\n\r\n') #originate call sock.send('Action: originate\r\n') sock.send('Channel: ' + str(user.asterisk_chan_type) + '/' + str(user.internal_number)+'\r\n') sock.send('Timeout: '+str(ast_server.wait_time*1000)+'\r\n') sock.send(

Python SIP library [closed]

依然范特西╮ 提交于 2019-11-29 00:44:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 months ago . I need to write python application connect to trixbox that run as SIP server. But I not found any library that implement in python. I found SIP SKD at http://www.vaxvoip.com/ but it not support python. Can anyone suggest me an alternative to VaxVoip? Thank you. 回答1: There are Python bindings for the PJSUA API.

Python SIP library

淺唱寂寞╮ 提交于 2019-11-28 20:25:02
I need to write python application connect to trixbox that run as SIP server. But I not found any library that implement in python. I found SIP SKD at http://www.vaxvoip.com/ but it not support python. Can anyone suggest me an alternative to VaxVoip? Thank you. Jermiajab There are Python bindings for the PJSUA API. Twisted supports SIP. That's really cool You might want to have a look at Sippy . It's a B2BUA with a complete SIP stack implementation underneath (you could use just that). It's written entirely in Python, so it's pretty hackable. Sippy is implemented with Twisted but uses none of