安装了tdm400p卡,拨9不通,但sip可以往外拨。

安装了tdm400p卡,拨9不通,但sip可以往外拨。PSTN电话线也接通了。为什么呢?
问题:sip通了,可以用分机通过sip往外拨,可是拨9,走zap就不行,日志在下面的日志。
另外,
lsmod |grep zap
[root@astercc1 asterisk]# lsmod |grep zap
zaptel 186500 14 xpp,wcusb,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,wct4xxp,tor2,wctdm
oslec 13848 1 zaptel
crc_ccitt 6337 1 zapte

zttool
显示
l OK Wildcard TDM400P REV I Board 1

看来驱动没有问题

下面是日志:请大家帮助分析一下

astercc1*CLI>
astercc1*CLI>
astercc1*CLI>
astercc1*CLI>
astercc1*CLI>
astercc1*CLI>
— Executing [913910682506@from-internal:1] Macro(“SIP/8001-08e2b4e0”, “user-callerid|SKIPTTL|”) in new stack
— Executing [s@macro-user-callerid:1] Set(“SIP/8001-08e2b4e0”, “AMPUSER=8001”) in new stack
— Executing [s@macro-user-callerid:2] GotoIf(“SIP/8001-08e2b4e0”, “0?report”) in new stack
— Executing [s@macro-user-callerid:3] ExecIf(“SIP/8001-08e2b4e0”, “1|Set|REALCALLERIDNUM=8001”) in new stack
— Executing [s@macro-user-callerid:4] Set(“SIP/8001-08e2b4e0”, “AMPUSER=8001”) in new stack
— Executing [s@macro-user-callerid:5] Set(“SIP/8001-08e2b4e0”, “AMPUSERCIDNAME=8001”) in new stack
— Executing [s@macro-user-callerid:6] GotoIf(“SIP/8001-08e2b4e0”, “0?report”) in new stack
— Executing [s@macro-user-callerid:7] Set(“SIP/8001-08e2b4e0”, “AMPUSERCID=8001”) in new stack
— Executing [s@macro-user-callerid:8] Set(“SIP/8001-08e2b4e0”, “CALLERID(all)=”8001” <8001>“) in new stack
— Executing [s@macro-user-callerid:9] Set(“SIP/8001-08e2b4e0”, “REALCALLERIDNUM=8001”) in new stack
— Executing [s@macro-user-callerid:10] ExecIf(“SIP/8001-08e2b4e0”, “0|Set|CHANNEL(language)=”) in new stack
— Executing [s@macro-user-callerid:11] GotoIf(“SIP/8001-08e2b4e0”, “1?continue”) in new stack
— Goto (macro-user-callerid,s,20)
— Executing [s@macro-user-callerid:20] NoOp(“SIP/8001-08e2b4e0”, “Using CallerID “8001” <8001>“) in new stack
— Executing [913910682506@from-internal:2] Set(“SIP/8001-08e2b4e0”, “_NODEST=”) in new stack
— Executing [913910682506@from-internal:3] Macro(“SIP/8001-08e2b4e0”, “record-enable|8001|OUT|”) in new stack
— Executing [s@macro-record-enable:1] GotoIf(“SIP/8001-08e2b4e0”, “1?check”) in new stack
— Goto (macro-record-enable,s,4)
— Executing [s@macro-record-enable:4] AGI(“SIP/8001-08e2b4e0”, “recordingcheck|20090805-110406|1249441446.8”) in new stack
— Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090805-110406|1249441446.8: Outbound recording enabled.
recordingcheck|20090805-110406|1249441446.8: CALLFILENAME=OUT8001-20090805-110406-1249441446.8
— AGI Script recordingcheck completed, returning 0
— Executing [s@macro-record-enable:999] MixMonitor(“SIP/8001-08e2b4e0”, “OUT8001-20090805-110406-1249441446.8.gsm||”) in new stack
— Executing [913910682506@from-internal:4] Macro(“SIP/8001-08e2b4e0”, “dialout-trunk|1|13910682506||”) in new stack
— Executing [s@macro-dialout-trunk:1] Set(“SIP/8001-08e2b4e0”, “DIAL_TRUNK=1”) in new stack
— Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/8001-08e2b4e0”, “0?sub-pincheck|s|1”) in new stack
— Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/8001-08e2b4e0”, “0?disabletrunk|1”) in new stack
— Executing [s@macro-dialout-trunk:4] Set(“SIP/8001-08e2b4e0”, “DIAL_NUMBER=13910682506”) in new stack
— Executing [s@macro-dialout-trunk:5] Set(“SIP/8001-08e2b4e0”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
— Executing [s@macro-dialout-trunk:6] Set(“SIP/8001-08e2b4e0”, “OUTBOUND_GROUP=OUT_1”) in new stack
— Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/8001-08e2b4e0”, “1?nomax”) in new stack
— Goto (macro-dialout-trunk,s,9)
— Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/8001-08e2b4e0”, “0?skipoutcid”) in new stack
— Executing [s@macro-dialout-trunk:10] Set(“SIP/8001-08e2b4e0”, “DIAL_TRUNK_OPTIONS=”) in new stack
— Executing [s@macro-dialout-trunk:11] Macro(“SIP/8001-08e2b4e0”, “outbound-callerid|1”) in new stack
— Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/8001-08e2b4e0”, “0|SetCallerPres|”) in new stack
— Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/8001-08e2b4e0”, “0|Set|REALCALLERIDNUM=8001”) in new stack
— Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/8001-08e2b4e0”, “1?normcid”) in new stack
— Goto (macro-outbound-callerid,s,6)
— Executing [s@macro-outbound-callerid:6] Set(“SIP/8001-08e2b4e0”, “USEROUTCID=01069573797”) in new stack
— Executing [s@macro-outbound-callerid:7] Set(“SIP/8001-08e2b4e0”, “EMERGENCYCID=”) in new stack
— Executing [s@macro-outbound-callerid:8] Set(“SIP/8001-08e2b4e0”, “TRUNKOUTCID=01069573797”) in new stack
— Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/8001-08e2b4e0”, “1?trunkcid”) in new stack
— Goto (macro-outbound-callerid,s,12)
— Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/8001-08e2b4e0”, “1|Set|CALLERID(all)=01069573797”) in new stack
— Executing [s@macro-outbound-callerid:13] GotoIf(“SIP/8001-08e2b4e0”, “0?exit”) in new stack
— Executing [s@macro-outbound-callerid:14] Set(“SIP/8001-08e2b4e0”, “CALLERID(all)=01069573797”) in new stack
— Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/8001-08e2b4e0”, “0|SetCallerPres|prohib_passed_screen”) in new stack
— Executing [s@macro-dialout-trunk:12] ExecIf(“SIP/8001-08e2b4e0”, “1|AGI|fixlocalprefix”) in new stack
— Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== Begin MixMonitor Recording SIP/8001-08e2b4e0
> fixlocalprefix: Using pattern .
== fixlocalprefix: Dialpattern . matched. 13910682506 -> 13910682506
— AGI Script fixlocalprefix completed, returning 0
— Executing [s@macro-dialout-trunk:13] Set(“SIP/8001-08e2b4e0”, “OUTNUM=13910682506”) in new stack
— Executing [s@macro-dialout-trunk:14] Set(“SIP/8001-08e2b4e0”, “custom=ZAP/g0”) in new stack
— Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/8001-08e2b4e0”, “0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)”) in new stack
— Executing [s@macro-dialout-trunk:16] Macro(“SIP/8001-08e2b4e0”, “dialout-trunk-predial-hook|”) in new stack
— Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/8001-08e2b4e0”, “”) in new stack
— Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/8001-08e2b4e0”, “0?bypass|1”) in new stack
— Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/8001-08e2b4e0”, “0?customtrunk”) in new stack
— Executing [s@macro-dialout-trunk:19] Dial(“SIP/8001-08e2b4e0”, “ZAP/g0/13910682506|300|”) in new stack
== Everyone is busy/congested at this time (1:0/0/1)
— Executing [s@macro-dialout-trunk:20] Goto(“SIP/8001-08e2b4e0”, “s-CHANUNAVAIL|1”) in new stack
— Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
— Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf(“SIP/8001-08e2b4e0”, “1?noreport”) in new stack
— Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
— Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp(“SIP/8001-08e2b4e0”, “TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 66) – failing through to other trunks”) in new stack
— Executing [913910682506@from-internal:5] Macro(“SIP/8001-08e2b4e0”, “outisbusy|”) in new stack
— Executing [s@macro-outisbusy:1] Playback(“SIP/8001-08e2b4e0”, “all-circuits-busy-now|noanswer”) in new stack
Playing ‘all-circuits-busy-now’ (language ‘en’)
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on ‘SIP/8001-08e2b4e0’ in macro ‘outisbusy’
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on ‘SIP/8001-08e2b4e0’
== End MixMonitor Recording SIP/8001-08e2b4e0
== Manager ‘admin’ logged off from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1

主题测试文章,只做测试使用。发布者:zhangyang,转转请注明出处:https://www.voip88.com/%e5%ae%89%e8%a3%85%e4%ba%86tdm400p%e5%8d%a1%ef%bc%8c%e6%8b%a89%e4%b8%8d%e9%80%9a%ef%bc%8c%e4%bd%86sip%e5%8f%af%e4%bb%a5%e5%be%80%e5%a4%96%e6%8b%a8%e3%80%82-2/

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022年 8月 26日 下午3:23
下一篇 2022年 8月 26日 下午3:23

相关推荐

  • callweaver无法启动

    我的操作系统是 redhat as4 的版本,我按照 [url=http://www.callweaver.com]http://www.callweaver.com[/url] wiki上面的centos5的安装方法,安装完了callweaver ,当然里面的一些包都是适应as4版本的,我装的是 callweaver 1.2.1,我的安装方法如下:./co…

    文档 2022年 8月 26日
    1100
  • 在inbound routes中可以用通配符吗?

    我想把北京的电话(010XXXXXXXX)分配在1-3号线路接听,其他的电话分配在4-10号线路接听,请问这个需要怎么样设置呢?

    文档 2022年 8月 26日
    1300
  • 关于sip Trunk对接问题

    我有2个服务器,A是elastix,B是trixbox,4001是A上面的号码,我在B Trixbox上做如下:PEER Details: disallow=allallow=ulaw&alowcanredirect=nodtmfmode=rfc2833fromuser=4001host=192.168.1.182fromdomain=192.16…

    文档 2022年 8月 26日
    1100
  • 如何保证你的sip 安全

    当我们实施 sip 时,系统的安全是必须考虑到,以下是几点建议,[b]1) Don’t accept SIP authentication requests from all IP addresses.[/b] Use the “permit=” and “deny=” lines in sip.conf to only allow areasonable …

    文档 2022年 8月 26日
    1000
  • 3G视频电话的H324视频数据如何播放

    通过3G手机截取到的H324视频流数据播放出视频和音频,能不能通过asterisk实现?如何实现?以及把普通的视频文件编码成H324格式的数据能否用asterisk实现?请大家帮忙

    文档 2022年 8月 26日
    1000

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信
自6.2开始主题新增页头通知功能,购买用户可免费升级到最新版体验