Philip A. Prindeville wrote: > Cleveland Electronic Services wrote: > >> Hi Mart, >> >> Finally I have a breakthrough of sorts problem description below, I had to >> compare some of my other unflavoured Asterisk installations & notes here is >> what I had to get it working, hope this helps someone else. >> >> I had to run the following at root. >> ---------------------------------------- >> pbx ~ # service zaptel start >> No Zap hardware - loading ztdummy >> ---------------------------------------- >> pbx ~ # modprobe zaptel >> >> you should not have any errors or output >> ---------------------------------------- >> pbx ~ # lsmod | grep zaptel >> >> output as follows >> >> zaptel 196516 1 ztdummy >> hdlc 6180 1 zaptel >> ppp_generic 25428 1 zaptel >> ----------------------------------------- >> pbx ~ # modprobe ztdummy >> >> you should not have any errors or output >> ----------------------------------------- >> pbx ~ # lsmod | grep ztdummy >> >> output as follows >> >> ztdummy 4680 0 >> zaptel 196516 1 ztdummy >> rtc 12336 1 ztdummy >> ----------------------------------------- >> pbx ~ # modprobe wctdm >> >> you should not have any errors or output >> ----------------------------------------- >> pbx ~ # /sbin/ztcfg -vv >> ***************************************** >> Notice: Configuration file is /etc/zaptel.conf >> line 0: Unable to open configuration file '/etc/zaptel.conf' >> >> 1 error(s) detected >> ************************************************************ >> What the above told me was that I did not have zaptel.conf (it was in >> mnt/kd) in the right place, I moved zaptel.conf to (/etc/zaptel.conf) >> And ran the command again. >> >> pbx ~ # /sbin/ztcfg -vv >> >> output as follows >> >> Zaptel Version: 1.4.12.1 >> Echo Canceller: MG2 >> Configuration >> ====================== >> >> >> Channel map: >> >> Channel 01: FXS Kewlstart (Default) (Slaves: 01) >> Channel 02: FXS Kewlstart (Default) (Slaves: 02) >> >> 2 channels to configure. >> >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> >> Works ok till you do a reboot and then things all go pear shape again, I to >> rerun he above wonder what's going on here. >> >> Cheers >> >> Cleve Jansen >> >> > > > The correct place *is* /mnt/kd/zaptel.conf. Put the file back. > > Run: > > # /etc/init.d/zaptel stop > # /etc/init.d/zaptel init > > This should fix your problem. Normally you would have had to reboot > after creating/modifying the /mnt/kd/zaptel.conf file. I just gave you > the two magic commands that happen at boot time to install and parse the > file. > > -Philip >
Doh. And I forgot to preface all of that with: gen-rc-conf after making the edits. -Philip ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.