asterisk jobs
2012-Jan-16 18:41 UTC
[asterisk-users] How does Digium Repo install Dahdi on a virtual container while I can't do the same trying from source install?
Hello, I can do simple, "yum install asterisk18-*" and it installs Asterisk and Dahdi-tools/Dahdi-Linux on my OpenVZ container. Everything runs well and smooth. However, if I want to compile dahdi-linux on the same openvz then I get the error, *"You do not appear to have the source for the 2.6.32-4-pve kernel installed".* * * 1- Based on above error and Google search I have concluded that dahdi-linux module should be installed on mother node. So, I am puzzled. How does Digium yum repository achive this without acessing the mother node? 2- Do I even need Dahdi, if the server doesn't connect to PSTN at all and it's all SIP? If yes, what do I need it for? Any feedback is much appreciated. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120116/71fcb241/attachment.htm>
Russ Meyerriecks
2012-Jan-16 18:47 UTC
[asterisk-users] How does Digium Repo install Dahdi on a virtual container while I can't do the same trying from source install?
On Mon, Jan 16, 2012 at 01:41:30PM -0500, asterisk jobs wrote:> 1- Based on above error and Google search I have concluded that dahdi-linux > module should be installed on mother node. So, I am puzzled. How does > Digium yum repository achive this without acessing the mother node?The repo files are pre-compiled and do not require the kernel headers. If you wish to compile dahdi from source, you'll need access to the same headers your VM is running.> > 2- Do I even need Dahdi, if the server doesn't connect to PSTN at all and > it's all SIP? If yes, what do I need it for?Dahdi is a set of drivers for telephony hardware. You won't need it for pure sip Asterisk implementations. -- Russ Meyerriecks Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA direct: +1 256-428-6025 Check us out at: www.digium.com & www.asterisk.org
Johan Wilfer
2012-Jan-16 19:11 UTC
[asterisk-users] How does Digium Repo install Dahdi on a virtual container while I can't do the same trying from source install?
2012-01-16 19:41, asterisk jobs skrev:> Hello, > > I can do simple, "yum install asterisk18-*" and it installs Asterisk > and Dahdi-tools/Dahdi-Linux on my OpenVZ container. Everything runs > well and smooth. > > However, if I want to compile dahdi-linux on the same openvz then I > get the error, /*"You do not appear to have the source for the > 2.6.32-4-pve kernel installed".*/ > /* > */ > 1- Based on above error and Google search I have concluded that > dahdi-linux module should be installed on mother node. So, I am > puzzled. How does Digium yum repository achive this without acessing > the mother node? > > 2- Do I even need Dahdi, if the server doesn't connect to PSTN at all > and it's all SIP? If yes, what do I need it for? >I've just installed a new server with OpenVZ. And as others has explained you will need Dahdi for Meetme among other things. You will need to install dahdi-complete on the Hardware node, and the kernel sources. ( Debian: apt-get install linux-headers-`uname -r` ) In the VE conf-file you will need the following line for the VE to access Dahdi: DEVNODES="dahdi/channel:rw dahdi/ctl:rw dahdi/pseudo:rw dahdi/timer:rw" In the VE, compile and install dahdi-complete, then build and install asterisk. -- Med v?nlig h?lsning Johan Wilfer email: johan at jttech.se JT Tech | Utvecklare webb: http://jttech.se direkt: +46 31 380 91 01 support: +46 31 380 91 00 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120116/cbf9addd/attachment.htm>