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

发布于 2022-08-17 00:25:06 字数 19567 浏览 11 评论 0

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

===Q32, A1200P "TRUNK Dial failed due to CONGESTION" Problem===
please refer this link:<br/>
http://www.openvox.cn/bbs/viewth ... &extra=page%3D1

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

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

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

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

===Q37, How do you report a problem===
In order to solve customer's problems very effective and efficiency,<br/>
when seeking a help from us, please give these information:<br/>
1) versions of kernel and Linux distribution<br/>
2) versions of asterisk and zaptel/dahdi<br/>
3) the name of cards used in your system<br/>
4) debug and error information from your system and asterisk<br/>
5) sending us zaptel(zaptel.conf and zapata.conf) or dahdi (system.conf and chan_dahdi.conf)<br/>
configuration files and extension.conf<br/>
6) after loading the driver, run the command: demsg and send the information to us<br/>
7) sending us the result of the command: cat /proc/interrupts<br/>
sending us the message of asterisk console when you making a call<br/>
9) inform the protocols you are using in your system<br/>
10) send us a working ssh account with root permission if you need us to check the system.<br/>
11) make a backup for your important files<br/>
12) describe  the problem in details<br/>

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

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

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

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

===Q42,check information of wctdm.ko/opvxa1200.ko ===
Under /lib/modules/2.6.18-128.el5/misc<br/>
run command: modinfo wctdm.ko, run modinfo opvxa1200 if checking opvxa1200<br/>
[root@bogon misc]# modinfo wctdm.ko<br/>
filename:       wctdm.ko<br/>
license:        GPL<br/>
alias:          wcfxs<br/>
author:         Mark Spencer <markster@digium.com><br/>
description:    Wildcard TDM400P Zaptel Driver<br/>
srcversion:     5E22C66ED4D5B1ADE573C83<br/>
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<br/>
vermagic:       2.6.18-128.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1<br/>
parm:           debug:int<br/>
parm:           loopcurrent:int<br/>
parm:           reversepolarity:int<br/>
parm:           robust:int<br/>
parm:           opermode:charp<br/>
parm:           timingonly:int<br/>
parm:           lowpower:int<br/>
parm:           boostringer:int<br/>
parm:           fastringer:int<br/>
parm:           fxshonormode:int<br/>
parm:           battdebounce:uint<br/>
parm:           battalarm:uint<br/>
parm:           battthresh:uint<br/>
parm:           ringdebounce:int<br/>
parm:           fwringdetect:int<br/>
parm:           alawoverride:int<br/>
parm:           fastpickup:int<br/>
parm:           fxotxgain:int<br/>
parm:           fxorxgain:int<br/>
parm:           fxstxgain:int<br/>
parm:           fxsrxgain:int<br/>
[root@bogon misc]# pwd<br/>
/lib/modules/2.6.18-128.el5/misc<br/>

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

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

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

===Q46, spinlock.h error with RHEL 4===
please refer this link:<br/>
http://forums.digium.com/viewtop ... 37576c7aa92518fe48b

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

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

===Q49, when compiling zaptel, error: You do not appear to have the sources for...===
please refer this:<br/>
http://forums.digium.com/viewtopic.php?t=7061<br/>
http://lists.digium.com/pipermai ... 07-June/189259.html

===Q50, Bug#439814: zaptel-source: oslec_echo_can_identify undefined symbol===
please refer this:<br/>
http://lists.alioth.debian.org/p ... -August/009225.html

===Q51, DID YOU REMEMBER TO PLUG IN THE HD POWER CABLE TO THE TDM400P?? ===
please check from here:<br/>
http://www.openvox.com.cn/bbs/vi ... f500d9c9ea7edb52bfb<br/>
http://www.openvox.cn/download/other_docs/A800P_A1200P_FAQ(Chinese).pdf

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

===Q53, Bug in Zaptel 1.2.20.1 and 1.4.5.1 - Only MG2 ===
please refer this:<br/>
http://trixbox.org/node/21080
http://www.rowetel.com/ucasterisk/oslec.html

===Q54, Howto: OSLEC echo canceling + DAHDI 2.1.0.4 + Asterisk 1.4 ===
please refer this:<br/>
http://www.asterisk.org/forum/vi ... dc698e89467c3d49a86

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

===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:<br/>
http://www.ainslie.org.uk/callerid/cli_faq.htm<br/>
http://www.asteriskguru.com/tutorials/calleridall_function.html<br/>
https://issues.asterisk.org/view.php?id=7787<br/>
http://asterisk.pbx.in/callerid-standards<br/>
http://kb.digium.com/entry/3/<br/>

===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.<br/>
edit the file under /asterisk-1.4.22、channels/chan_dahdi.c"  find this line<br/>
#ifdef DAHDI_CHECK_HOOKSTATE return 0;<br/>
#else return 1;<br/>
Change the "0" to a "1"<br/>
#ifdef DAHDI_CHECK_HOOKSTATE return 1;<br/>
#else return 1;<br/>

=== 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=yes busycount=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:
http://www.tech-faq.com/rj-11.shtml
http://en.wikipedia.org/wiki/RJ11,_RJ14,_RJ25

===Q65, Splitter for A1200P/A800P===

http://openvox.cn/products/show.php?itemid=120&lang=2

[ 本帖最后由 zhulizhong 于 2009-6-26 16:09 编辑 ]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文