keywords: ip pbx voip gateway gsm gateway

×

Notice

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

来电显示 求助!!!

13 years 1 week ago #6863 by miclshui
1200P + elastix 2
无法来电显示
1.按照论坛的资料设置无法解决
patched callerid with A800P/A1200P
hello, all of users:
if you have a problem with callerid with DTMF format, please try to download the file and recompile your zaptel. there are few points you need to note:
i test it under zaptel-1.4.10 and asterisk 1.4.8. i think it should work under zaptel-1.4.9.2. what i do is patch three files:
1) wctdm.c for A400P // it is under /zaptel-1.4.XX/kernel
2) opvxa1200.c for A800P/A1200P // you must put it under zaptel-1.4.XX/kernel
3) chan_zap.c for asterisk-1.4.8 // this file is under asterisk/channels/
4) zapata.conf is for sample.
you can replace the chan_zap.c in asterisk source code , wctdm.c and put opvxa1200.c in zaptel/kernel
compiling zaptel in this way for A1200P/A800P
1) add opvxa1200 in topmodule(TOPDIR_MODULES:=) in Makefile
2) add opvxa1200.o: kernel/wctdm.h kernel/zaptel.h
find the line as below:
ztprovision.o: kernel/zaptel.h
ztmonitor.o: kernel/zaptel.h
opvxa1200.o: kernel/zaptel.h kernel/wctdm.h
ztspeed: CFLAGS=
3) If it is wctdm.c, you do not need do step 2, just ignore step 2. you replace original wctdm.c(under zaptel-1.4.XX/kernel) with the new patched wctdm.c.
4) run command: make, make install.
after rebooting it, you can edit the zaptel.conf and zapata.conf and load the module by:
1) you must change the two parameters in zapata.conf to this:
cidsignalling=dtmf
cidstart=polarity
ring
2) modprobe zaptel // load zaptel driver
3) modprobe opvxa1200 cidbeforering=1 ; if loading a400p, please change to wctdm cidbeforering=1
here, users must to know how the callerid has been sent:
if before first ring, no polarity sending, send cid,then first ring:
please set : cidbeforering=1
if after first ring then send cid, you have to set cidbeforering=1 cidbuflen=10
4) ztcfg -vvvvvvvvv
try to make calls, if can not display callerid, please:
1) modprobe -r opvxa1200
2) modprobe opvxa1200 cidbeforering=1 cidbuflen=10; load it again.
3) asterisk -vvvvvvvvvvgc
i post the zip file for you. it contains four files, please put those files in a right place. if you have any problem, please let me know!
Regards!
James.zhu


在/etc/dahdi/system.conf这个文件下:
修改成 loadzone=cn
defaultzone=cn
在/etc/asterisk/indications.conf这个文件下:
修改成 country=cn
在/etc/asterisk/chan_dahdi.conf这个文件下:
添加
usecallerid=yes
cidsignalling=dtmf
cidstart=polarity [cidstart=ring]

2.尝试下载 http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_dahdi-linux-complete-current.tar.gz 重新编译安装,也无法解决
13 years 1 week ago #6864 by miclshui
dmesg 出来的资料
pnp: PnP ACPI init
pnp: PnP ACPI: found 15 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
pnp: 00:01: iomem range 0xfed14000-0xfed19fff has been reserved
pnp: 00:08: ioport range 0xa00-0xa0f has been reserved
pnp: 00:08: ioport range 0xa10-0xa1f has been reserved
pnp: 00:08: ioport range 0xa20-0xa2f has been reserved
pnp: 00:08: ioport range 0xa30-0xa3f has been reserved
pnp: 00:09: iomem range 0xfed1c000-0xfed1ffff has been reserved
pnp: 00:09: iomem range 0xfed20000-0xfed8ffff has been reserved
pnp: 00:0b: iomem range 0xffc00000-0xfff7ffff has been reserved
pnp: 00:0c: iomem range 0xfec00000-0xfec00fff has been reserved
pnp: 00:0c: iomem range 0xfee00000-0xfee00fff could not be reserved
pnp: 00:0d: iomem range 0xe0000000-0xefffffff has been reserved
pnp: 00:0e: iomem range 0x0-0x9ffff could not be reserved
pnp: 00:0e: iomem range 0xc0000-0xcffff could not be reserved
pnp: 00:0e: iomem range 0xe0000-0xfffff could not be reserved
pnp: 00:0e: iomem range 0x100000-0x3f6fffff could not be reserved
PCI: Bridge: 0000:00:1c.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.1
IO window: d000-0000
MEM window: fea00000-00000000
PREFETCH window 0x00000000fdf00000-0x00000000fdffffff
PCI: Bridge: 0000:00:1e.0
IO window: e000-0000
MEM window: feb00000-00000000
PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 169
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.1 -> GSI 17 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:1c.1 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: disabled - APM is not SMP safe.
audit: initializing netlink socket (disabled)
type=2000 audit(1303072174.762:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
alg: No test for crc32c (crc32c-generic)
ksign: Installing public key data
Loading keyring
- Added public key F757F25E1424EA0E
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Boot video device is 0000:00:02.0
PCI: Setting latency timer of device 0000:00:1c.0 to 64
PCI: Setting latency timer of device 0000:00:1c.1 to 64
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI (exconfig-0456): Dynamic SSDT Load - OemId [DpgPmm] OemTableId [ P001Ist] [20060707]
ACPI (exconfig-0456): Dynamic SSDT Load - OemId [DpgPmm] OemTableId [ P002Ist] [20060707]
ACPI: Thermal Zone [THRM] (43 C)
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel G33 Chipset.
agpgart: Detected 7164K stolen memory.
agpgart: AGP aperture is 256M @ 0xd0000000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
brd: module loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 209
ICH7: chipset revision 1
ICH7: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: WDC WD3200AAJB-00TYA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: max request size: 512KiB
hda: 625142448 sectors (320072 MB) w/8192KiB Cache, CHS=38913/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
ACPI: (supports S0 S1 S3 S4 S5)
Initalizing network drop monitor service
Freeing unused kernel memory: 228k freed
Time: tsc clocksource has been installed.
Write protecting the kernel read-only data: 410k
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 217
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 217, io mem 0xfe977c00
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 217
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 217, io base 0x0000c880
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1 -> GSI 19 (level, low) -> IRQ 225
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 225, io base 0x0000c800
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 209
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 209, io base 0x0000c480
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 169
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 169, io base 0x0000c400
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
SCSI subsystem initialized
libata version 3.00 loaded.
ata_piix 0000:00:1f.2: version 2.12
ACPI: PCI Interrupt 0000:00:1f.2 -> GSI 19 (level, low) -> IRQ 225
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0xc080 ctl 0xc000 bmdma 0xb800 irq 225
ata2: SATA max UDMA/133 cmd 0xbc00 ctl 0xb880 bmdma 0xb808 irq 225
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: This email address is being protected from spambots. You need JavaScript enabled to view it.
device-mapper: dm-raid45: initialized v0.2594l
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
type=1404 audit(1303072198.800:2): selinux=0 auid=4294967295 ses=4294967295
input: PC Speaker as /class/input/input0
intel_rng: FWH not detected
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:02:00.0 to 64
eth0: RTL8102e at 0xf8a00000, 00:e0:4d:94:cf:25, XID 04a00000 IRQ 233
ACPI: PCI Interrupt 0000:00:1f.3 -> GSI 19 (level, low) -> IRQ 225
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 169
PCI: Setting latency timer of device 0000:00:1b.0 to 64
floppy0: no floppy controllers found
lp0: using parport0 (interrupt-driven).
lp0: console ready
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Mapper loaded
dell-wmi: No known WMI GUID found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: multipath: version 1.0.5 loaded
EXT3 FS on dm-0, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2064376k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1 across:2064376k
r8169: eth0: link up
r8169: eth0: link up
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.4.0
ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 17 (level, low) -> IRQ 177
before raise reset
OpenVox A1200P version: 1.2
OpenVox A1200P passed register test
Module 0: Installed -- AUTO FXO (CHINA mode)
Module 1: Installed -- AUTO FXO (CHINA mode)
Module 2: Installed -- AUTO FXO (CHINA mode)
Module 3: Installed -- AUTO FXO (CHINA mode)
Module 4: Installed -- AUTO FXO (CHINA mode)
Module 5: Installed -- AUTO FXO (CHINA mode)
Module 6: Installed -- AUTO FXO (CHINA mode)
Module 7: Installed -- AUTO FXO (CHINA mode)
Module 8: Installed -- AUTO FXO (CHINA mode)
Module 9: Installed -- AUTO FXO (CHINA mode)
Module 10: Installed -- AUTO FXO (CHINA mode)
Module 11: Installed -- AUTO FXO (CHINA mode)
Found an OpenVox A1200P: Version 1.2 (12 modules)
buffer sync misseed!
buffer re-sync occur from -1 to 3
dahdi: Registered tone zone 0 (United States / North America)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
r8169: eth0: link up
eth0: no IPv6 routers present
r8169: eth0: link up
eth0: no IPv6 routers present
r8169: eth0: link up
eth0: no IPv6 routers present
13 years 1 week ago #6865 by svolta
你好,
方便提供下ssh我帮你检查下吗?
13 years 1 week ago #6866 by miclshui
你好,已经pm给你了,麻烦你了
13 years 1 week ago #6867 by svolta
你好,麻烦你给下你pbx上面其中一条线的号码,我需要测试用,你可以加我MSN: This email address is being protected from spambots. You need JavaScript enabled to view it.
13 years 1 week ago #6870 by miclshui
你好,已经加你msn了
Time to create page: 0.051 seconds
Powered by Kunena Forum