OpenVZ Forum


Home » General » Support » Req: Anyone have a how-to or checklist for Asterisk inside VPS?
Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #2151] Wed, 22 March 2006 17:12 Go to next message
jdonalds is currently offline  jdonalds
Messages: 9
Registered: March 2006
Location: Michigan, US
Junior Member
I am trying to slog my way through getting Asterisk installed inside a VPS, anyone got this working???

Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #2170 is a reply to message #2151] Thu, 23 March 2006 16:12 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

maybe I'm wrong, but AFAIR someone already installed it or asked something about it. Try to dig forum. If not, we will be glad to help with it if you encounter any problems.

Is Asterisk something for VoIP?


http://static.openvz.org/userbars/openvz-developer.png
Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #2171 is a reply to message #2170] Thu, 23 March 2006 16:16 Go to previous messageGo to next message
jdonalds is currently offline  jdonalds
Messages: 9
Registered: March 2006
Location: Michigan, US
Junior Member
Yes. Asterisk is a SIP based softpbx for VoIP. I just got it running last night in a VPS. I will post a howto later this week...

Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #4578 is a reply to message #2151] Sat, 15 July 2006 04:59 Go to previous messageGo to next message
wyndryder is currently offline  wyndryder
Messages: 35
Registered: June 2006
Member
Hello, did you ever get that how-to up?
Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #4586 is a reply to message #4578] Sat, 15 July 2006 11:12 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

If jdonalds don't reply feel free to ask for help. We can write a HOWTO togerther then Smile


http://static.openvz.org/userbars/openvz-developer.png
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 next 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
Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #4597 is a reply to message #4591] Mon, 17 July 2006 08:09 Go to previous messageGo to next message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
Added to wiki:
http://wiki.openvz.org/Asterisk_in_VE_with_debian_stable

Feel free to edit.


http://static.openvz.org/openvz_userbar_en.gif
Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #4621 is a reply to message #4591] Tue, 18 July 2006 17:08 Go to previous messageGo to next message
rollinw is currently offline  rollinw
Messages: 25
Registered: June 2006
Location: Santa Barbara, California
Junior Member
Hi Thorsten,

Perhaps you have a newer version of asterisk. In my version, if one wants to use a telephone line input (zapata/zaptel), then it is necessary to create /dev/zap directories, in which case, these would also need to be managed by the VE and given access through DEVICES. If the PBX is doing only VoIP (SIP, etc.) then this may not be necessary.

Based on other posts, I would think that a VE-based Asterisk system would have a problem handling audio devices. Do you have any experience in this area?

Regards,
rollinw
Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #4854 is a reply to message #4621] Sat, 29 July 2006 12:54 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

sorry for this delayed reply,

@rollinw:

What kind of problems do you mean ?
Connect to audio hw device through alsa or oss ?

Regards,
Thorsten
Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #4870 is a reply to message #4854] Mon, 31 July 2006 22:56 Go to previous messageGo to next message
rollinw is currently offline  rollinw
Messages: 25
Registered: June 2006
Location: Santa Barbara, California
Junior Member
Thorsten

If the audio card/chip is passed to the VE to manage exclusively, this arrangement will work OK, I guess. Audio hardware is not the kind of resource that can be successfully shared among multiple VEs, since it performs realtime processing.

rollinw
Re: Req: Anyone have a how-to or checklist for Asterisk inside VPS? [message #9200 is a reply to message #4870] Thu, 21 December 2006 22:10 Go to previous message
johan_hammy is currently offline  johan_hammy
Messages: 99
Registered: December 2005
Member
For a pure VoIP implementation, this wouldn't be a concern. I am unsure how this would affect a zaptel implementation. Anything else is fairly obscure and is hard to say if it'll even come up.
Previous Topic: Problem while installing template on ALT Linux
Next Topic: My General Plan, am I nuts?
Goto Forum:
  


Current Time: Thu Jul 18 22:28:48 GMT 2024

Total time taken to generate the page: 0.02564 seconds