Asterisk: sip phones 可以检测来自 ptsn phone 的挂机吗?
Asterisk: sip phones can detect hangup from ptsn phone outside of asterisk?
有点复杂的情况。
我有一个小星号服务器,工作正常但有
一个问题:如果有人从外面的 ptsn phone 回答
asterisk, the sip phones of asterisk 仍在响起并等待。
您可以听到语音信箱的回答(原文如此!)。
我家在一个端口上有 4 个 fxo "ports",我通过带有两个模块的 Wildcard TDM400P 卡连接星号和模拟 phone。
其他 3 个端口有模拟 phones 连接,问题是
:如果有人打来电话,并且来自 3 phone 之一的其他答案
在星号之外,通过 LAN 连接的 sip phones 仍在响铃。
问题是:asterisk 有可能检测到外部的答案吗?
有什么参数要检查吗?谢谢
这是我在 extensions.conf 中的上下文
我看到星号给我错误 "exit non 0 state on s,3 extension"
[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 已结束 [=13=] 看这个:https://serverfault.com/questions/144713/pstn-trunk-tdm400p-install-on-asterisk-trixbox
有点复杂的情况。 我有一个小星号服务器,工作正常但有 一个问题:如果有人从外面的 ptsn phone 回答 asterisk, the sip phones of asterisk 仍在响起并等待。 您可以听到语音信箱的回答(原文如此!)。 我家在一个端口上有 4 个 fxo "ports",我通过带有两个模块的 Wildcard TDM400P 卡连接星号和模拟 phone。 其他 3 个端口有模拟 phones 连接,问题是 :如果有人打来电话,并且来自 3 phone 之一的其他答案 在星号之外,通过 LAN 连接的 sip phones 仍在响铃。 问题是:asterisk 有可能检测到外部的答案吗? 有什么参数要检查吗?谢谢
这是我在 extensions.conf 中的上下文 我看到星号给我错误 "exit non 0 state on s,3 extension"
[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 已结束 [=13=] 看这个:https://serverfault.com/questions/144713/pstn-trunk-tdm400p-install-on-asterisk-trixbox