[Asterisk-Users] asterisk@home isdn

Francesco Peeters Francesco at FamPeeters.com
Wed Nov 30 05:14:35 MST 2005


On Wed, November 30, 2005 12:28, Alejandro Vargas said:
> 2005/11/29, Francesco Peeters <Francesco at fampeeters.com>:
>> Then add to a startup file like rc.local:
>> modprobe zaptel
>> modprobe zaphfc
>> ztcfg -vv
>
> I just made exactly as you sed: removed all bristuff, uncompressed it
> again, execuded download.sh, downloaded florz patch
> (zaphfc_0.3.0-PRE-1_florz-10.diff) and applied it, compiled zaphfc,
> cpied zaptel.conf to /etc and zapata.conf to /etc/asterisk, then:
>
> [root at asterisk1 zaphfc]# modprobe zaphfc
> [root at asterisk1 zaphfc]# modprobe zaptel
> [root at asterisk1 zaphfc]# ztcfg -vv
>

Wrong order: First zaptel, then zaphfc. Do an lsmod to verify both are
loaded before ztcfg

> 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.
>

Strange enough, this seems correct...

> ZT_SPANCONFIG failed on span 1: Invalid argument (22)

But this doesn't...

>
> (I still obtaining this error), then cat /proc/zaptel/* and the system
> hanged again.
>
>

That *might* be caused by the zaphfc not being loaded...

(PS: insmod may be better for zaphfc)

-- 
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.



More information about the asterisk-users mailing list