keywords: ip pbx voip gateway gsm gateway

×

Notice

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

Help for FXS module

15 years 10 months ago #1266 by michael-chatty
Hello to all,
I've a asterisk 1.4.8 with zaptel 1.4.10 and module opvxa1200.
Asterisk start correctly but I don't have dial tone on analog phone; the telephone is on, the volts are ok.


This is the ztcfg output:

[code:1]
ztcfg -vvvv

Zaptel Version: 1.4.10
Echo Canceller: MG2
Configuration
======================


Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

4 channels to configure.

[/code:1]


This is the fxstest output:

[code:1]./fxstest /dev/zap/1 stats
TIP: -5.6400 Volts
RING: -54.1440 Volts
VBAT: -62.4160 Volts
[/code:1]


First try - the telephone ring but no tone:

[code:1]
./fxstest /dev/zap/1 ring
Ringing phone...
Phone is ringing...
[/code:1]


Second try - the telefone is off and:

[code:1]
./fxstest /dev/zap/1 ring
Ringing phone...
Unable to ring phone...
[/code:1]


fxstest output after second try:

[code:1]
./fxstest /dev/zap/1 stats
TIP: 0.0000 Volts
RING: 0.0000 Volts
VBAT: -75.5760 Volts
[/code:1]


Zaptel restart:

[code:1]
/etc/init.d/zaptel restart
Unloading zaptel hardware drivers:.
Loading zaptel framework: done.
Waiting for zap to come online...OK
Loading zaptel hardware modules: tor2.
wct4xxp.
wcte12xp.
wct1xxp.
wcte11xp.
wctdm24xxp.
wcfxo.
wctdm.
wcusb.
xpp_usb.
opvxa1200.
Running ztcfg: done.
[/code:1]


dmesg:

[code:1]
Freed a OpenVox A1200 card
usbcore: deregistering interface driver xpp_usb
usbcore: deregistering interface driver wcusb
Unregistered Tormenta2
Zapata Telephony Interface Unloaded
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.4.10
Zaptel Echo Canceller: MG2
Registered Tormenta2 PCI
usbcore: registered new interface driver wcusb
Wildcard USB FXS Interface driver registered
INFO-xpp: revision trunk-r5512 MAX_XPDS=64 (8*8)
INFO-xpp: FEATURE: without BRISTUFF support
INFO-xpp: FEATURE: with PROTOCOL_DEBUG
INFO-xpp: FEATURE: with ECHO_SUPPRESSION
INFO-xpp: FEATURE: without XPP_EC_CHUNK
INFO-xpp: FEATURE: with sync_tick() from ZAPTEL
INFO-xpp_usb: revision trunk-r5512
usbcore: registered new interface driver xpp_usb
OpenVox A1200P version: 1.2
OpenVox A1200P passed register test
Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXS/DPO
Module 2: Installed -- AUTO FXS/DPO
Module 3: Installed -- AUTO FXO (ITALY mode)
Module 4: Not installed
Module 5: Not installed
Module 6: Not installed
Module 7: Not installed
Module 8: Not installed
Module 9: Not installed
Module 10: Not installed
Module 11: Not installed
Found a OpenVox A1200P: Version 0.0 (4 modules)
Registered tone zone 11 (Italy)
[/code:1]


after restart zaptel I've the correct volts:

[code:1]
./fxstest /dev/zap/1 stats
TIP: -5.6400 Volts
RING: -54.1440 Volts
VBAT: -62.4160 Volts
[/code:1]


I don't have a sound card in this system, is a problem?
Can you help me?

My configurations are in attachment file.
Thank a lot. Bye.
Attachments:
15 years 10 months ago #1268 by miaolin
Your zapata.conf do not include any channels, please add some channel into it, or try to include the zapata-channels.conf into it.
15 years 10 months ago #1270 by michael-chatty
Hello, thank you for reply.
I have the include in my zapata.conf, look my config file.

[code:1]
[channels]
language=it

#include zapata-channels.conf
[/code:1]

I think that the A800P don't make an hungup and, at my second try, the module il busy. I've posted the fxstune result, in asterisk log I read:

first try:

[code:1]
localhost*CLI> console dial 6001
[Jun 22 09:28:06] WARNING[16372]: chan_oss.c:682 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
-- Executing [6001@default:1] NoOp("OSS/dsp", ""Call for "6001") in new stack
-- Executing [6001@default:2] Dial("OSS/dsp", "ZAP/1|60") in new stack
[Jun 22 09:28:06] WARNING[16375]: chan_zap.c:1829 zt_call: cidspill already exists??
-- Called 1
localhost*CLI> console hangup
-- Hungup 'Zap/1-1'
== Spawn extension (default, 6001, 2) exited non-zero on 'OSS/dsp'
<< Hangup on console >>
[/code:1]


second try:

[code:1]
localhost*CLI> console dial 6001
[Jun 22 09:28:32] WARNING[16372]: chan_oss.c:682 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
-- Executing [6001@default:1] NoOp("OSS/dsp", ""Call for "6001") in new stack
-- Executing [6001@default:2] Dial("OSS/dsp", "ZAP/1|60") in new stack
[Jun 22 09:28:32] WARNING[16381]: chan_zap.c:1867 zt_call: Unable to ring phone: Device or resource busy
-- Couldn't call 1
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (0:0/0/0)
-- Executing [6001@default:3] Congestion("OSS/dsp", "") in new stack
localhost*CLI> console hangup
== Spawn extension (default, 6001, 3) exited non-zero on 'OSS/dsp'
<< Hangup on console >>
[/code:1]

Thank you,
Dario.
15 years 10 months ago #1271 by james.zhu
hi:
can you show me your "zap show channels" from asterisk console?
regards!
James.zhu

15 years 10 months ago #1277 by miaolin
Please add my msn This email address is being protected from spambots. You need JavaScript enabled to view it. and have a date to debug it. I will online today.
Time to create page: 0.034 seconds
Powered by Kunena Forum