login | register
Tue 02 of Dec, 2008 [02:35 UTC]

voip-info.org

AstWind

Created by: Damin,Last modification on Fri 15 of Jun, 2007 [14:17 UTC] by Luxvero
AstWind - Asterisk for Windows
==============================
AstWind is a package that allows you to run Asterisk on top of a Windows
operating system using Cooperative Linux (coLinux for short). A port of
the Linux kernel, coLinux runs cooperatively alongside legacy operating
systems on a single PC. It allows one to freely run Linux on Windows
2000/XP, without using a commercial PC virtualization software. With the
addition of the WinPCap library, the coLinux kernel has access to the
network through the host machine and can fully participate as a separate
PC with a unique IP address. A Debian GNU Linux file system, with a full
development environment and a pre-built Asterisk installation is provided
to get you up and running.

Here's the quick way to get started:

1. Download the "astwind-installer and run it, extracting the necessary
   files wherever it is convenient. The installer will default to the 
   current directory.

2. The installer will run a batch file to install WinPcap, coLinux and
   copy the necessary files to run AstWind. These files will live in
   C:\Progam Files\coLinux\.

3. IMPORTANT: IF YOU WANT NETWORKING TO WORK, YOU MUST CONFIGURE IT IN
   "astwind.colinux.xml". This is the SINGLE HARDEST PART of getting
   your installation working. For instructions, read:
   http://colinux.wikia.com/wiki/CoLinuxNetworking and look for
   the section on "Native network (Bridged) (Windows2000 or WindowsXP)".
   You just need to change <network index='0' name='XXXX' type='bridged'/> to
    <network index='0' name='Local Area Connection' type='bridged'/> where 
   'Local Area Connection' is a substring of you interface, which is connected to the 
   internet. To find your choices watch the dos window when booting the linux.
         
[note: you may also want to configure swop_file configuration to the astwind.colinux.xml file, as per coLinux instructions here]

4. From "C:\Program Files\coLinux" execute "astwind" from a command
   prompt.

5. Login as "root" with the password "asterisk"

6. IMMEDIATELY CHANGE YOUR ROOT PASSWORD.

7. Edit /etc/networking/interfaces and update for your networking
   configuration. The default is to get an IP from DHCP. You will also
   want to edit /etc/resolv.conf to add a valid DNS server and /etc/hosts
   to add the local machine name and IP address. These are all critical to 
   ensuring that Asterisk and it's related modules (such as SIP and MGCP)
   work correctly.

8. Make changes to, or install your configuration files in
   /etc/asterisk/*.conf to customize your Asterisk installation. 

9. Run Asterisk! (asterisk -vvvgc)

10. If you want to update, sources are in /usr/src/asterisk and you can
   do a "cvs update -d" and then "make clean" (to "clean" the previous
   compilation), "make" (to compile) and if everything is OK, issue the
   "make install" to install what you just compiled.

11. Have fun!

NOTE : if you get a compilation problem with a file called "zlib.h", it's because
you need to download the last zlib1g-dev package from Debian. To do so,
just type the following to the command prompt :

apt-get install zlib1g-dev


Potential User Comments: If you think the above is enough information to get this pig to work, you're sadly mistaken. This package is utterly broken. Have fun? Hah! The main problem isn't the XML file as stated above, but the fact that the Linux installation isn't actually installed. So etc/networking/interfaces and etc/resolv.conf and etc/hosts can't be edited, because they simply don't exist. When you log in, the once-off upgrade script TRIES to upgrade, but finding nothing there it fails. And so it all has to be uninstalled and reinstalled to try again.

There's an option in the installation to download one of two different Linux packages, but only the BZ2 is downloaded and it isn't actually installed. Try unpacking that with WinZip. :) In short, it's a typical half-assed Linux author's attempt at programming for Windows. Maybe next version. Then again in my experience of Linux packaging and usability, maybe not.


Another Potential User's Comments: You can safely disregard the above, this person seems unfamilar with linux or unix in general. In any event, you will need to boot into colinux in order to edit the files mentioned in the instructions above.

Another Comment: The hardest thing was really the networking - then just apt-get install anything
you want and you are home. The bad thing in my case was very choppy sound. But I gues it
is because of my computer CPU - only 300Mhz. Hope so.


AstWind is maintained by Gregory J. Boehnlein <damin@nacs.net>
Last Revised: 09/01/2004
Version 0.1.1 - Edited by Gregory J. Boehnlein <damin@nacs.net>
Version 0.1.0 - Created by Mark Spencer <markster@digium.com>

Other port:
AsteriskWin32

Comments

Comments Filter
222

333VPN for VoIP Blocking

by jenniferhan, Wednesday 12 of December, 2007 [03:48:16 UTC]
Somebody use VPN to solve the VoIP Blocking issue. But it seems not a good way to solve the voip blocking issue. Because VPN will take more bandwidth and will take effection on the Voice Quality

Currently I am using the VGCP, a new solution to solve the VoIP Blocking issue. Following is theirs website:
http://www.speed-voip.com/index-36.html

If any of you have interested, you may try to use it to solve your VoIP Blocking problems. Thanks.

Andy
andywong-01@hotmail.com

222

333Re: Piece of cake

by dony71, Wednesday 23 of February, 2005 [22:47:17 UTC]
i got error initializing winPCap during executing colinux
i think cannot find TAP VPN Adapter
where is this adapter? i have only TAP-Win32 Adapter.
below is the error message :
bridged-net-daemon: Checking adapter: TAP VPN Adapter
bridged-net-daemon: No matching adapter
Error initializing winPCap
222

333Windows drivers or Windows

by mschiavo, Thursday 10 of February, 2005 [17:18:13 UTC]
Some one could help me understand if we may use the windows drivers for the DIALOGIC boards or the linux one's on Astwind ??

Just make sure, because I am confused now!!
Tks,
Marcelo
222

333performance on Windows PC

by , Friday 04 of February, 2005 [12:48:03 UTC]
I concern about Astwind's performance on Windows + coLinux.
Did anyone compare both Astwind and Brekeke PBX?
222

333Astwind and ISDN card

by , Friday 28 of January, 2005 [08:28:25 UTC]
How i can adding to colinux new ISDN card? I use ISDN4linux, but i cannot find /dev/ttyI0 :(
thans for any idea...
222

333Performance on VDS...not so good

by , Thursday 13 of January, 2005 [21:24:58 UTC]
My setup might not be the most efficient.
However, I've noload'ed most stuff, and the performance is fairly bad.
MOH works though...

I have better experience on VMware and MS Virtual Server.
Everything except Meetme works. I suspect that some incoming voice on IAX is choppy because of the lack of a hardware timer. Don't know for sure.
...never got the alternative timers to compile. If anyone got them compiled, please let me know.

My next step is to compile Asterisk on my Debian VDS, instead of using the Debian binary packages. Looks like the Debian packages causes Asterisk to start as many processes as it can with the available RAM it has. Gentoo is also available, but I haven't used it much, so I'll stick to Debian.
222

333Performance on VDS?

by , Tuesday 11 of January, 2005 [16:07:16 UTC]
Hi bjornta
I was hoping to set this up on a VDS, but heard bad things about linux VDS.
How is the performance etc on your virtual machine?
You could try a different zap emulator - iir their is one that doesnt need USb, or the meetme replacement that doesnt require a timer. How about MOH?
222

333Asterisk works on Virtual Dedicated Server

by bjornta, Monday 03 of January, 2005 [05:17:07 UTC]
I have Asterisk running on a hosted Virtual Dedicated Server at
http://linuxvds.com/
...for $20 USD/month
Very good bandwidth, and the cheapest price/RAM/disk space ratio I've seen.
Meetme doesn't work though...since it needs that USB timer.
222

333Is Meetme working?

by bjornta, Sunday 02 of January, 2005 [23:22:02 UTC]
Has anyone been able to run Meetme under AstWind?
222

333Winpcap problem

by , Thursday 30 of December, 2004 [20:40:32 UTC]
When I run Astwind, the status screen says "Error initialising Winpcap" but its installed.

Anyone know whats wrong ?