[Asterisk-Users] Re: chan_zap.so: load_module fails: Fedora Core 3: SMP

Tony Mountifield tony at softins.clara.co.uk
Sat May 7 00:55:01 MST 2005


In article <cd10de7705050507214349f607 at mail.gmail.com>,
Vamsi Pottangi <vamsipottangi at gmail.com> wrote:
> 
> I'm trying to install asterisk on Dell power edge 2800 running Fedora core 3.
> I don't have have any zaptel cards, so trying to use ztdummy.
> /dev/zap is successfuly created... but I see some problems while
> starting asterisk ... chan_zap fails to load.
> Can somebody please help me in overcoming this problem.
> I was able to run asterisk on other normal PCs running Fedora core 3.
> Is this something to do with SMP ? I compile zaptel using the link 
> to smp source code only.
> 
> lrwxrwxrwx   1 root root      34 May  5 21:22 linux-2.6 ->
> /lib/modules/2.6.9-1.667smp/source
> 
> May  5 21:43:55 VERBOSE[12931]:  [chan_zap.so]May  5 21:43:55
> VERBOSE[12931]:  [chan_zap.so] => (Zapata Telephony)
> May  5 21:43:55 DEBUG[12931]: Parsing /etc/asterisk/zapata.conf
> May  5 21:43:55 WARNING[12931]: Unable to specify channel 1: Device or
> resource busy
> May  5 21:43:55 ERROR[12931]: Unable to open channel 1: Device or resource busy
> here = 0, tmp->channel = 1, channel = 1
> May  5 21:43:55 ERROR[12931]: Unable to register channel '1'
> May  5 21:43:55 WARNING[12931]: chan_zap.so: load_module failed, returning -1
> May  5 21:43:55 DEBUG[12931]: Unregistering channel type 'Zap'
> May  5 21:43:55 VERBOSE[12931]:   == Unregistered channel type 'Zap'
> May  5 21:43:55 WARNING[12931]: Loading module chan_zap.so failed!

You need to edit zapata.conf. It evidently has a "channel => 1" directive
somewhere, but if you're using ztdummy I assume you have no zaptel hardware.

There should only be "channel" directives for hardware that exists, and
if you DO have zaptel hardware, you don't need ztdummy.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list