繁体   English   中英

星号:Sip电话能否从星号外部的ptsn电话检测到挂断?

[英]Asterisk: sip phones can detect hangup from ptsn phone outside of asterisk?

有点复杂的情况。 我有一个小的星号服务器,工作正常,但有一个问题:如果有人从星号外部的ptsn电话接听,星号的Sip电话仍在响铃并等待。 并且您可以听到语音邮件的应答(很简单!)。 我的家在一个端口上有4个fxo“端口”,我通过带有两个模块的Wildcard TDM400P卡连接星号和模拟电话。 其他3个端口具有类比电话连接,问题是:如果有人从星号外部的3个电话之一呼叫或接听其他电话,则通过lan连接的Sip电话仍在响铃。 问题是:星号能否在外部检测到答案? 有什么要检查的参数吗?

这是我在extensions.conf中的上下文,我看到星号给我错误“在s,3扩展名上退出非0状态”

[entrata]
exten => s,1,Answer()
exten => s,2,GotoIf(${BLACKLIST()}?blacklisted)
exten => s,3,Dial(SIP/1002&SIP/1001&dahdi/1,150,t,m,r)
;exten => s,3,Voicemail(1002@interni)
exten => s,4,Hangup()

这是dadhi-channels.conf

;;; line="1 WCTDM/4/0"
signalling=fxo_ks
callerid="Centralino Asterisk"
mailbox=4001
group=0
context=interni
channel => 1
context=default

;;; line="4 WCTDM/4/3"
signalling=fxs_ks
callerid=asreceived
group=0
context=entrata
channel => 4
context=default

和chan_dadhi.conf

[channels]
context=entrata
language=it
signalling=fxs_ks
rxwink=300              ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=2
pickupgroup=2
immediate=no
;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=6

#include /etc/asterisk/dahdi-channels.conf

这是一个常见的FXO音调检测问题。 请检查FXO中的提供商设置。 TDM400寿命已尽,请查看以下内容: https ://serverfault.com/questions/144713/pstn-trunk-tdm400p-install-on-asterisk-trixbox

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM