I could successfully install the zaptel module in proxmox server.
This is a step by step instructions for it.
Installing zaptel module in proxmox server.
1)apt-get update
2)apt-get install pve-headers-2.6.24-7-pve
(This is very important)
This can take a while. You can grab yourself a cup of tea or coffee.
Next change to cd /usr/src
wget
http://downloads.asterisk.org/pub/te....4.12.1.tar.gz
Then
tar xvzf zaptel-1.4.12.1.tar.gz
Then
wget
http://downloads.asterisk.org/pub/te...current.tar.gz
tar xvzf zaptel-1.4-current.tar.gz
Then
Cd / zaptel-1.4.12.1
Then run ./configure
You will get gcc error and some other error.
You need to install gcc by typing
apt-get install gcc
Then
apt-get install make
And then finally….
./configure
will work
Then
Run the command “make”
Will work.
And lastly
Run the command “make install”
And then run
“make config”
Zaptel is now installed on proxmox server
Now at command prompt rum "modprobe ztdummy"
Then run
echo "ztdummy" >> /etc/modules
Finally you need to make sure that on
HN ztdummy kernel module is loaded and the access to /dev/zap/pseudo device file is granted to the container:
modprobe ztdummyvzctl set 250 --devnodes zap/pseudo:rw --save This will create /dev/zap/pseudo and /lib/udev/devices/zap/pseudo in your container. The group/owner will be root/root and the permissions will be 644. If you're running Asterisk under the asterisk user in your container, you will need to set the proper ownership for these devices in your VE. The /dev/zap devices are recreated whenever the container is restarted. The /lib/udev/devices/zap files are persistent. The key to only doing this once is to make sure you change the ownership in the VE of the /lib/udev/devices/zap files in addition to the /dev/zap files.
To set the necessary ownership in the VE:
vzctl exec 250 chown -R asterisk /dev/zap /lib/udev/devices/zap
vzctl exec 250 chgrp -R asterisk /dev/zap /lib/udev/devices/zap
I have done all this. But still meetme problem persists.
What am I missing.
I read somewhere to uninstall zaptel module from the VM.
I tried to uninstall zaptel but was unsuccessful.
How do I uninstall zaptel from the VM?