[asterisk-users] ztdummy
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Apr 3 11:58:46 CDT 2008
On Thu, Apr 03, 2008 at 04:45:27PM +0000, Tony Mountifield wrote:
> In article <47F50643.6000000 at pagestation.com>,
> Jerry Geis <geisj at pagestation.com> wrote:
> >
> > OK If I modprobe ztdummy then the RTC does start incrementing... to like
> > 9250. then stops...
> >
> > What now?
>
> Sounds like the module got auto-unloaded due to not being in use.
>
> I have found the most reliable way to invoke zaptel/ztdummy is using the
> proper init script:
>
> 1. In your zaptel source directory, do "make config". That will create
> /etc/rc.d/init.d/zaptel and the rcX.d links to it.
> 2. Likeewise, in your asterisk source directory, also do "make config"
> if you haven't already. That will create /etc/rc.d/init.d/asterisk and
> the rcX.d links.
All this machineray is not really required. All you need is to modprobe
ztdummy somewhere in the boot pcess . IIRC it can be even after asterisk
starts.
No real need to load any otyher modules. No need to run ztcfg. No need
to run anything else from the zaptel init.d script.
> 3. Do "chkconfig zaptel on" and "chkconfig asterisk on" just to be sure.
> 4. Do "service zaptel start". That will load the modules and do any
> configuration necessary. Try that and then watch /proc/interrupts.
> 5. Also do "service asterisk start".
> 6. When the system is booted up in future, zaptel and asterisk should
> automatically start.
--
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
More information about the asterisk-users
mailing list