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 | + | 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: | |
<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! | |
− | + | if you need capi or/and zaptel/zaphfc: | |
− | * for capi: you need the /dev files on you | + | * 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*/ | ||
− | + | and in your vps config add for directly access: | |
− | |||
− | and in your | ||
<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 | + | 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) | |
<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]] |
− |