我有一个 b410p 卡 ISDN BRI,配置有 4 个 NT 端口。在一个 NT 端口 (2) 我连接一个 ISDN 电话(正在工作),在另一个 (4) 我连接一个连接到运行 Windows 2000 的 VM 的 TA(usb hamlet)(没有网络,所以很安全)运行软电话 isdn 称为 rvs-com。在 isdn 电话上,我可以拨打电话和接听电话。isdn TA 可以接听电话(但无法接听),但是当我从 TA 拨打电话时..星号控制台完全静音,我还使用命令设置了调试强度
pri set debug on span 4
当我用软电话拨打电话时,给出错误 isdn 3302,但似乎它没有连接到星号,因为正如我所说的控制台是静音的。可以是什么?我看到 isdn ta 在通话前放了一个国际前缀(+39),这是问题吗?无法从 Windows 中删除此规则(据我所知)。这些是我的 conf 文件
/etc/dahdi/system.conf
; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" AMI/CCS YELLOW
group=0,11
context=from-dahdi
switchtype = euroisdn
signalling = bri_net_ptmp
channel => 1-2
context = default
group = 63
; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS YELLOW
group=0,12
context=from-dahdi
switchtype = euroisdn
signalling = bri_net_ptmp
channel => 4-5
context = default
group = 63
; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" AMI/CCS YELLOW
group=0,13
context=from-dahdi
switchtype = euroisdn
signalling = bri_net_ptmp
channel => 7-8
context = default
group = 63
; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" (MASTER) AMI/CCS
group=0,14
context=from-dahdi
switchtype = euroisdn
signalling = bri_net_ptmp
channel => 10-11
context = default
group = 63
/etc/asterisk/chan-dahdi.conf
[trunkgroups]
[channels]
language=it
context=local
switchtype=euroisdn
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
overlapdial=yes
immediate=no
/etc/asterisk/extensions.conf
[from-dahdi]
include => local
exten => 1796522,1,Dial(DAHDI/g12/${EXTEN})
exten => 1796522,2,Hangup()
exten => 1796521,1,Dial(DAHDI/g14/${EXTEN})
exten => 1796521,2,Hangup()
exten => s,1,Answer()
exten => s,2,Dial(Local/${EXTEN},10,t,m)
exten => s,4,Hangup()
[local]
include => from-dahdi
exten => 1001,1,Dial(SIP/telefono1,20,Ttm)
same => n,Hangup
exten => 7500,1,VoicemailMain(@mycontext)
exten => 600,1,Answer()
exten => 600,2,Playback(demo-echotest) ; Let them know what
exten => 600,3,Echo() ; Do the echo test
exten => 600,4,Playback(demo-echodone) ; Let them know it
exten => 600,5,Hangup()