OpenVZ Forum


Home » General » Support » Req: Anyone have a how-to or checklist for Asterisk inside VPS?
Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #4591 is a reply to message #4586] Sat, 15 July 2006 15:54 Go to previous messageGo to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

e.g. asterisk in vps with debian stable aka. "sarge"

$ apt-get install asterisk

$ nano /etc/defaults/asterisk

change:

RUNASTERISK=no -> yes
AST_REALTIME=yes -> no (for realtime, you need

$ /etc/init.d/asterisk start

modify the config files for asterisk, and done! Wink

if you need capi or/and zaptel/zaphfc:

* for capi: you need the /dev files on you hw-node and vps:

crw-rw---- 1 root dialout 68, 0 Jan 3 2006 /dev/capi20
crw-rw---- 1 root dialout 68, 1 Jan 3 2006 /dev/capi20.00
crw-rw---- 1 root dialout 68, 2 Jan 3 2006 /dev/capi20.01
crw-rw---- 1 root dialout 68, 3 Jan 3 2006 /dev/capi20.02
[...]
/* if the files doesn' exist use mknod for creating it*/

and in your vps config add for directly access:
DEVICES="c:68:0:rw, c:68:1:rw, c:68:2:rw"

* for zaptel/zaphfc:

crw-rw---- 1 root dialout 196, 0 Jan 4 2006 ctl
crw-rw---- 1 root dialout 196, 1 Jan 4 2006 1
crw-rw---- 1 root dialout 196, 2 Jan 4 2006 2
crw-rw---- 1 root dialout 196, 3 Jan 4 2006 3
crw-rw---- 1 root dialout 196, 4 Jan 4 2006 4
[...]
crw-rw---- 1 root dialout 196, 253 Jan 4 2006 timer
crw-rw---- 1 root dialout 196, 255 Jan 4 2006 pseudo
crw-rw---- 1 root dialout 196, 254 Jan 4 2006 channel

/* if the files doesn' exist use mknod for creating it*/

and in your vps config
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"

if need both (capi and zaphfc)
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"

Regards,
Thorsten
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem while installing template on ALT Linux
Next Topic: My General Plan, am I nuts?
Goto Forum:
  


Current Time: Fri Jul 19 08:17:30 GMT 2024

Total time taken to generate the page: 0.02425 seconds