[Asterisk-Users] chan_zap.so error, asterisk stopped

Tzafrir Cohen tzafrir at cohens.org.il
Wed May 24 05:07:53 MST 2006


Hi

On Wed, May 24, 2006 at 12:16:16PM +0200, Shenen Shenen wrote:
> Hi!I've a problem with asterisk,it doesn't start..it's stopped..I used the
> amportal start command and this is the result:
> 
> SETTING FILE PERMISSIONS
> Permissions OK
> 
> STARTING ASTERISK
> Asterisk ended with exit status 1
> Asterisk died with code 1.
> Automatically restarting Asterisk.
> Asterisk ended with exit status 1
> Asterisk died with code 1.
> Automatically restarting Asterisk.
> 
> -----------------------------------------------------
> Asterisk could not start!
> Use 'tail /var/log/asterisk/full' to find out why.
> ---------------------------------------------------
> 
> if use the tail comand this is the result:
> 
> -----------------------------------------------------
> Asterisk could not start!
> Use 'tail /var/log/asterisk/full' to find out why.
> -----------------------------------------------------
> [root at asterisk_179 ~]# tail /var/log/asterisk/full
> May 23 04:06:36 VERBOSE[4327] logger.c:  [chan_features.so]May 23 04:06:36
> VERBO                                              SE[4327] logger.c:
> [chan_features.so] => (Feature Proxy Channel)
> May 23 04:06:36 VERBOSE[4327] logger.c:   == Registered channel type
> 'Feature' (                                              Feature Proxy
> Channel Driver)
> May 23 04:06:36 VERBOSE[4327] logger.c:  [chan_zap.so]May 23 04:06:36
> VERBOSE[43                                              27] logger.c:
> [chan_zap.so] => (Zapata Telephony w/PRI)
> May 23 04:06:36 VERBOSE[4327] logger.c:   == Parsing
> '/etc/asterisk/zapata.conf'                                              :
> May 23 04:06:36 VERBOSE[4327] logger.c:   == Parsing
> '/etc/asterisk/zapata.con                                              f':
> Found
> May 23 04:06:36 WARNING[4327] config.c: Unknown directive 'switchtype' at
> line 9                                               of zapata.conf
> May 23 04:06:36 WARNING[4327] config.c: Unknown directive 'overlapdial=yes'
> at l                                              ine 22 of zapata.conf
> May 23 04:06:36 ERROR[4327] chan_zap.c: Unknown signalling method
> 'bri_net_ptmp'
> May 23 04:06:36 ERROR[4327] chan_zap.c: Signalling must be specified before
> any                                               channels are.
> May 23 04:06:36 WARNING[4327] loader.c: chan_zap.so: load_module failed,
> returni                                              ng -1
> May 23 04:06:36 WARNING[4327] loader.c: Loading module chan_zap.so failed!
> 
> 
> I've a Digium Wildcard TE110P TE/E1 card 0 and in the /ect/zaptel.conf the
> configuration is the following:
> 
> # Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
> # Zaptel Configuration File

First off, there is a newer version of it in
http://svn.digium.com/svn/zaptel/trunk/xpp/genzaptelconf

That version can actually pick up your T1 card (bug reports are welcome)

> #
> # This file is parsed by the Zaptel Configurator, ztcfg
> #
> 
> # It must be in the module loading order
> 
> 
> # Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
> # channel 1, WCT1, unhandled for now
> # channel 2, WCT1, unhandled for now
> # channel 3, WCT1, unhandled for now
> # channel 4, WCT1, unhandled for now
> # channel 5, WCT1, unhandled for now
> # channel 6, WCT1, unhandled for now
> # channel 7, WCT1, unhandled for now
> # channel 8, WCT1, unhandled for now
> # channel 9, WCT1, unhandled for now
> # channel 10, WCT1, unhandled for now
> # channel 11, WCT1, unhandled for now
> # channel 12, WCT1, unhandled for now
> # channel 13, WCT1, unhandled for now
> # channel 14, WCT1, unhandled for now
> # channel 15, WCT1, unhandled for now
> # channel 16, WCT1, unhandled for now
> # channel 17, WCT1, unhandled for now
> # channel 18, WCT1, unhandled for now
> # channel 19, WCT1, unhandled for now
> # channel 20, WCT1, unhandled for now
> # channel 21, WCT1, unhandled for now
> # channel 22, WCT1, unhandled for now
> # channel 23, WCT1, unhandled for now
> # channel 24, WCT1, unhandled for now
> 
> # Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"
> 
> # Global data
> 
> loadzone        = us
> defaultzone     = us
> ~
> 
> in /var/aah_load/zaptel.conf I've this:
> 
> #
> # Zaptel Configuration File
> #
> # This file is parsed by the Zaptel Configurator, ztcfg
> 
> fxsks=1
> loadzone = us
> defaultzone=us

But here I see just a single X100P card. What hardware do you catually
have?

cat /proc/zaptel/*

> ~
> We're is the problem?HELP ME PLEASE!!!
> 10000000000000 thanks!!!

That sort of shouting generally gets you less and later naswers, BTW.

-- Tzafrir



More information about the asterisk-users mailing list