I was just looking to see if anyone else has seen this problem as well. When asterisk starts up it loads the zttranscode module. The problem exist when I use the init scripts to stop asterisk and then use the zaptel init script to unload modules. Since the zaptel init script didn't load the zttranscode module it will error out when trying to unload the modules. I built zaptel/asterisk/libpri (all latest releases as of May 3rd). I am also using the /etc/sysconfig/zaptel file to only specify the two modules I do need. wct4xxp and wctdm24xxp. I am using a TE212P and a TDM844B card. I shouldn't need the zttransode module since I don't have a codec translation card. right? To work around this I added zttranscode to RMODULES in the zaptel init script. If I don't need the zttranscode module. I may try and rebuild zaptel without it. -- *** Forrest Beck IAXTEL: 17002871718 jonforrest.beck@gmail.com
On Thu, May 03, 2007 at 08:38:10AM -0400, Forrest Beck wrote:> I was just looking to see if anyone else has seen this problem as well. > > When asterisk starts up it loads the zttranscode module. The problem > exist when I use the init scripts to stop asterisk and then use the > zaptel init script to unload modules. Since the zaptel init script > didn't load the zttranscode module it will error out when trying to > unload the modules. > > I built zaptel/asterisk/libpri (all latest releases as of May 3rd). I > am also using the /etc/sysconfig/zaptel file to only specify the two > modules I do need. wct4xxp and wctdm24xxp.Strangely enough, this issue exists in 1.4, but not in 1.2. Compare: http://svn.digium.com/svn/zaptel/branches/1.2/zaptel.init http://svn.digium.com/svn/zaptel/branches/1.4/zaptel.init Note the "unload_module" function in 1.2 (yicks: recursive functions in bourne shell)> > I am using a TE212P and a TDM844B card. I shouldn't need the > zttransode module since I don't have a codec translation card. right?Right. -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
In article <520425160705030538j9d06abag938a15e3bc68f466@mail.gmail.com>, Forrest Beck <jonforrest.beck@gmail.com> wrote:> I was just looking to see if anyone else has seen this problem as well. > > When asterisk starts up it loads the zttranscode module. The problem > exist when I use the init scripts to stop asterisk and then use the > zaptel init script to unload modules. Since the zaptel init script > didn't load the zttranscode module it will error out when trying to > unload the modules.The zttranscode module is getting loaded automatically by Linux when Asterisk tries to see whether there is a hardware transcoder. If you don't have a hardware transcoder, add the following line to /etc/asterisk/modules.conf: noload => codec_zap.so Then Asterisk won't try to access the transcoder device. Much cleaner. Of course, the init scripts should account for zttranscode as well. Cheers Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org