Hello all I just checked out the latest zaptel/zapata/libpri/asterisk/asterisk-addons from the cvs and ran through the entire make procedures. Everything seemed to go fine however now when I attempt to start asterisk, it says ok but it seems to be immediately crashing. The following messages are displayed in my /var/log/asterisk/messages file for the time right around the crash: Dec 29 10:09:37 WARNING[1074395872]: File chan_zap.c, Line 7341 (setup_zap): Ignoring rxwink Dec 29 10:09:37 ERROR[1074395872]: File chan_zap.c, Line 5159 (mkintf): Unable to get span status: Inappropriate ioctl for device Dec 29 10:09:37 ERROR[1074395872]: File chan_zap.c, Line 7081 (setup_zap): Unable to register channel '1-23' Dec 29 10:09:37 WARNING[1074395872]: File loader.c, Line 312 (ast_load_resource): chan_zap.so: load_module failed, returning -1 Does anyone have any insight on this? Everything compiled fine and was working fine with my previous version of asterisk. Thanks AJ
try running ztcfg first At 09:26 29/12/2003 -0500, you wrote:>Hello all >I just checked out the latest >zaptel/zapata/libpri/asterisk/asterisk-addons from the cvs and ran through >the entire make procedures. Everything seemed to go fine however now when >I attempt to start asterisk, it says ok but it seems to be immediately >crashing. The following messages are displayed in my >/var/log/asterisk/messages file for the time right around the crash: >Dec 29 10:09:37 WARNING[1074395872]: File chan_zap.c, Line 7341 >(setup_zap): Ignoring rxwink >Dec 29 10:09:37 ERROR[1074395872]: File chan_zap.c, Line 5159 (mkintf): >Unable to get span status: Inappropriate ioctl for device >Dec 29 10:09:37 ERROR[1074395872]: File chan_zap.c, Line 7081 (setup_zap): >Unable to register channel '1-23' >Dec 29 10:09:37 WARNING[1074395872]: File loader.c, Line 312 >(ast_load_resource): chan_zap.so: load_module failed, returning -1 > >Does anyone have any insight on this? Everything compiled fine and was >working fine with my previous version of asterisk. >Thanks >AJ > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users
It has to do w/ your /etc/asterisk/Zapata.conf file. We need to know what your T1 configuration is. 24 FXS ports 12 FXO Ports/12 FXS and also it matters in what order. Tim Thompson Commercial Sales Engineer http://www.amatechtel.com (806) 722-2227 -----Original Message----- From: firedude@shorelinuxsolutions.com [mailto:firedude@shorelinuxsolutions.com] Sent: Monday, December 29, 2003 8:56 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] asterisk crash The only things uncommented in my /etc/zaptel.conf file are as follows: span=1,1,0,esf,b8zs span=2,0,0,esf,b8zs loadzone=us defaultzone=us On Mon, 29 Dec 2003, zoa wrote:> try running ztcfg first > > > > > At 09:26 29/12/2003 -0500, you wrote: > >Hello all > >I just checked out the latest > >zaptel/zapata/libpri/asterisk/asterisk-addons from the cvs and ranthrough> >the entire make procedures. Everything seemed to go fine however nowwhen> >I attempt to start asterisk, it says ok but it seems to beimmediately> >crashing. The following messages are displayed in my > >/var/log/asterisk/messages file for the time right around the crash: > >Dec 29 10:09:37 WARNING[1074395872]: File chan_zap.c, Line 7341 > >(setup_zap): Ignoring rxwink > >Dec 29 10:09:37 ERROR[1074395872]: File chan_zap.c, Line 5159(mkintf):> >Unable to get span status: Inappropriate ioctl for device > >Dec 29 10:09:37 ERROR[1074395872]: File chan_zap.c, Line 7081(setup_zap):> >Unable to register channel '1-23' > >Dec 29 10:09:37 WARNING[1074395872]: File loader.c, Line 312 > >(ast_load_resource): chan_zap.so: load_module failed, returning -1 > > > >Does anyone have any insight on this? Everything compiled fine andwas> >working fine with my previous version of asterisk. > >Thanks > >AJ > > > > > >_______________________________________________ > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
#/etc/zaptel.conf span=1,0,0,esf,b8zs fxoks=1-24 fxsks=25-26 loadzone=us defaultzone=us #/etc/asterisk/Zapata.conf signalling = fxo_ks context=default channel => 1-24 signalling = fxs_ks context=local channel => 25-26 See if you can follow this example. This is for 24 FXS ports (channels 1-24) and then there are 2 X100P FXO ports (channels 25 & 26) Tim Thompson Commercial Sales Engineer http://www.amatechtel.com (806) 722-2227 -----Original Message----- From: firedude@shorelinuxsolutions.com [mailto:firedude@shorelinuxsolutions.com] Sent: Monday, December 29, 2003 8:56 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] asterisk crash The only things uncommented in my /etc/zaptel.conf file are as follows: span=1,1,0,esf,b8zs span=2,0,0,esf,b8zs loadzone=us defaultzone=us On Mon, 29 Dec 2003, zoa wrote:> try running ztcfg first > > > > > At 09:26 29/12/2003 -0500, you wrote: > >Hello all > >I just checked out the latest > >zaptel/zapata/libpri/asterisk/asterisk-addons from the cvs and ranthrough> >the entire make procedures. Everything seemed to go fine however nowwhen> >I attempt to start asterisk, it says ok but it seems to beimmediately> >crashing. The following messages are displayed in my > >/var/log/asterisk/messages file for the time right around the crash: > >Dec 29 10:09:37 WARNING[1074395872]: File chan_zap.c, Line 7341 > >(setup_zap): Ignoring rxwink > >Dec 29 10:09:37 ERROR[1074395872]: File chan_zap.c, Line 5159(mkintf):> >Unable to get span status: Inappropriate ioctl for device > >Dec 29 10:09:37 ERROR[1074395872]: File chan_zap.c, Line 7081(setup_zap):> >Unable to register channel '1-23' > >Dec 29 10:09:37 WARNING[1074395872]: File loader.c, Line 312 > >(ast_load_resource): chan_zap.so: load_module failed, returning -1 > > > >Does anyone have any insight on this? Everything compiled fine andwas> >working fine with my previous version of asterisk. > >Thanks > >AJ > > > > > >_______________________________________________ > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Ok, I don't know what's up with this mailing list.. But I swear it's broken. Mail doesn't seem to get out to the list for hours, and this message never came through. I'll post again. Hi, I'm currently running CVS-HEAD 2005-09-03 I do plan to upgrade to the newest version, but need to do some testing with it first. In the mean time... does anyone know what these messages below are about? I've never seen it before, but when it happened it locked Asterisk up pretty good. Feb 10 10:16:51 DEBUG[14917] chan_zap.c: Echo cancellation already on Feb 10 10:16:57 DEBUG[14917] chan_zap.c: Exception on 14, channel 1 Feb 10 10:16:57 DEBUG[14917] chan_zap.c: Got event Dial Complete(9) on channel 1 (index 0) Feb 10 10:16:57 DEBUG[14917] chan_zap.c: Echo cancellation already on Feb 10 10:17:01 DEBUG[14917] chan_iax2.c: Peer lastms 3, historicms 3, maxms 2000 Feb 10 10:17:01 DEBUG[14917] chan_sip.c: Assigning Replace-Call-ID Info 7558c746-c6590...@192.168.2.100 to REPLACE_CALL_ID Feb 10 10:17:01 DEBUG[14917] chan_sip.c: 202 Accepted (supervised) Feb 10 10:17:01 DEBUG[14917] channel.c: Planning to masquerade channel Zap/2-1 into the structure of SIP/570601-8621 Feb 10 10:17:01 DEBUG[14917] channel.c: Done planning to masquerade channel Zap/2-1 into the structure of SIP/570601-8621 Feb 10 10:17:01 DEBUG[14917] channel.c: Got clone lock for masquerade on 'Zap/2-1' at 0x9e0d024 Feb 10 10:17:01 DEBUG[14917] chan_sip.c: update_call_counter(570601) - decrement call limit counter Feb 10 10:17:01 DEBUG[14917] channel.c: Putting channel Zap/2-1 in 4/4 formats Feb 10 10:17:01 DEBUG[14917] chan_zap.c: New owner for channel 2 is Zap/2-1 Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Updated conferencing on 2, with 0 conference users Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Updated conferencing on 2, with 0 conference users Feb 10 10:17:01 DEBUG[14917] channel.c: Released clone lock on 'SIP/570601-8621<ZOMBIE>' Feb 10 10:17:01 DEBUG[14917] channel.c: Done Masquerading Zap/2-1 (6) Feb 10 10:17:01 DEBUG[14917] channel.c: Didn't get a frame from channel: SIP/570601-8621<ZOMBIE> Feb 10 10:17:01 DEBUG[14917] channel.c: Bridge stops bridging channels SIP/570601-3ac4 and SIP/570601-8621<ZOMBIE> Feb 10 10:17:01 VERBOSE[14917] logger.c: -- Attempting native bridge of Zap/2-1 and Zap/1-1 Feb 10 10:17:01 DEBUG[14917] chan_zap.c: master: 2, slave: 1, nothingok: 0 Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Stopping tones on 2/0 talking to 1/0 Feb 10 10:17:01 DEBUG[14917] app_dial.c: Exiting with DIALSTATUS=ANSWER. Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Stopping tones on 1/0 talking to 2/0 Feb 10 10:17:01 VERBOSE[14917] logger.c: == Spawn extension (macro-dialout-trunk, s, 12) exited non-zero on 'SIP/570601-3ac4' in macro 'dialout-trunk' Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Making 1 slave to master 2 at 0 Feb 10 10:17:01 VERBOSE[14917] logger.c: == Spawn extension (from-internal, 18009033637, 1) exited non-zero on 'SIP/570601-3ac4' in macro 'dialout-trunk' Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Making 1 slave to master 2 at 0 Feb 10 10:17:01 VERBOSE[14917] logger.c: == Spawn extension (from-internal, 18009033637, 1) exited non-zero on 'SIP/570601-3ac4' Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Added 14 to conference 9/2 Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Added 15 to conference 9/1 Feb 10 10:17:01 VERBOSE[14917] logger.c: -- Executing Macro("SIP/570601-3ac4", "hangupcall") in new stack Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Updated conferencing on 2, with 0 conference users Feb 10 10:17:01 DEBUG[14917] chan_zap.c: Updated conferencing on 1, with 0 conference users Feb 10 10:17:01 VERBOSE[14917] logger.c: -- Executing ResetCDR("SIP/570601-3ac4", "w") in new stack Feb 10 10:17:01 VERBOSE[14917] logger.c: -- Executing NoCDR("SIP/570601-3ac4", "") in new stack Feb 10 10:17:01 VERBOSE[14917] logger.c: -- Executing Wait("SIP/570601-3ac4", "5") in new stack Feb 10 10:18:02 DEBUG[14917] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record. Feb 10 10:18:02 DEBUG[14917] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2006-02-10 10:14:29','18009033637','18009033637','8884664646','from-internal', 'SIP/570601-3ac4','Zap/2-1','ResetCDR','w',213,210,'ANSWERED',3,'72071') Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel 'SIP/570601-3ac4' already posted Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel 'SIP/570601-3ac4' already started Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel 'SIP/570601-3ac4' already posted Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel '<unknown>' lacks end Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel '<unknown>' lacks start Feb 10 10:18:02 DEBUG[14917] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record. Feb 10 10:18:02 DEBUG[14917] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('1969-12-31 19:00:00','','','','', '','','','',0,0,'UNKNOWN',0,'') Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel '<unknown>' lacks end Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel '<unknown>' lacks start Feb 10 10:18:02 VERBOSE[14917] logger.c: -- Executing NoCDR("Zap/2-1", "") in new stack Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel 'SIP/570601-8621' not posted Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel 'SIP/570601-8621' lacks end Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel '<unknown>' not posted Feb 10 10:18:02 WARNING[14917] cdr.c: CDR on channel '<unknown>' lacks end Feb 10 10:18:02 VERBOSE[14917] logger.c: -- Executing Wait("Zap/2-1", "5") in new stack