On Wed, November 30, 2005 12:03, Alejandro Vargas said:
> 2005/11/29, Francesco Peeters <[EMAIL PROTECTED]>:
>> > try ztcfg -vvv
>> >      sleep 3
>> >      ztcfg -vvv
>> Also helpful is
>> cat /proc/zaptel/*
>
> This is what I see:
>
> [EMAIL PROTECTED] ~]# lsmod |grep zaptel
> zaptel                206724  7
> ztdummy,wctdm,wcfxo,wcte11xp,wct1xxp,wct4xxp,tor2
> crc_ccitt               2113  1 zaptel
> [EMAIL PROTECTED] etc]# rmmod ztdummy
> [EMAIL PROTECTED] etc]# modprobe zaphfc modes=1
> [EMAIL PROTECTED] etc]# ztconfig -vvv
> [EMAIL PROTECTED] etc]# ztcfg -vvv
>

You are running the HFC-PCI in NT mode. This means you have an ISDN
telephone connected to it, rather than using it to connect to the PSTN?

> Zaptel Configuration
> ====================SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
>
> Channel map:
>
> Channel 01: Clear channel (Default) (Slaves: 01)
> Channel 02: Clear channel (Default) (Slaves: 02)
> Channel 03: D-channel (Default) (Slaves: 03)
>
> 3 channels configured.
>
> Changing signalling on channel 1 from Unused to Clear channel
> ZT_CHANCONFIG failed on channel 1: Invalid argument (22)
> Did you forget that FXS interfaces are configured with FXO signalling
> and that FXO interfaces use FXS signalling?

What is in your /etc/asterisk/zapata.conf? I do not recall seeing that
info before in this thread...

> [EMAIL PROTECTED] ~]# cat /proc/zaptel/*
> Span 1: ZTHFC1 "HFC-S PCI A ISDN card 1 [NT]" AMI/CCS
>
>            1
>            2
>            3
>
> ----------------
> My zaptel.conf has this:
>
> span=1,1,3,ccs,ami
> bchan=1-2
> dchan=3

That is fine...
However zaptel clearly doesn't have any active channels, so asterisk will
break on that. What brand HFC-PCI card do you have, and did you apply the
Florz patch?

>
> Then, I try to start asterisk:
>
> [EMAIL PROTECTED] ~]# asterisk -c
> Asterisk 1.2.0, Copyright (C) 1999 - 2005 Digium.
> Written by Mark Spencer <[EMAIL PROTECTED]>
> ========================================================================[
> [EMAIL PROTECTED] ~]# Warning, flexibel rate not
> heavily tested!
> Ouch ... error while writing audio data: : Broken pipe
>
>
> [EMAIL PROTECTED] ~]# tail /var/log/asterisk/
> [...]
> 22] chan_zap.c: Unable to specify channel 1: No such device or address
> Nov 30 12:00:44 ERROR[3422] chan_zap.c: Unable to open channel 1: No
> such device or address
> here = 0, tmp->channel = 1, channel = 1
> Nov 30 12:00:44 ERROR[3422] chan_zap.c: Unable to register channel '1-2'
> Nov 30 12:00:44 WARNING[3422] loader.c: chan_zap.so: load_module
> failed, returning -1
> Nov 30 12:00:44 WARNING[3422] loader.c: Loading module chan_zap.so failed!
>

That is to be expected as no zap channels are available...

-- 
Francesco Peeters
----
GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to