2016-02-23 59 views
0

有點複雜的情況。 我有一個星號服務器,工作正常,但有 一個問題:如果有人從星號 以外的ptsn電話應答,星號的SIP電話仍在振鈴並等待。 你可以聽到語音信箱應答(原文!)。 我的家在一個端口上有4個fxo「端口」,我通過Wildcard TDM400P卡和兩個模塊連接星號和模擬電話。 其他3個端口有模擬電話連接,問題是 :如果有人打電話和其他答案來自3個電話號碼之一 以外的星號,通過局域網連接的SIP電話仍然振鈴。 問題是:是否可以讓星號在外面檢測答案? 任何參數來檢查?謝謝星號:SIP電話可以檢測星號以外的ptsn電話的掛斷嗎?

這是我的extensions.conf 方面,我看到星號給我errror「退出非0狀態的S,3個擴展」

[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([email protected]) 
exten => s,4,Hangup() 

這是dadhi通道.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 
+0

這實際上不是星號問題。你應該在/etc/dahdi/system.conf和/etc/asterisk/chan_dahdi.conf – arheops

+0

中檢查卡設置(應答和掛斷檢測)謝謝我將檢查並嘗試 – elbarna

+0

沒辦法,試了很多組合system.conf – elbarna

回答