洞察移动政务小程序助力政府数字化转型,保障数据安全和效率提升
613
2022-11-09
Asterisk Letting SIP clients connect directly
Asterisk by default connects all media streams through asterisk to be able to connect various protocols and media to each other. If you have two SIP phones, the media path can be connected directly between the phones without going through Asterisk. Asterisk in this case only handles signalling. It requires that both extensions are using SIP and support the same codecs.
Disable transfer
If you want to transfer calls by pressing the # key during a call, Asterisk will stay in the media stream to be able to listen for # signals. Remove the "tT" from the dial() command to disable this.
Configuration
This is done in sip.conf by using canreinvite=yes in the configuration of the SIP extension. This is the default behaviour.
Example
[morgan] secret=thesweet43 type=friend host=dynamic context=sipexts mailbox=1050 callerid="morgan@yourdomain.com" <1050> dmtfmode=rfc2833 canreinvite=yes
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~