Open main menu

OpenVZ Virtuozzo Containers Wiki β

Editing Asterisk in container with Debian stable

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
Below is an example of how to install Asterisk into OpenVZ container based on Debian stable aka "Sarge".
+
Below is an example of how to install Asterisk into OpenVZ VE based on debian stable aka. "sarge":
  
 
<pre>
 
<pre>
Line 7: Line 7:
 
</pre>
 
</pre>
  
Change:
+
change:
 
<pre>
 
<pre>
 
RUNASTERISK=no -> yes
 
RUNASTERISK=no -> yes
Line 14: Line 14:
 
$ /etc/init.d/asterisk start
 
$ /etc/init.d/asterisk start
 
</pre>
 
</pre>
Modify the config files for asterisk, and done!
+
modify the config files for asterisk, and done!
  
If you need capi or/and zaptel/zaphfc:
+
if you need capi or/and zaptel/zaphfc:
  
* for capi: you need the /dev files on you [[host system]] and in container:
+
* for capi: you need the /dev files on you hw-node and vps:
 
<pre>
 
<pre>
 
crw-rw---- 1 root dialout 68, 0 Jan 3 2006 /dev/capi20
 
crw-rw---- 1 root dialout 68, 0 Jan 3 2006 /dev/capi20
Line 26: Line 26:
 
[...]
 
[...]
 
</pre>
 
</pre>
 +
/* if the files doesn' exist use mknod for creating it*/
  
''If the files doesn' exist use mknod for creating it.''
+
and in your vps config add for directly access:
 
 
and in your container config add for directly access:
 
 
<pre>
 
<pre>
 
DEVICES="c:68:0:rw, c:68:1:rw, c:68:2:rw"
 
DEVICES="c:68:0:rw, c:68:1:rw, c:68:2:rw"
 
</pre>
 
</pre>
 
 
* for zaptel/zaphfc:
 
* for zaptel/zaphfc:
 
<pre>
 
<pre>
Line 48: Line 46:
 
/* if the files doesn' exist use mknod for creating it*/
 
/* if the files doesn' exist use mknod for creating it*/
  
and in your container config
+
and in your vps config
 
<pre>
 
<pre>
 
DEVICES="c:196:0:rw, c:196:2:rw, c:196:1:rw, c:196:253:rw,c:196:254:rw,c:196:255:rw"
 
DEVICES="c:196:0:rw, c:196:2:rw, c:196:1:rw, c:196:253:rw,c:196:254:rw,c:196:255:rw"
 
</pre>
 
</pre>
  
* If need both (capi and zaphfc)
+
if need both (capi and zaphfc)
 
<pre>
 
<pre>
 
DEVICES="c:68:0:rw, c:68:1:rw, c:68:2:rw c:196:0:rw, c:196:2:rw, c:196:1:rw, c:196:253:rw,c:196:254:rw,c:196:255:rw"
 
DEVICES="c:68:0:rw, c:68:1:rw, c:68:2:rw c:196:0:rw, c:196:2:rw, c:196:1:rw, c:196:253:rw,c:196:254:rw,c:196:255:rw"
 
</pre>
 
</pre>
  
[[Category:HOWTO]]
+
[[category:HOWTO]]
[[Category:Debian]]
 

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)