星号:这个拨号计划发生了奇怪的事情

星号:这个拨号计划发生了奇怪的事情

我有一部连接到 Digium b410p 卡的 ISDN 电话。工作正常,但拨号方案有些奇怪,使用这个简单的拨号方案

[from-dahdi]
exten => 1796522,1,Dial(DAHDI/g12/${EXTEN})
exten => 1796522,2,Hangup()

exten => s,1,Wait(10)
exten => s,2,Answer
exten => s,3,Dial(DAHDI/g12/${EXTEN})

[local]
;
; Master context for local, toll-free, and iaxtel calls only
;
include => default
include => from-dahdi

exten => 600,1,Playback(demo-echotest) ; Let them know what’s going on
exten => 600,2,Echo ; Do the echo test
exten => 600,3,Playback(demo-echodone) ; Let them know it’s over

当我拨打 600 时,我必须用自己的电话接听(我拨打 600 但我的电话说有来自我自己的号码 1796522 的来电!)并且如果我接听,我会听到音乐。

如果我删除行 exten => s,3,Dial(DAHDI/g12/${EXTEN}),调用会返回超时我错过了什么?

答案1

找到解决方案:

我编辑、/etc/asterisk/chan_dahdi.conf添加/修改了这些行。

overlapdial=yes
immediate=no

现在文件是这样的,也许对某些人有用

[trunkgroups]
[channels]
language=it
context=local
switchtype=euroisdn
overlapdial=yes
signalling=bri_net_ptmp
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
context=local
echocancel=yes
channel => 1,2,4,5,7,8,10,11
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1
immediate=no
#include /etc/asterisk/dahdi-channels.conf

现在 isdn 电话可以拨打内部号码

相关内容