keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

求助!,,a800p摘机无拨号音或出现忙音

14 years 5 months ago #4275 by li1348
环境: centos5.3 + dahdi2.0.2 + asterisk1.6.1.6 (a800p - 8fxs)

问题1.服务器开机正常,打电话一段时间之后会出现某个口(不定)出现摘机无拨号音或忙音,此时dahdi show channels结果无异常,只有重启asterisk 服务才会恢复正常
问题2.core show hints 在挂机状态下一直显示Unavailable,没有idle
system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Fri Nov 27 18:17:04 2009
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: OPVXA1200/12 "OpenVox A1200P/A800P Board 13" (MASTER)
fxoks=1
echocanceller=mg2,1
fxoks=2
echocanceller=mg2,2
fxoks=3
echocanceller=mg2,3
fxoks=4
echocanceller=mg2,4
fxoks=5
echocanceller=mg2,5
fxoks=6
echocanceller=mg2,6
fxoks=7
echocanceller=mg2,7
fxoks=8
echocanceller=mg2,8
# Global data
loadzone = us
defaultzone = us

chan_dahdi.conf
;# Flash Operator Panel will parse this file for dahdi trunk buttons
;# AMPLABEL will be used for the display labels on the buttons
;# %c Dahdi Channel number
;# %n Line number
;# %N Line number, but restart counter
;# Example:
;# ;AMPLABEL:Channel %c - Button %n
;# For Dahdi/* buttons use the following
;# (where x=number of buttons to dislpay)
;# ;AMPWILDCARDLABEL(x):MyLabel

[channels]
language=cn
;context=from-pstn
;signalling=fxs_ks
;rxwink=300 ; Atlas seems to use long (250ms) winks
;usecallerid=yes
;hidecallerid=no
;callwaiting=yes
;usecallingpres=yes
;callwaitingcallerid=yes
;threewaycalling=yes
;transfer=yes
;canpark=yes
;cancallforward=yes
;callreturn=yes
;echocancel=yes
;echocancelwhenbridged=no
;faxdetect=incoming
;echotraining=800
;rxgain=0.0
;txgain=0.0
;callgroup=1
;pickupgroup=1
;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3

;immediate=no
; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf
; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
;context=from-pstn
;signalling=fxs_ks
;faxdetect=incoming
;usecallerid=yes
;echocancel=yes
;echocancelwhenbridged=no
;echotraining=800
;group=0
;channel=7-8

chan_dahdi_additional.conf
;;;;;;[8001]
signalling=fxo_ks
pickupgroup=
This email address is being protected from spambots. You need JavaScript enabled to view it.
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <8001>
busydetect=no
busycount=7
accountcode=
channel=>1
;;;;;;[8002]
signalling=fxo_ks
pickupgroup=
This email address is being protected from spambots. You need JavaScript enabled to view it.
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <8002>
busydetect=no
busycount=7
accountcode=
channel=>2
;;;;;;[8003]
signalling=fxo_ks
pickupgroup=
This email address is being protected from spambots. You need JavaScript enabled to view it.
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <8003>
busydetect=no
busycount=7
accountcode=
channel=>3
;;;;;;[8004]
signalling=fxo_ks
pickupgroup=
This email address is being protected from spambots. You need JavaScript enabled to view it.
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <8004>
busydetect=no
busycount=7
accountcode=
channel=>4
;;;;;;[8005]
signalling=fxo_ks
pickupgroup=
This email address is being protected from spambots. You need JavaScript enabled to view it.
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <8005>
busydetect=no
busycount=7
accountcode=
channel=>5
;;;;;;[8006]
signalling=fxo_ks
pickupgroup=
This email address is being protected from spambots. You need JavaScript enabled to view it.
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <8006>
busydetect=no
busycount=7
accountcode=
channel=>6
;;;;;;[8007]
signalling=fxo_ks
pickupgroup=
This email address is being protected from spambots. You need JavaScript enabled to view it.
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <8007>
busydetect=no
busycount=7
accountcode=
channel=>7
;;;;;;[8008]
signalling=fxo_ks
pickupgroup=
This email address is being protected from spambots. You need JavaScript enabled to view it.
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <8008>
busydetect=no
busycount=7
accountcode=
channel=>8

i] Last edited by li1348 at 2009-11-27 18:37 [/i
Attachments:
14 years 5 months ago #4276 by Robert
hello
i doubt that the interrupts for the card is not normal, please try to replug your card,
if it still does not work, please run:
cat /proc/interrupts
dahdi_test
and send the outputs to us.
14 years 5 months ago #4278 by li1348
I have replug my A800P, but the problom remain.
interrupts info:

CPU0
0: 71546109 IO-APIC-edge timer
1: 2 IO-APIC-edge i8042
6: 2 IO-APIC-edge floppy
7: 0 IO-APIC-edge parport0
8: 1 IO-APIC-edge rtc
9: 1 IO-APIC-level acpi
12: 4 IO-APIC-edge i8042
14: 350728 IO-APIC-edge ide0
177: 0 IO-APIC-level ehci_hcd:usb1
185: 0 IO-APIC-level uhci_hcd:usb2, uhci_hcd:usb4
193: 0 IO-APIC-level uhci_hcd:usb3
201: 12395235 IO-APIC-level eth0
209: 71494539 IO-APIC-level opvxa1200
217: 0 IO-APIC-level Intel ICH5
NMI: 0
LOC: 71548000
ERR: 0
MIS: 0


timer test
[root@MicroCC ~]# dahdi_test -c 400
Opened pseudo dahdi interface, measuring accuracy...
99.983% 99.980% 99.982% 99.982% 99.982% 99.982% 99.983% 99.982%
99.985% 99.978% 99.982% 99.982% 99.982% 99.982% 99.982% 99.982%
99.983% 99.981% 99.982% 99.982% 99.982% 99.983% 99.981% 99.985%
99.980% 99.982% 99.982% 99.983% 99.982% 99.982% 99.982% 99.982%
99.982% 99.982% 99.982% 99.982% 99.745% 99.710% 99.150% 99.114%
99.982% 99.982% 99.983% 99.982% 99.982% 99.982% 99.982% 99.982%
99.982% 99.982% 99.982% 99.983% 99.982% 99.282% 99.246% 99.983%
99.982% 99.982% 99.982% 99.983% 99.983% 99.984% 99.980% 99.982%
99.982% 99.982% 99.982% 99.982% 99.178% 99.142% 99.982% 99.982%
99.982% 99.982% 99.982% 99.982% 99.982% 99.982% 99.982% 99.983%
99.982% 99.984% 99.980% 99.984% 99.980% 99.982% 99.982% 99.985%
99.979% 99.982% 99.982% 99.982% 99.982% 99.982% 99.983% 99.982%
99.984% 99.979% 99.982% 99.982% 99.983% 99.982% 99.983% 99.982%
99.983% 99.982% 99.982% 99.982% 99.983% 99.990% 99.976% 99.988%
99.975% 99.982% 99.986% 99.978% 99.983% 99.983% 99.985% 99.982%
99.979% 99.982% 99.982% 99.982% 99.990% 99.975% 99.982% 99.982%
99.983% 99.981% 99.988% 99.977% 99.982% 99.982% 99.983% 99.989%
99.976% 99.982% 99.983% 99.983% 99.989% 99.976% 99.983% 99.982%
99.982% 99.982% 99.982% 99.983% 99.983% 99.982% 99.983% 99.982%
99.984% 99.981% 99.985% 99.982% 99.986% 99.980% 99.981% 99.978%
99.983% 99.985% 99.982% 99.983% 99.983% 99.980% 99.984% 99.983%
99.978% 99.982% 99.987% 99.980% 99.979% 99.987% 99.979% 99.981%
99.983% 99.984% 99.980% 99.982% 99.982% 99.982% 99.985% 99.979%
99.984% 99.979% 99.982% 99.986% 99.979% 99.982% 99.983% 99.985%
99.982% 99.979% 99.983% 99.986% 99.982% 99.979% 99.983% 99.982%
99.982% 99.982% 99.986% 99.978% 99.982% 99.983% 99.982% 99.985%
99.980% 99.982% 99.983% 99.993% 99.971% 99.990% 99.975% 99.982%
99.982% 99.982% 99.988% 99.976% 99.985% 99.980% 99.983% 99.982%
99.982% 99.982% 99.982% 99.985% 99.981% 99.985% 99.978% 99.989%
99.979% 99.981% 99.983% 99.979% 99.988% 99.965% 99.978% 99.982%
99.986% 99.984% 99.981% 99.978% 99.986% 99.979% 99.990% 99.979%
99.964% 99.924% 99.982% 99.982% 99.982% 99.985% 99.980% 99.983%
99.983% 99.982% 99.983% 99.983% 99.985% 99.979% 99.983% 99.982%
99.983% 99.982% 99.983% 99.982% 99.982% 99.983% 99.986% 99.979%
99.982% 99.982% 99.982% 99.989% 99.975% 99.983% 99.982% 99.983%
99.985% 99.979% 99.983% 99.983% 99.982% 99.987% 99.979% 99.982%
99.982% 99.982% 99.992% 99.975% 99.980% 99.983% 99.982% 99.986%
99.979% 99.982% 99.982% 99.982% 99.986% 99.979% 99.982% 99.984%
99.979% 99.079% 99.044% 99.981% 99.982% 99.982% 99.986% 99.979%
99.465% 99.429% 99.984% 99.981% 99.983% 99.987% 99.978% 99.988%
99.978% 99.982% 99.986% 99.979% 99.983% 99.984% 99.983% 99.979%
99.983% 99.982% 99.985% 99.979% 99.982% 99.983% 99.986% 99.978%
99.883% 99.847% 99.982% 99.985% 99.980% 99.983% 99.983% 99.983%
99.985% 99.330% 99.292% 99.984% 99.980% 99.987% 99.978% 99.982%
99.982% 99.985% 99.983% 99.980% 99.982% 99.983% 99.992% 99.974%
99.985% 99.982% 99.979% 99.986% 99.979% 99.938% 99.907% 99.978%
99.983% 99.986% 99.979% 99.982% 99.983% 99.982% 99.987% 99.982%
99.983% 99.977% 99.983% 99.987% 99.980% 99.980% 99.983% 99.983%
99.984% 99.985% 99.978% 99.985% 99.980% 99.982% 99.983%
--- Results after 391 passes ---
Best: 99.993 -- Worst: 99.044 -- Average: 99.956741, Difference: 99.982245

i] Last edited by li1348 at 2009-11-28 20:14 [/i
14 years 5 months ago #4283 by Joe.Yung
Hi,
你是来自中国大陆吗?如果是,那么system.conf里面的两个参数loadzone, defaultzone的值应设置成cn,而不是us.
另外,在chan_dahdi.conf文件里的usecallingpres的值把它设置成no. immedia设置成yes, 还有chan_dahdi_additional.conf里面所有分机的busydetect设置成yes.
对于你的第二个帖子,dahdi_test效果有点问题.你的硬件环境是什么?确定你的防火墙,ISDN,SELinux服务已经关闭。

Best Regards!
Joe.Yung

14 years 5 months ago #4297 by li1348
谢谢Joe.Yung的帮助! 非常感谢你的回复!

请问immedia是不是指的immediate,如果把immediate改成yes摘机不会等待拨号,asterisk 直接执行s exten,我无法拨号

我已经按照你的贴子改了loadzone,defaultzone,usecallingpres,busydetect.
immediate没有改,但是问题依然存在,

关于dahdi_test测试,
我的防火墙,SELinux已关闭,chkconfig --list也没有ISDN服务
硬件为dell品版机dimension 1100,配置如下:
Intel(R) Celeron(R) CPU 2.80GHz
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:01.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
内存512
硬盘wd 80G

我的msn:[email protected],如果可以,请加我,希望继续得到你的帮助
14 years 5 months ago #4298 by miaolin
如果只需要重新启动asterisk,而不是重新启动dahdi就能解决问题,通常换一个版本的asterisk就会好
Time to create page: 0.041 seconds
Powered by Kunena Forum