Hi, I have installed Asterisk 1.4.20 on Debian Etch. The server has no telephony card installed, but I have anyhow installed Zaptel (Zaptel-1.4.9) in order to be able to use MeetMe. The Zaptel modules load normally. I obtain the following prompts: kerplunk:/# /etc/init.d/zaptel start Loading zaptel framework: done. Waiting for zap to come online...OK Loading zaptel hardware modules: ztdummy. Running ztcfg: done. I can confirm that Zaptel is loaded: kerplunk:/# lsmod | grep zaptel zaptel 184548 1 ztdummy crc_ccitt 2240 1 zaptel Anyhow, when I attempt to start Asterisk, I obtain the following: ======================================================================== == Parsing '/etc/asterisk/asterisk.conf':Found == Parsing '/etc/asterisk/extconfig.conf':Found == Parsing '/etc/asterisk/logger.conf':Found Asterisk Event Logger Started /var/log/asterisk/event_log [Nov 1 21:40:41] ERROR[1873]: asterisk.c:2954 main: Asterisk has detected a problem with your Zaptel configuration and will shutdown for your protection. You have options: 1. You only have to compile Zaptel support into Asterisk if you need it. One option is to recompile without Zaptel support. 2. You only have to load Zaptel drivers if you want to take advantage of Zaptel services. One option is to unload zaptel modules if you don't need them. 3. If you need Zaptel services, you must correctly configure Zaptel. Of course, because I have no Zaptel hardware I did not configure zaptel.conf. I really would not know what to configure. Ideas are welcome. Thanks in advance. Aldo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081101/23ff49c6/attachment.htm
> > Ideas are welcome. Thanks in advance. > > Aldo >Hi there, Try running "genzaptelconf -v" and restart asterisk. Here's what I have in /etc/zaptel.conf in order to have the MeetMe working. # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit # Zaptel Configuration File # # This file is parsed by the Zaptel Configurator, ztcfg # # It must be in the module loading order # Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: RTC) 1" (MASTER) # Global data loadzone = us defaultzone = us --- HTH Dobry> > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi to all, Thank you Dobry an Tzafrir for your answers. I agree with Tzafrir in the sense that ztdummy needs no configuration. Moreover, the .conf file generated by genzaptelconf does not contain any configuration at all for ztdummy (tonezone and defaultzone are the only uncommented text in it). I must also say that I have tried again with the current versions of Asterisk and Zaptel, with the same result. So I'm still wondering where the problem lies... Cordially, Aldo> Hi there, > > Try running "genzaptelconf -v" and restart asterisk. Here's what I have > in /etc/zaptel.conf in order to have the MeetMe working.-v doesn't change the output . zaptel.conf is not needed for ztdummy, as ztdummy does not handle spanconfig, start or whatever. It simply starts operating at the moment it is probed.> > # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit > # Zaptel Configuration File > # > # This file is parsed by the Zaptel Configurator, ztcfg > # > > # It must be in the module loading order > > > # Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: RTC) 1" (MASTER) > > # Global data > > loadzone = us > defaultzone = usThis thing might have been useful for zaptel channels, if you had any. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081102/e74ac0c5/attachment.htm
On Sat, Nov 01, 2008 at 11:03:09PM -0200, Aldo D. Sudak wrote:> Loading zaptel hardware modules: ztdummy. > Running ztcfg: done.There is no need to run ztcfg if you just want to use ztdummy. The call to ztcfg is probably just part of some standard init script. -- Stefan Tichy ( asterisk2 at pi4tel dot de )
Hi again, Thanks for your answer, Stefan. In fact, ztcfg is automatically running from the startup script. Anyhow this seems harmless and not the cause of the problem. I have confirmed this with two other Asterisk servers, both having a zaptel card installed in them, but one running the same Debian Etch OS as the troublesome machine, and the other one running Fedora Core 6. In both cases I restricted the zaptel modules loaded to just ztdummy and modified zaptel.conf in order not to configure anything. Then I restarted zaptel and attempted to start Asterisk. In the first case I obtained the same error message as I reported before. In the case of the machine running Fedora, Asterisk started normally (and it's worth to say that ztcfg does also automatically run in it). So it is apparent that the problem involves Debian. Greetings. Aldo Sudak>On Sat, Nov 01, 2008 at 11:03:09PM -0200, Aldo D. Sudak wrote: >> Loading zaptel hardware modules: ztdummy. >> Running ztcfg: done. > >There is no need to run ztcfg if you just want to use ztdummy. >The call to ztcfg is probably just part of some standard init script. > > >-- >Stefan Tichy ( asterisk2 at pi4tel dot de )-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081103/3f01b973/attachment.htm
Hi to all, The problem was finally solved by installing Asterisk-1.4.18. Versions 1.4.20 and current (1.4.22) produce the issue. Version 1.4.18 does not. May this be a bug? Aldo Sudak -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081104/fff00469/attachment.htm