入站呼叫工作正常。出站呼叫失败,如下所示:
Dial("SIP/xxxxxxxxx","ZAP/g0/14442223333|300|")
Couldn't call g0/14442223333
Hungup 'Zap/2-1'
Everyone is busy/congested at this time
Zap 3 和 4 也发生了同样的事情(当我强制它使用特定的 ZAP 通道而不是 g0 时)。一些相关历史:此卡上的端口 1 有问题。(不知道是什么,但之前的技术人员建议我不要使用该端口,因为它“坏了”)
以下是有关我的环境的更多详细信息。感谢您的帮助。
zap show 通道 2 至 4 显示几乎相同的输出
Channel: 2LI>
File Descriptor: 16
Span: 11*CLI>
Extension: I>
Dialing: noI>
Context: from-zaptel
Caller ID: I>
Calling TON: 0
Caller ID name:
Destroy: 0LI>
InAlarm: 0LI>
Signalling Type: FXS Kewlstart
Radio: 0*CLI>
Owner: <None>
Real: <None>>
Callwait: <None>
Threeway: <None>
Confno: -1LI>
Propagated Conference: -1
Real in conference: 0
DSP: no1*CLI>
Relax DTMF: yes
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook
/proc/zaptel/1
Span 1: WRTDM/0 "wrtdm Board 1" (MASTER)
1 WRTDM/0/0
2 WRTDM/0/1 FXSKS (In use)
3 WRTDM/0/2 FXSKS (In use)
4 WRTDM/0/3 FXSKS (In use)
...
...
zaptel配置文件
fxsks=2-4
zapata.conf
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
busydetect=no
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
;Sangoma A200 [slot:6 bus:1 span:1] <wanpipe1>
context=from-zaptel
signalling = fxs_ks
group=0
答案1
这看起来和我前几天修好的盒子一模一样。检查 dmesg 的输出。我发现,zaptel.conf 中未加载音调会导致系统无法拨打电话。