[asterisk-users] PROBLEM MUSIC ON HOLD

Zeeshan Zakaria zishanov at gmail.com
Tue Aug 8 06:12:02 MST 2006


This is becasue the ztdummy drivers are not loaded. The procedure to load
them is as follows:


Switch to zaptel folder, i.e. type '/usr/src/zaptel-1.2.7'

Edit the file named Makefile. If using vi, type 'vi Makefile'

Search for ztdummy. To do so, type '/ztdummy' and press Enter key. It'll
take you right there. You'll see that there is a '#' typed before 'ztdummy'.
Press Insert on your keyboard, now you're in editing mode. Delete and '#'
before 'ztdummy'. Press Escape key on your keyboard, then type ':qw" and
press Enter key. The file is saved and you've left vi.

Rebuild zaptel by tyuping 'make clean; make linux26; make install'. Also do
'make config' after installation is done.

For more fine tuning, edit this zaptel file by typing 'vi
/etc/sysconfig/zaptel'. Here are the zaptel modules listed. If you don't
have any physical zaptel module, put a '#' before all the modules, except
'ztdummy' module. This step is optional, but recommended for saving some
system resources.

Reinstall Asterisk by switching to the /usr/src/asterisk directory and
typing 'make clean;make; make install; make config'

Reboot the computer by typing 'reboot'.

If everything has gone smooth without any errors, MoH and other features
which were not working before because of lack of a timer device, will start
working.

To check that ztdummy is loaded after reboot, give command 'lsmod' and see
if ztdummy and zaptel are listed under the 'Modules' column, and ztdummy
under the 'Used by' column in front of zaptel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060808/23e8c7b6/attachment.htm


More information about the asterisk-users mailing list