I recall reading somewhere under "cool Xen setups" that someone had a domU with the asterisk@home system. They said they built the domU "manually". Anyone have any idea how you could take a bootable CD linux distro, and "manually make" a domU out of it??? TIA, marshall _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 4/8/06, rabbtux rabbtux <rabbtux@gmail.com> wrote:> I recall reading somewhere under "cool Xen setups" that someone had a domU > with the asterisk@home system. They said they built the domU "manually". > Anyone have any idea how you could take a bootable CD linux distro, and > "manually make" a domU out of it???I imagine you''re talking about me. I actually don''t run asterisk@home any more, I switched over to a normal asterisk setup on Ubuntu in a domU. But what I did was install CentOS (3 at the time, not sure what asterisk@home uses now) with rpmstrap into a domU. Then I downloaded the asterisk@home sources (the tar.gz instead of the ISO). There is a install script that downloads and compiles the entire asterisk@home system. I had to make some tweaks to get it to work (trial and error mainly), but that''s how I did it. Dave -- David Muench - davemuench@gmail.com Jabber/Google Talk: davemuench@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 4/8/06, Ryan Burke <burke@tailorhosting.com> wrote:> Are you using any Zaptel hardware in your Asterisk install?No, and I think that may be part of the key to my success with it. I am using the ztdummy driver though. I''m also still using Xen 2.0.7. Haven''t had time to try out 3.0.2 yet. I am going to need a FXS port in the near future, and I''m torn between trying to get a FXS card to work vs. getting an ATA like device to stay away from the zaptel drivers. I can''t recall seeing anyone successfully using zaptel hardware under xen in a domU, but I might of just missed it. Dave -- David Muench - davemuench@gmail.com Jabber/Google Talk: davemuench@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Cianfarani
2006-Apr-08 16:40 UTC
RE: [Xen-users] Building asterisk@home domU manually?
I''ve gone the same route as you dave and using only ztdummy. To do this and make it work you also need to recompile the Dom0/U kernel for 1000hz timing. Dave do you notice any small chops in the voice quality? Have you had to change sched-sedf parameters? Ryan it should be pretty easy to install the A@H into a DomU. Once you get a domU running (preferably CentOS since that''s what A@H uses) make sure the GPG key is installed with "rpm --import /usr/share/doc/centos-release-4/RPM-GPG-KEY" and make sure you can install update packages with yum. Then just download the tar.gz a@h file instead of the .iso file. Inside the .tar.gz the ReleaseNotes.txt shows instructions Here is a brief copy and paste: disable SELINUX (edit /etc/selinux/config) Make a directory to install from and put the install file there mkdir /var/aah_load cp asteriskathome-2.7.tar.gz /var/aah_load cd /var/aah_load Untar the file install file tar xvfz asteriskathome-2.7.tar.gz Install ./install.sh Hope that helps Thanks John Cianfarani -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of David Muench Sent: Saturday, April 08, 2006 11:19 AM To: Ryan Burke Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Building asterisk@home domU manually? On 4/8/06, Ryan Burke <burke@tailorhosting.com> wrote:> Are you using any Zaptel hardware in your Asterisk install?No, and I think that may be part of the key to my success with it. I am using the ztdummy driver though. I''m also still using Xen 2.0.7. Haven''t had time to try out 3.0.2 yet. I am going to need a FXS port in the near future, and I''m torn between trying to get a FXS card to work vs. getting an ATA like device to stay away from the zaptel drivers. I can''t recall seeing anyone successfully using zaptel hardware under xen in a domU, but I might of just missed it. Dave -- David Muench - davemuench@gmail.com Jabber/Google Talk: davemuench@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John, Thanks for the info. I have Asterisk 1.2.6 running just fine with only VoIP. The problem I had was getting the Zaptel hardware detected in the DomU. I never figured it out. But if I load a Dom0 then it works. So it is possible, I was just looking for a way to do it in a non-privileged DomU. Ryan ----- Original Message ----- From: "John Cianfarani" <jcianfarani@rogers.com> To: "David Muench" <davemuench@gmail.com>; "Ryan Burke" <burke@tailorhosting.com> Cc: <xen-users@lists.xensource.com> Sent: Saturday, April 08, 2006 11:40 AM Subject: RE: [Xen-users] Building asterisk@home domU manually? I''ve gone the same route as you dave and using only ztdummy. To do this and make it work you also need to recompile the Dom0/U kernel for 1000hz timing. Dave do you notice any small chops in the voice quality? Have you had to change sched-sedf parameters? Ryan it should be pretty easy to install the A@H into a DomU. Once you get a domU running (preferably CentOS since that''s what A@H uses) make sure the GPG key is installed with "rpm --import /usr/share/doc/centos-release-4/RPM-GPG-KEY" and make sure you can install update packages with yum. Then just download the tar.gz a@h file instead of the .iso file. Inside the .tar.gz the ReleaseNotes.txt shows instructions Here is a brief copy and paste: disable SELINUX (edit /etc/selinux/config) Make a directory to install from and put the install file there mkdir /var/aah_load cp asteriskathome-2.7.tar.gz /var/aah_load cd /var/aah_load Untar the file install file tar xvfz asteriskathome-2.7.tar.gz Install ./install.sh Hope that helps Thanks John Cianfarani -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of David Muench Sent: Saturday, April 08, 2006 11:19 AM To: Ryan Burke Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Building asterisk@home domU manually? On 4/8/06, Ryan Burke <burke@tailorhosting.com> wrote:> Are you using any Zaptel hardware in your Asterisk install?No, and I think that may be part of the key to my success with it. I am using the ztdummy driver though. I''m also still using Xen 2.0.7. Haven''t had time to try out 3.0.2 yet. I am going to need a FXS port in the near future, and I''m torn between trying to get a FXS card to work vs. getting an ATA like device to stay away from the zaptel drivers. I can''t recall seeing anyone successfully using zaptel hardware under xen in a domU, but I might of just missed it. Dave -- David Muench - davemuench@gmail.com Jabber/Google Talk: davemuench@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 4/8/06, John Cianfarani <jcianfarani@rogers.com> wrote:> I''ve gone the same route as you dave and using only ztdummy. > To do this and make it work you also need to recompile the Dom0/U kernel > for 1000hz timing. > > Dave do you notice any small chops in the voice quality? Have you had to > change sched-sedf parameters?No, the voice quality is perfect here. I''m using voicepulse connect as my IAX provider. No scheduler tweaks, and I am running the hypervisor and just the asterisk domU as 1000hz (dom0 and the rest of the domU''s are still 100hz). Dave -- David Muench - davemuench@gmail.com Jabber/Google Talk: davemuench@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Lyra
2006-Apr-08 17:22 UTC
Re: [Xen-users] Building asterisk@home domU manually?
Hi, On 4/8/06, David Muench <davemuench@gmail.com> wrote:> > On 4/8/06, Ryan Burke <burke@tailorhosting.com> wrote: > > Are you using any Zaptel hardware in your Asterisk install? > > No, and I think that may be part of the key to my success with it. II have. when I first tried xen 3, there was no support for pcipasstrought. So, I got the xen-unstable via mercurial. And it worked really fine. My DomU with asterisk is working like a awnser machine. The only problem that I found is with music-on-hold. The music seems to be playing at a much slower speed. I guess that this has something to do with the RTC/timers on DomU. BTW... I got the sources from freepbx project, since I would like to have a web frontend. Christian Lyra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Cianfarani
2006-Apr-08 17:30 UTC
RE: [Xen-users] Building asterisk@home domU manually?
Hmm maybe that is my issue. I will try to put the dom0 back to 100hz. I figured it was also required. Thanks John -----Original Message----- From: David Muench [mailto:davemuench@gmail.com] Sent: Saturday, April 08, 2006 12:55 PM To: John Cianfarani Cc: Ryan Burke; xen-users@lists.xensource.com Subject: Re: [Xen-users] Building asterisk@home domU manually? On 4/8/06, John Cianfarani <jcianfarani@rogers.com> wrote:> I''ve gone the same route as you dave and using only ztdummy. > To do this and make it work you also need to recompile the Dom0/Ukernel> for 1000hz timing. > > Dave do you notice any small chops in the voice quality? Have you hadto> change sched-sedf parameters?No, the voice quality is perfect here. I''m using voicepulse connect as my IAX provider. No scheduler tweaks, and I am running the hypervisor and just the asterisk domU as 1000hz (dom0 and the rest of the domU''s are still 100hz). Dave -- David Muench - davemuench@gmail.com Jabber/Google Talk: davemuench@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Cianfarani
2006-Apr-08 17:34 UTC
RE: [Xen-users] Building asterisk@home domU manually?
For any physical hardware I''ve been looking to go to an external device to do it and then connect it back to asterisk via sip. Currently I''m looking at Vegastream (they seem to have a wide array of hardware but it''s been rather difficult to get any at the moment) Thanks John -----Original Message----- From: Ryan Burke [mailto:burke@tailorhosting.com] Sent: Saturday, April 08, 2006 12:55 PM To: John Cianfarani; David Muench Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Building asterisk@home domU manually? John, Thanks for the info. I have Asterisk 1.2.6 running just fine with only VoIP. The problem I had was getting the Zaptel hardware detected in the DomU. I never figured it out. But if I load a Dom0 then it works. So it is possible, I was just looking for a way to do it in a non-privileged DomU. Ryan ----- Original Message ----- From: "John Cianfarani" <jcianfarani@rogers.com> To: "David Muench" <davemuench@gmail.com>; "Ryan Burke" <burke@tailorhosting.com> Cc: <xen-users@lists.xensource.com> Sent: Saturday, April 08, 2006 11:40 AM Subject: RE: [Xen-users] Building asterisk@home domU manually? I''ve gone the same route as you dave and using only ztdummy. To do this and make it work you also need to recompile the Dom0/U kernel for 1000hz timing. Dave do you notice any small chops in the voice quality? Have you had to change sched-sedf parameters? Ryan it should be pretty easy to install the A@H into a DomU. Once you get a domU running (preferably CentOS since that''s what A@H uses) make sure the GPG key is installed with "rpm --import /usr/share/doc/centos-release-4/RPM-GPG-KEY" and make sure you can install update packages with yum. Then just download the tar.gz a@h file instead of the .iso file. Inside the .tar.gz the ReleaseNotes.txt shows instructions Here is a brief copy and paste: disable SELINUX (edit /etc/selinux/config) Make a directory to install from and put the install file there mkdir /var/aah_load cp asteriskathome-2.7.tar.gz /var/aah_load cd /var/aah_load Untar the file install file tar xvfz asteriskathome-2.7.tar.gz Install ./install.sh Hope that helps Thanks John Cianfarani -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of David Muench Sent: Saturday, April 08, 2006 11:19 AM To: Ryan Burke Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Building asterisk@home domU manually? On 4/8/06, Ryan Burke <burke@tailorhosting.com> wrote:> Are you using any Zaptel hardware in your Asterisk install?No, and I think that may be part of the key to my success with it. I am using the ztdummy driver though. I''m also still using Xen 2.0.7. Haven''t had time to try out 3.0.2 yet. I am going to need a FXS port in the near future, and I''m torn between trying to get a FXS card to work vs. getting an ATA like device to stay away from the zaptel drivers. I can''t recall seeing anyone successfully using zaptel hardware under xen in a domU, but I might of just missed it. Dave -- David Muench - davemuench@gmail.com Jabber/Google Talk: davemuench@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Cianfarani
2006-Apr-08 17:37 UTC
RE: [Xen-users] Building asterisk@home domU manually?
If you haven''t recompiled the domU kernel for 1000hz time source this could be your issue. Ztdummy required a 1000hz source for timing. As Dave mentioned in a previous post you probably only need it done for the domU kernel. Thanks John ________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Christian Lyra Sent: Saturday, April 08, 2006 1:23 PM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Building asterisk@home domU manually? Hi, On 4/8/06, David Muench <davemuench@gmail.com> wrote: On 4/8/06, Ryan Burke <burke@tailorhosting.com> wrote:> Are you using any Zaptel hardware in your Asterisk install?No, and I think that may be part of the key to my success with it. I I have. when I first tried xen 3, there was no support for pcipasstrought. So, I got the xen-unstable via mercurial. And it worked really fine. My DomU with asterisk is working like a awnser machine. The only problem that I found is with music-on-hold. The music seems to be playing at a much slower speed. I guess that this has something to do with the RTC/timers on DomU. BTW... I got the sources from freepbx project, since I would like to have a web frontend. Christian Lyra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
rabbtux rabbtux
2006-Apr-09 06:47 UTC
Re: [Xen-users] Building asterisk@home domU manually?
Is the time source specified in the zaptel source, or are you folks talking about a certain parameter to set when configuring the kernel? (i.e. using make menuconfig ...etc) On 4/8/06, John Cianfarani <jcianfarani@rogers.com> wrote:> > If you haven''t recompiled the domU kernel for 1000hz time source this > could be your issue. Ztdummy required a 1000hz source for timing. > > As Dave mentioned in a previous post you probably only need it done for > the domU kernel. > > > > Thanks > > John > > > ------------------------------ > > *From:* xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *Christian Lyra > *Sent:* Saturday, April 08, 2006 1:23 PM > *To:* xen-users@lists.xensource.com > > *Subject:* Re: [Xen-users] Building asterisk@home domU manually? > > > > Hi, > > On 4/8/06, *David Muench* <davemuench@gmail.com> wrote: > > On 4/8/06, Ryan Burke <burke@tailorhosting.com> wrote: > > Are you using any Zaptel hardware in your Asterisk install? > > No, and I think that may be part of the key to my success with it. I > > > > I have. when I first tried xen 3, there was no support for pcipasstrought. > So, I got the xen-unstable via mercurial. And it worked really fine. My > DomU with asterisk is working like a awnser machine. The only problem that I > found is with music-on-hold. The music seems to be playing at a much slower > speed. I guess that this has something to do with the RTC/timers on DomU. > > > BTW... I got the sources from freepbx project, since I would like to have > a web frontend. > > Christian Lyra > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 4/9/06, rabbtux rabbtux <rabbtux@gmail.com> wrote:> Is the time source specified in the zaptel source, or are you folks talking > about a certain parameter to set when configuring the kernel? (i.e. using > make menuconfig ...etc)In Xen 2 it''s actually something that you have to edit in both the domU source and the Xen hypervisor source. Here''s a thread about it: http://lists.xensource.com/archives/html/xen-users/2005-11/msg00535.html I don''t know if it''s more easily configured in Xen 3 yet, I haven''t used Xen 3 much. Dave -- David Muench - davemuench@gmail.com Jabber/Google Talk: davemuench@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Cianfarani
2006-Apr-10 04:54 UTC
RE: [Xen-users] Building asterisk@home domU manually?
The values are kernel options I change are in the below files. I change them to 1000hz. I don''t think there is any menu option to do this. If there is I''ve never found it. ./linux-2.6.12-xenU/include/asm-xen/asm/param.h ./xen/include/asm-x86/config.h Thanks John ________________________________ From: rabbtux rabbtux [mailto:rabbtux@gmail.com] Sent: Sunday, April 09, 2006 2:48 AM To: John Cianfarani Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Building asterisk@home domU manually? Is the time source specified in the zaptel source, or are you folks talking about a certain parameter to set when configuring the kernel? (i.e. using make menuconfig ...etc) On 4/8/06, John Cianfarani <jcianfarani@rogers.com> wrote: If you haven''t recompiled the domU kernel for 1000hz time source this could be your issue. Ztdummy required a 1000hz source for timing. As Dave mentioned in a previous post you probably only need it done for the domU kernel. Thanks John ________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Christian Lyra Sent: Saturday, April 08, 2006 1:23 PM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Building asterisk@home domU manually? Hi, On 4/8/06, David Muench <davemuench@gmail.com> wrote: On 4/8/06, Ryan Burke <burke@tailorhosting.com > wrote:> Are you using any Zaptel hardware in your Asterisk install?No, and I think that may be part of the key to my success with it. I I have. when I first tried xen 3, there was no support for pcipasstrought. So, I got the xen-unstable via mercurial. And it worked really fine. My DomU with asterisk is working like a awnser machine. The only problem that I found is with music-on-hold. The music seems to be playing at a much slower speed. I guess that this has something to do with the RTC/timers on DomU. BTW... I got the sources from freepbx project, since I would like to have a web frontend. Christian Lyra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users