asterisk 模拟卡常见问题以及解决办法 第二部分

[i=s] 本帖最后由 james.zhu 于 2009-6-26 15:39 编辑 [/i]

这里是第二部分,有的是一些问题的连接。可能会帮助到大家。

===Q32, A1200P “TRUNK Dial failed due to CONGESTION” Problem===
please refer this link:
[url=http://www.openvox.cn/bbs/viewthread.php?tid=739&extra=page%3D1]http://www.openvox.cn/bbs/viewthread.php?tid=739&extra=page%3D1[/url]

===Q33, A1200P Installation on Ubuntu 8.10 Server===
if you have a installation problem with A1200P/A800P,
please refer this:[url=http://bbs.openvox.cn/viewthread.php?tid=819&extra=page%3D1]http://bbs.openvox.cn/viewthread.php?tid=819&extra=page%3D1[/url]

===Q34, Can’t retrieve Taiwan’s CID===
please refer this for your problem:
link:[url=http://bbs.openvox.cn/viewthread.php?tid=726&extra=page%3D3]http://bbs.openvox.cn/viewthread.php?tid=726&extra=page%3D3[/url]

===Q35, FXO sends the digits of speed===
if you want to add speed dialup for FXO, please refer this:
[url=http://bbs.openvox.cn/viewthread.php?tid=666&extra=page%3D3]http://bbs.openvox.cn/viewthread.php?tid=666&extra=page%3D3[/url]

===Q36, Trick to solve buffer re-sync issue of A1200P/A800P===
if your system keeps flushing the “buffer re-sync problems”
please refer this link:
[url=http://bbs.openvox.cn/viewthread.php?tid=405&extra=page%3D6]http://bbs.openvox.cn/viewthread.php?tid=405&extra=page%3D6[/url]

===Q37, How do you report a problem===
In order to solve customer’s problems very effective and efficiency,
when seeking a help from us, please give these information:
1) versions of kernel and Linux distribution
2) versions of asterisk and zaptel/dahdi
3) the name of cards used in your system
4) debug and error information from your system and asterisk
5) sending us zaptel(zaptel.conf and zapata.conf) or dahdi (system.conf and chan_dahdi.conf)

configuration files and extension.conf
6) after loading the driver, run the command: demsg and send the information to us
7) sending us the result of the command: cat /proc/interrupts

8) sending us the message of asterisk console when you making a call
9) inform the protocols you are using in your system
10) send us a working ssh account with root permission if you need us to check the system.
11) make a backup for your important files
12) describe the problem in details

===Q38,bug: FXO can not call out!===
The problem is this:
1) I cannot make outbound calls on an FXO card (Using FXSKS signalling)until I’ve received an incoming call
2) resetting the hookstate to offhook(A single ring is good enough),
or alternatively, disconnecting and reconnecting the telephone line.
please refer this link:
[url=http://bbs.openvox.cn/viewthread.php?tid=740&extra=page%3D2]http://bbs.openvox.cn/viewthread.php?tid=740&extra=page%3D2[/url]

===Q39,FATAL: Module wctdm not found ===
if this problem occurred, please make sure:
1) the module is compiled and installed properly
2) you entered a right kernel, which you used to compile the zaptel
3) make sure you have a access permission to load the module.
4) make sure the wctdm.ko is under /lib/modules/2.6.XX/extra

===Q40,FATAL: Module opvxa1200 not found ===
if this problem occurred, please make sure:
1) the module is compiled and installed properly
2) you entered a right kernel, which you used to compile the zaptel
3) make sure you have a access permission to load the module.
4) make sure the opvxa1200.ko is under /lib/modules/2.6.XX/extra

===Q41,Tools for wctdm and opvxa1200 ===
you can use these tools to test the wctdm and opvxa1200
1) zttest
[url=http://www.asteriskguru.com/tutorials/pci_irq_apic_tdm_ticks_te410p_te405p_noise.html]http://www.asteriskguru.com/tuto … p_te405p_noise.html[/url]
2) zttool
[url=http://www.voip-info.org/wiki/view/Asterisk+zttool]http://www.voip-info.org/wiki/view/Asterisk+zttool[/url]
3) ztmonitor
[url=http://www.voip-info.org/wiki/view/Asterisk+zapata+gain+adjustment]http://www.voip-info.org/wiki/vi … ata+gain+adjustment[/url]
4) fxotune
[url=http://www.voip-info.org/wiki/view/Asterisk+fxotune]http://www.voip-info.org/wiki/view/Asterisk+fxotune[/url]
[url=http://kb.digium.com/entry/134/]http://kb.digium.com/entry/134/[/url]

===Q42,check information of wctdm.ko/opvxa1200.ko ===
Under /lib/modules/2.6.18-128.el5/misc
run command: modinfo wctdm.ko, run modinfo opvxa1200 if checking opvxa1200
[root@bogon misc]# modinfo wctdm.ko
filename: wctdm.ko
license: GPL
alias: wcfxs
author: Mark Spencer <[email=markster@digium.com]markster@digium.com[/email]>
description: Wildcard TDM400P Zaptel Driver
srcversion: 5E22C66ED4D5B1ADE573C83
alias: pci:v0000E159d00000001sv0000A901sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000A908sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000A801sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000A800sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000A8FDsd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000A9FDsd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000B119sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000B118sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000B1D9sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000B100sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000E159sd*bc*sc*i*
alias: pci:v0000E159d00000001sv0000A159sd*bc*sc*i*
depends: zaptel
vermagic: 2.6.18-128.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1
parm: debug:int
parm: loopcurrent:int
parm: reversepolarity:int
parm: robust:int
parm: opermode:charp
parm: timingonly:int
parm: lowpower:int
parm: boostringer:int
parm: fastringer:int
parm: fxshonormode:int
parm: battdebounce:uint
parm: battalarm:uint
parm: battthresh:uint
parm: ringdebounce:int
parm: fwringdetect:int
parm: alawoverride:int
parm: fastpickup:int
parm: fxotxgain:int
parm: fxorxgain:int
parm: fxstxgain:int
parm: fxsrxgain:int
[root@bogon misc]# pwd
/lib/modules/2.6.18-128.el5/misc

===Q43, How to debug wctdm or opvxa1200 ===
When loading the wctdm or opvxa1200 with a debug mode,
please loadding the driver in this way:
modprobe wctdm debug=1 // open the debug and check the /var/log/message

===Q44, RHEL/Centos 5.2: xpp/xdefs.h:117: error: conflicting types for ‘bool’ ===
please refer this:
[url=https://issues.asterisk.org/view.php?id=12889]https://issues.asterisk.org/view.php?id=12889[/url]

===Q45, xpp modules do not compile with kernel 2.6.19-1.2919.fc7===
please refer this:
[url=https://issues.asterisk.org/view.php?id=9006]https://issues.asterisk.org/view.php?id=9006[/url]

===Q46, spinlock.h error with RHEL 4===
please refer this link:
[url=http://forums.digium.com/viewtopic.php?p=17034&sid=c914a0a979f8437576c7aa92518fe48b]http://forums.digium.com/viewtop … 37576c7aa92518fe48b[/url]

===Q47, Compile error on CentOS-4.6 with Kernel-2.6.9-67.0.15.ELsmp and CONFIG_DAHDI_NET===
please refer this link:
[url=https://issues.asterisk.org/view.php?id=13427]https://issues.asterisk.org/view.php?id=13427[/url]

===Q48, dahdi_compat.h:31:27: error: zaptel/zaptel.h: No such file ===
please read this:
[url=https://issues.asterisk.org/view.php?id=14121]https://issues.asterisk.org/view.php?id=14121[/url]

===Q49, when compiling zaptel, error: You do not appear to have the sources for…===
please refer this:
[url=http://forums.digium.com/viewtopic.php?t=7061]http://forums.digium.com/viewtopic.php?t=7061[/url]
[url=http://lists.digium.com/pipermail/asterisk-users/2007-June/189259.html]http://lists.digium.com/pipermai … 07-June/189259.html[/url]

===Q50, Bug#439814: zaptel-source: oslec_echo_can_identify undefined symbol===
please refer this:
[url=http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/2007-August/009225.html]http://lists.alioth.debian.org/p … -August/009225.html[/url]

===Q51, DID YOU REMEMBER TO PLUG IN THE HD POWER CABLE TO THE TDM400P?? ===
please check from here:
[url=http://www.openvox.com.cn/bbs/viewtopic.php?t=538&sid=cae3adbe99e80f500d9c9ea7edb52bfb]http://www.openvox.com.cn/bbs/vi … f500d9c9ea7edb52bfb[/url]
[url=http://www.openvox.cn/download/other_docs/A800P_A1200P_FAQ]http://www.openvox.cn/download/other_docs/A800P_A1200P_FAQ[/url](Chinese).pdf

===Q52, How to install Octasic SoftEcho ===
please refer these links:
[url=http://www.openvox.cn/download/user_manuals_english_version/Octvqeug_5000.pdf]http://www.openvox.cn/download/u … n/Octvqeug_5000.pdf[/url]
[url=http://www.octasic.com/en/products/softecho/softecho_asterisk.php]http://www.octasic.com/en/products/softecho/softecho_asterisk.php[/url]
[url=http://www.octasic.com/en/products/softecho/support.php]http://www.octasic.com/en/products/softecho/support.php[/url]

===Q53, Bug in Zaptel 1.2.20.1 and 1.4.5.1 – Only MG2 ===
please refer this:
[url=http://trixbox.org/node/21080]http://trixbox.org/node/21080[/url]
[url=http://www.rowetel.com/ucasterisk/oslec.html]http://www.rowetel.com/ucasterisk/oslec.html[/url]

===Q54, Howto: OSLEC echo canceling + DAHDI 2.1.0.4 + Asterisk 1.4 ===
please refer this:
[url=http://www.asterisk.org/forum/viewtopic.php?p=125314&sid=9515c7b03cb14dc698e89467c3d49a86]http://www.asterisk.org/forum/vi … dc698e89467c3d49a86[/url]

===Q55, Difference between zaptel and dahdi ===
please refer these links:
[url=http://www.voip-info.org/wiki/view/DAHDI]http://www.voip-info.org/wiki/view/DAHDI[/url]
[url=http://docs.tzafrir.org.il/dahdi-linux/]http://docs.tzafrir.org.il/dahdi-linux/[/url]
[url=http://docs.tzafrir.org.il/dahdi-tools/]http://docs.tzafrir.org.il/dahdi-tools/[/url]

===Q56, Tonezones for wctdm and opvxa1200 ===

The file zonedata.c contains the information about the tone zones used in libtonezone (and hence also in ztcfg). Here is a list of those zones:
us United States / North America
au Australia
fr France
nl Netherlands
uk United Kingdom
fi Finland
es Spain
jp Japan
no Norway
at Austria
nz New Zealand
it Italy
us-old United States Circa 1950 / North America
gr Greece
tw Taiwan
cl Chile
se Sweden
be Belgium
sg Singapore
il Israel
br Brazil
hu Hungary
lt Lithuania
pl Poland
za South Africa
pt Portugal
ee Estonia
mx Mexico
in India
de Germany
ch Switzerland
dk Denmark
cz Czech Republic
cn China
ar Argentina
my Malaysia
th Thailand
bg Bularia
ve Venezuela
ph Philippines
ru Russian Federation
tr Turkey

===Q57, Tools from zaptel to dahdi===

ztcfg -> dahdi_cfg
ztmonitor -> dahdi_monitor
ztscan -> dahdi_scan
ztspeed -> dahdi_speed
zttest -> dahdi_test
zttool -> dahdi_tool
zapconf -> dahdi_genconf (deprecates genzaptelconf)

=== Q58, the list of opermode===

when loading the driver wctdm/opvxa1200,
modprobe wctdm opermode=YOUR COUNTRY
please check from the list: fxo_mudules.h

===Q59, Callerid with DTMF and FSK ===
please refer these links:
[url=http://www.ainslie.org.uk/callerid/cli_faq.htm]http://www.ainslie.org.uk/callerid/cli_faq.htm[/url]
[url=http://www.asteriskguru.com/tutorials/calleridall_function.html]http://www.asteriskguru.com/tutorials/calleridall_function.html[/url]
[url=https://issues.asterisk.org/view.php?id=7787]https://issues.asterisk.org/view.php?id=7787[/url]
[url=http://asterisk.pbx.in/callerid-standards]http://asterisk.pbx.in/callerid-standards[/url]
[url=http://kb.digium.com/entry/3/]http://kb.digium.com/entry/3/[/url]

===Q60, Why are you unable to call out with Asterisk 1.4.22? ===
If you are using wctdm or opvxa1200 with Zaptel and Asterisk 1.4.22 then there is a known issue with outbound calls. The reason you are not able to call out is because Asterisk 1.4.22 has a new feature which detects if a analog line is plugged in or not, but this feature only works with Dahdi. So to fix the issue you can do one of the following.
edit the file under /asterisk-1.4.22、channels/chan_dahdi.c” find this line
#ifdef DAHDI_CHECK_HOOKSTATE return 0;
#else return 1;
Change the “0” to a “1”
#ifdef DAHDI_CHECK_HOOKSTATE return 1;
#else return 1;

===Q61, Sound quality issue with wctdm and opvxa1200== you can try these possible solutions:
1) Check the IRQ, make sure system handle IRQ properly
2) Use zttest to check the result
3) Disable the X window and framebuffer(set vga=normal from grub)
4) When using IDE driver, please open the DMA control
5) Bind the card IRQ to particular CPU, for example:
echo 1 > /proc/irq/217/smp_affinity #wcfxo
6) Set the latency timer: setpci -v -s 04:06.0 LATENCY_TIMER=f8 #wcfxo

===Q62, Echotraining and OSLEC===if you use the OSLEC, you must disable the echotraining.
otherwise, the channel will be silent.

===Q63, Far side disconnected with disconnect supervisions===possible solutions:
1) Your PSTN provider uses voltage/battery drop for disconnect supervision,
pleas try to edit DCT in zaptel.h to 100 ms or higher.
2) If you PSTN provider provides reverse polarity/battery
disconnect supervision:
hanguponpolarityswitch=yes
answeruponpolarityswitch=yes
3) If your PSTN provider has disconnect/busy tone disconnect supervision
busydetect=yesbusycount=6
or try to callprogress, and set your progzone to your country code in zapata.conf

===Q64, Cabling for wctdm and opvxa1200=== wctdm/opvxa1200 uses RJ11 cable. please refer this:
[url=http://www.tech-faq.com/rj-11.shtml]http://www.tech-faq.com/rj-11.shtml[/url]
[url=http://en.wikipedia.org/wiki/RJ11,_RJ14,_RJ25]http://en.wikipedia.org/wiki/RJ11,_RJ14,_RJ25[/url]

===Q65, Splitter for A1200P/A800P===[url=http://openvox.cn/products/show.php?itemid=120&lang=2]http://openvox.cn/products/show.php?itemid=120&lang=2[/url]

===Q66, Power supply for for wctdm and opvxa1200=== If you use FXS with wctdm/opvxa1200, you MUST use
12v power supply(4 pin Molex power cable) for FXS, please refer this:
[url=http://www.playtool.com/pages/psuconnectors/connectors.html#peripheral]http://www.playtool.com/pages/psuconnectors/connectors.html#peripheral[/url]
[url=http://en.wikipedia.org/wiki/Computer_power_supply]http://en.wikipedia.org/wiki/Computer_power_supply[/url]

主题测试文章,只做测试使用。发布者:zhangyang,转转请注明出处:https://www.voip88.com/asterisk-%e6%a8%a1%e6%8b%9f%e5%8d%a1%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98%e4%bb%a5%e5%8f%8a%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95-%e7%ac%ac%e4%ba%8c%e9%83%a8%e5%88%86/

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

相关推荐

  • 有个疑问?和实际开发无关的

    asterisk做为一个开源项目,主要见到的是使用php做应用开发。其他的很少,java都没看到几个. 这是为什么啊,? 难道php有什么地方合asterisk的胃口,还是因为elastix是php写的啊?

    文档 2022年 8月 26日
    1600
  • elastix 1.5.2 的mysql 升级错误

    看到elastix 1.5.2 的mysql 是5.0.45 我就想给升级到5.1.38 上mysql 网站,下载了MySQL-client-community-5.1.38-0.rhel5.i386.rpmMySQL-shared-community-5.1.38-0.rhel5.i386.rpmMySQL-devel-community-5.1.38-0…

    文档 2022年 8月 26日
    1200
  • 关于呼叫转移问题

    我用的elastix,现在遇到一个问题,现在有2部分机A和B,现在一个外呼进来打到A,然后告诉A是找B的,然后A按# #B,转B,但是B线路忙,可是这个时候A在转移后就自己挂断了。应该怎么解决这个问题?A在转移完后不挂机,如果B忙,呼叫又回到A。

    文档 2022年 8月 26日
    1200
  • 支持中国 ss7 下载

    这个链接是 最近更新的chan_ss7 , 代码已经加了支持中国的一些参数。所以在中国用不需要在大补丁了。1.1 版本:[url=http://www.dicea.dk/company/downloads]http://www.dicea.dk/company/downloads[/url]

    文档 2022年 8月 26日
    1000
  • 怎么实现asterisk 会议

    怎么样才可以实现多人通话,配置“会议”可以实现吗。。。应该怎么配呀。。。。

    文档 2022年 8月 26日
    1300

发表回复

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

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

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

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