Windows Asterisk Help
Hi All, Downloaded latest version of Asterisk from www.asteriskwin32.com and installed on Windows 7. Here is my sip.conf
[general]context = demo ; Default context for incoming callsbindport = 5060 ; UDP Port to bind to (SIP standard port is 5060)bindaddr = 0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)srvlookup = yes ; Enable DNS SRV lookups on outbound callscontext=incoming disallow=all allow=ulaw allow=alaw allow=g729 allow=g723 externip=72.220.28.226 localnet=192.168.0.0 nat=yes maxexpiry=15minexpiry=14;rtautoclear=no;autofallthrough=yes register =>16194077214:<
[authentication][3000]type = friendcontext = defaultusername = 3000host = dynamicmailbox = 3000dtmfmode = rfc2833[3001]type = friendcontext = defaultusername = 3001host = dynamicmailbox = 3001dtmfmode = rfc2833
[3002]type = friendusername = 3002context = defaulthost = dynamicmailbox = 3002dtmfmode = rfc2833
[vonage-out]
username=16194077214
type=friend secret=<
port=5061
nat=yes host=69.59.234.67
fromuser=16194077214
fromdomain=69.59.234.67
dtmfmode=rfc2833
auth=md5
[vonage202]
username=16194077214
;type=friendtype=peer;type=user secret=<
port=5061
nat=yes insecure=port,invite host=69.59.234.67
fromuser=16194077214
fromdomain=69.59.234.67
;dtmfmode=inband context=from-pstn canreinvite=no
;auth=md5disallow=allallow=ulaw ;allow=alaw ;allow=g729 ;allow=g723
Here is my extensions.conf
[from-pstn];exten => 16194077214,1,verbose(0, hello)exten => 16194077214,1,Answer;exten => 16194077214,n,SayUnixTime()exten => 16194077214,n,Hangup
I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue. So I set minexpirty and maxexpirty that seems to have no effect. can post the logs, if someone wants me to. Your kind help is appreciated. Best regardsmurthy
7 thoughts on - Windows Asterisk Help
http://www.asteriskwin32.com hosts only a very very old version of Asterisk (1.2.something). What speaks against setting up a small virtual machine to host a recent version of Asterisk?
jg
To: asterisk-users@lists.digium.com From: webaccounts173@jgoettgens.de Date: Wed, 29 Jul 2015 16:11:31 +0200
Subject: Re: [asterisk-users] Windows Asterisk Help
Downloaded latest version of Asterisk from
http://www.asteriskwin32.com and installed on Windows 7.
Here is my sip.conf
[general]
context = demo ; Default context for
incoming calls
bindport = 5060 ; UDP Port to bind to (SIP
standard port is 5060)
bindaddr = 0.0.0.0 ; IP address to bind to
(0.0.0.0 binds to all)
srvlookup = yes ; Enable DNS SRV lookups on
outbound calls
context=incoming
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723
externip=72.220.28.226
localnet=192.168.0.0
nat=yes
maxexpiry=15
minexpiry=14
;rtautoclear=no
;autofallthrough=yes
register@69.59.234.67:5060/202
=>16194077214:<
[authentication]
[3000]
type = friend
context = default
username = 3000
host = dynamic
mailbox = 3000
dtmfmode = rfc2833
[3001]
type = friend
context = default
username = 3001
host = dynamic
mailbox = 3001
dtmfmode = rfc2833
[3002]
type = friend
username = 3002
context = default
host = dynamic
mailbox = 3002
dtmfmode = rfc2833
[vonage-out]
username=16194077214
type=friend
secret=<>
port=5061
nat=yes
host=69.59.234.67
fromuser=16194077214
fromdomain=69.59.234.67
dtmfmode=rfc2833
auth=md5
[vonage202]
username=16194077214
;type=friend
type=peer
;type=user
secret=<>
port=5061
nat=yes
insecure=port,invite
host=69.59.234.67
fromuser=16194077214
fromdomain=69.59.234.67
;dtmfmode=inband
context=from-pstn
canreinvite=no
;auth=md5
disallow=all
allow=ulaw
;allow=alaw
;allow=g729
;allow=g723
Here is my extensions.conf
[from-pstn]
;exten => 16194077214,1,verbose(0, hello)
exten => 16194077214,1,Answer;
exten => 16194077214,n,SayUnixTime()
exten => 16194077214,n,Hangup
I am able to connect with Asterisk on the first try after
fresh load, but not on the subsequent tries.
I have to re-reload sip.conf and extensions.conf to connect
with Asterisk. Looking at the logs, it seems like a
registration issue. So I set minexpirty and maxexpirty that
seems to have no effect. can post the logs, if someone wants
me to.
Your kind help is appreciated.
Best regards
murthy
http://www.asteriskwin32.com hosts only a very very old version of Asterisk
(1.2.something). What speaks against setting up a small virtual
machine to host a recent version of Asterisk?
jg
You have a point. My SIP provider at the moment is Vonage which I can’t access from work (some security issue:)So I am confined to testing from home and I don’t have any other machine to spare. If there is no other wayto trouble-shoot the problem, I will have to do what you suggest. Thanks & Regardsmurthy
Murthy Gandikota wrote:
For very little $$$ you could obtain an HP thin client, load a modern version of Asterisk using AstLinux, and leave your Win 7 machine to do what it does best ( which is certainly NOT Asterisk )
Once installed, it can be completely controlled and configured remotely over your home LAN, consumes very little power, has a universal power supply, consumes little power and no noisy fans. HP5720 units can be had off eBay for $20-30 US. Even with shipping to your country, really low cost solution much more in the mainstream. AstLinux uses standard Asterisk confs. The GUI is used for management and editing, and doesn’t use the difficult to troubleshoot and quirky overlays of a TrixBox or FreePBX
Check out the astlinux website for more details
John Novack
On Wed, Jul 29, 2015 at 10:16 AM, John Novack
DQoNCkRhdGU6IFdlZCwgMjkgSnVsIDIwMTUgMTE6NDc6MTkgLTA1MDANCkZyb206IHNncmllcGVu dHJvZ0BkaWdpdW0uY29tDQpUbzogYXN0ZXJpc2stdXNlcnNAbGlzdHMuZGlnaXVtLmNvbQ0KU3Vi amVjdDogUmU6IFthc3Rlcmlzay11c2Vyc10gV2luZG93cyBBc3RlcmlzayBIZWxwDQoNCg0KT24g V2VkLCBKdWwgMjksIDIwMTUgYXQgMTA6MTYgQU0sIEpvaG4gTm92YWNrIDxqbm92YWNrQHN0cm9t YmVyZy1jYXJsc29uLm9yZz4gd3JvdGU6DQoKICAKICAgIAogIAogIAogICAgDQoKICAgIA0KCiAg ICBNdXJ0aHkgR2FuZGlrb3RhIHdyb3RlOg0KCiAgICAKICAgIAogICAgICAKICAgICAgDQoKICAg ICAgICANCgogICAgICAgIAogICAgICAgICAgVG86IGFzdGVyaXNrLXVzZXJzQGxpc3RzLmRpZ2l1
bS5jb20NCgogICAgICAgICAgRnJvbTogd2ViYWNjb3VudHMxNzNAamdvZXR0Z2Vucy5kZQ0KCiAg ICAgICAgICBEYXRlOiBXZWQsIDI5IEp1bCAyMDE1IDE2OjExOjMxICswMjAwDQoKICAgICAgICAg IFN1YmplY3Q6IFJlOiBbYXN0ZXJpc2stdXNlcnNdIFdpbmRvd3MgQXN0ZXJpc2sgSGVscA0KCiAg ICAgICAgICANCgogICAgICAgICAgDQoKICAgICAgICAgIAogICAgICAgICAgCiAgICAgICAgICAg IAogICAgICAgICAgICANCgogICAgICAgICAgICAgIERvd25sb2FkZWQgbGF0ZXN0IHZlcnNpb24g b2YgQXN0ZXJpc2sgZnJvbSB3d3cuYXN0ZXJpc2t3aW4zMi5jb20KICAgICAgICAgICAgICAgIGFu ZCBpbnN0YWxsZWQgb24gV2luZG93cyA3LgogICAgICAgICAgICAgIA0KCiAgICAgICAgICAgICAg CiAgICAgICAgICAgICAgSGVyZSAgaXMgbXkgc2lwLmNvbmYKICAgICAgICAgICAgICANCgogICAg ICAgICAgICAgIAogICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgW2dlbmVyYWxdCiAgICAg ICAgICAgICAgICBjb250ZXh0ID0gZGVtbyAgOyAgICAgICAgICAgICAgRGVmYXVsdCBjb250ZXh0
IGZvcgogICAgICAgICAgICAgICAgICBpbmNvbWluZyBjYWxscwogICAgICAgICAgICAgICAgYmlu ZHBvcnQgPSA1MDYwICA7ICAgICAgICAgICAgICBVRFAgUG9ydCB0byBiaW5kIHRvCiAgICAgICAg ICAgICAgICAgIChTSVAgc3RhbmRhcmQgcG9ydCBpcyA1MDYwKQogICAgICAgICAgICAgICAgYmlu ZGFkZHIgPSAwLjAuMC4wICA7ICAgICAgICAgICAgICBJUCBhZGRyZXNzIHRvCiAgICAgICAgICAg ICAgICAgIGJpbmQgdG8gKDAuMC4wLjAgYmluZHMgdG8gYWxsKQogICAgICAgICAgICAgICAgc3J2
bG9va3VwID0geWVzICA7ICAgICAgICAgICAgICBFbmFibGUgRE5TIFNSVgogICAgICAgICAgICAg ICAgICBsb29rdXBzIG9uIG91dGJvdW5kIGNhbGxzCiAgICAgICAgICAgICAgICBjb250ZXh0PWlu Y29taW5nIAogICAgICAgICAgICAgICAgZGlzYWxsb3c9YWxsIAogICAgICAgICAgICAgICAgYWxs b3c9dWxhdyAKICAgICAgICAgICAgICAgIGFsbG93PWFsYXcgCiAgICAgICAgICAgICAgICBhbGxv dz1nNzI5IAogICAgICAgICAgICAgICAgYWxsb3c9ZzcyMyAKICAgICAgICAgICAgICAgIGV4dGVy bmlwPTcyLjIyMC4yOC4yMjYgCiAgICAgICAgICAgICAgICBsb2NhbG5ldD0xOTIuMTY4LjAuMCAK
ICAgICAgICAgICAgICAgIG5hdD15ZXMgCiAgICAgICAgICAgICAgICBtYXhleHBpcnk9MTUKICAg ICAgICAgICAgICAgIG1pbmV4cGlyeT0xNAogICAgICAgICAgICAgICAgO3J0YXV0b2NsZWFyPW5v CiAgICAgICAgICAgICAgICA7YXV0b2ZhbGx0aHJvdWdoPXllcwogICAgICAgICAgICAgICAgDQoK
ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgcmVnaXN0ZXIKICAgICAgICAgICAgICAg ICAgPT4xNjE5NDA3NzIxNDo8PHBhc3N3b3JkPkA2OS41OS4yMzQuNjc6NTA2MC8yMDIKICAgICAg ICAgICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIFthdXRoZW50aWNh dGlvbl0KICAgICAgICAgICAgICAgIFszMDAwXQogICAgICAgICAgICAgICAgdHlwZSA9IGZyaWVu ZAogICAgICAgICAgICAgICAgY29udGV4dCA9IGRlZmF1bHQKICAgICAgICAgICAgICAgIHVzZXJu YW1lID0gMzAwMAogICAgICAgICAgICAgICAgaG9zdCA9IGR5bmFtaWMKICAgICAgICAgICAgICAg IG1haWxib3ggPSAzMDAwCiAgICAgICAgICAgICAgICBkdG1mbW9kZSA9IHJmYzI4MzMKICAgICAg ICAgICAgICAgIFszMDAxXQogICAgICAgICAgICAgICAgdHlwZSA9IGZyaWVuZAogICAgICAgICAg ICAgICAgY29udGV4dCA9IGRlZmF1bHQKICAgICAgICAgICAgICAgIHVzZXJuYW1lID0gMzAwMQog ICAgICAgICAgICAgICAgaG9zdCA9IGR5bmFtaWMKICAgICAgICAgICAgICAgIG1haWxib3ggPSAz MDAxCiAgICAgICAgICAgICAgICBkdG1mbW9kZSA9IHJmYzI4MzMKICAgICAgICAgICAgICAgIA0K
CiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIFszMDAyXQogICAgICAgICAgICAgICAg dHlwZSA9IGZyaWVuZAogICAgICAgICAgICAgICAgdXNlcm5hbWUgPSAzMDAyCiAgICAgICAgICAg ICAgICBjb250ZXh0ID0gZGVmYXVsdAogICAgICAgICAgICAgICAgaG9zdCA9IGR5bmFtaWMKICAg ICAgICAgICAgICAgIG1haWxib3ggPSAzMDAyCiAgICAgICAgICAgICAgICBkdG1mbW9kZSA9IHJm YzI4MzMKICAgICAgICAgICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAg IFt2b25hZ2Utb3V0XQogICAgICAgICAgICAgICAgDQoKICAgICAgICAgICAgICAgIAogICAgICAg ICAgICAgICAgdXNlcm5hbWU9MTYxOTQwNzcyMTQKICAgICAgICAgICAgICAgIA0KCiAgICAgICAg ICAgICAgICAKICAgICAgICAgICAgICAgIHR5cGU9ZnJpZW5kCiAgICAgICAgICAgICAgICANCgog ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBzZWNyZXQ9PDxwYXNzd29yZD4+CiAgICAg ICAgICAgICAgICANCgogICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBwb3J0PTUwNjEK
ICAgICAgICAgICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIG5hdD15
ZXMKICAgICAgICAgICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGhv c3Q9NjkuNTkuMjM0LjY3CiAgICAgICAgICAgICAgICANCgogICAgICAgICAgICAgICAgCiAgICAg ICAgICAgICAgICBmcm9tdXNlcj0xNjE5NDA3NzIxNAogICAgICAgICAgICAgICAgDQoKICAgICAg ICAgICAgICAgIAogICAgICAgICAgICAgICAgZnJvbWRvbWFpbj02OS41OS4yMzQuNjcKICAgICAg ICAgICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGR0bWZtb2RlPXJm YzI4MzMKICAgICAgICAgICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAg IGF1dGg9bWQ1CiAgICAgICAgICAgICAgICANCgogICAgICAgICAgICAgICAgCiAgICAgICAgICAg ICAgICBbdm9uYWdlMjAyXQogICAgICAgICAgICAgICAgDQoKICAgICAgICAgICAgICAgIAogICAg ICAgICAgICAgICAgdXNlcm5hbWU9MTYxOTQwNzcyMTQKICAgICAgICAgICAgICAgIA0KCiAgICAg ICAgICAgICAgICAKICAgICAgICAgICAgICAgIDt0eXBlPWZyaWVuZAogICAgICAgICAgICAgICAg dHlwZT1wZWVyCiAgICAgICAgICAgICAgICA7dHlwZT11c2VyCiAgICAgICAgICAgICAgICANCgog ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBzZWNyZXQ9PDxwYXNzd29yZD4+CiAgICAg ICAgICAgICAgICANCgogICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBwb3J0PTUwNjEK
ICAgICAgICAgICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIG5hdD15
ZXMKICAgICAgICAgICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlu c2VjdXJlPXBvcnQsaW52aXRlCiAgICAgICAgICAgICAgICANCgogICAgICAgICAgICAgICAgCiAg ICAgICAgICAgICAgICBob3N0PTY5LjU5LjIzNC42NwogICAgICAgICAgICAgICAgDQoKICAgICAg ICAgICAgICAgIAogICAgICAgICAgICAgICAgZnJvbXVzZXI9MTYxOTQwNzcyMTQKICAgICAgICAg ICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGZyb21kb21haW49Njku NTkuMjM0LjY3CiAgICAgICAgICAgICAgICANCgogICAgICAgICAgICAgICAgCiAgICAgICAgICAg ICAgICA7ZHRtZm1vZGU9aW5iYW5kCiAgICAgICAgICAgICAgICANCgogICAgICAgICAgICAgICAg CiAgICAgICAgICAgICAgICBjb250ZXh0PWZyb20tcHN0bgogICAgICAgICAgICAgICAgDQoKICAg ICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgY2FucmVpbnZpdGU9bm8KICAgICAgICAgICAg ICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIDthdXRoPW1kNQogICAgICAg ICAgICAgICAgZGlzYWxsb3c9YWxsCiAgICAgICAgICAgICAgICBhbGxvdz11bGF3IAogICAgICAg ICAgICAgICAgO2FsbG93PWFsYXcgCiAgICAgICAgICAgICAgICA7YWxsb3c9ZzcyOSAKICAgICAg ICAgICAgICAgIDthbGxvdz1nNzIzIAogICAgICAgICAgICAgIAogICAgICAgICAgICAgIA0KCiAg ICAgICAgICAgICAgCiAgICAgICAgICAgICAgSGVyZSBpcyBteSBleHRlbnNpb25zLmNvbmYKICAg ICAgICAgICAgICANCgogICAgICAgICAgICAgIAogICAgICAgICAgICAgIAogICAgICAgICAgICAg ICAgW2Zyb20tcHN0bl0KICAgICAgICAgICAgICAgIDtleHRlbiA9PiAxNjE5NDA3NzIxNCwxLHZl cmJvc2UoMCwgaGVsbG8pCiAgICAgICAgICAgICAgICBleHRlbiA9PiAxNjE5NDA3NzIxNCwxLEFu c3dlcjsKICAgICAgICAgICAgICAgIGV4dGVuID0+IDE2MTk0MDc3MjE0LG4sU2F5VW5peFRpbWUo KQogICAgICAgICAgICAgICAgZXh0ZW4gPT4gMTYxOTQwNzcyMTQsbixIYW5ndXAKICAgICAgICAg ICAgICAgIA0KCiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIA0KCiAgICAgICAgICAg ICAgICAKICAgICAgICAgICAgICAKICAgICAgICAgICAgICBJIGFtIGFibGUgdG8gY29ubmVjdCB3
aXRoIEFzdGVyaXNrIG9uIHRoZSBmaXJzdCB0cnkKICAgICAgICAgICAgICAgIGFmdGVyIGZyZXNo IGxvYWQsIGJ1dCBub3Qgb24gdGhlIHN1YnNlcXVlbnQgdHJpZXMuCiAgICAgICAgICAgICAgSSBo YXZlIHRvIHJlLXJlbG9hZCBzaXAuY29uZiBhbmQgZXh0ZW5zaW9ucy5jb25mIHRvCiAgICAgICAg ICAgICAgICBjb25uZWN0IHdpdGggQXN0ZXJpc2suIExvb2tpbmcgYXQgdGhlIGxvZ3MsIGl0IHNl ZW1zCiAgICAgICAgICAgICAgICBsaWtlIGEgcmVnaXN0cmF0aW9uIGlzc3VlLiAgU28gSSBzZXQg bWluZXhwaXJ0eSBhbmQKICAgICAgICAgICAgICAgIG1heGV4cGlydHkgdGhhdCBzZWVtcyB0byBo YXZlIG5vIGVmZmVjdC4gIGNhbiBwb3N0IHRoZQogICAgICAgICAgICAgICAgbG9ncywgaWYgc29t ZW9uZSB3YW50cyBtZSB0by4KICAgICAgICAgICAgICANCgogICAgICAgICAgICAgIAogICAgICAg ICAgICAgIFlvdXIga2luZCBoZWxwIGlzIGFwcHJlY2lhdGVkLgogICAgICAgICAgICAgIA0KCiAg ICAgICAgICAgICAgCiAgICAgICAgICAgICAgQmVzdCByZWdhcmRzCiAgICAgICAgICAgICAgbXVy dGh5CiAgICAgICAgICAgICAgDQoKICAgICAgICAgICAgICAKICAgICAgICAgICAgICANCgogICAg ICAgICAgICAgIAogICAgICAgICAgICAKICAgICAgICAgICAgDQoKICAgICAgICAgICAgCiAgICAg ICAgICAgIA0KCiAgICAgICAgICAKICAgICAgICAgIHd3dy5hc3Rlcmlza3dpbjMyLmNvbQogICAg ICAgICAgaG9zdHMgb25seSBhIHZlcnkgdmVyeSBvbGQgdmVyc2lvbiBvZiBBc3RlcmlzawogICAg ICAgICAgKDEuMi5zb21ldGhpbmcpLiBXaGF0IHNwZWFrcyBhZ2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pCeSB0aGUgd2F5LCB0aGVyZSB3YXMg YW4gdW5kb2N1bWVudGVkIHByb2JsZW0gd2l0aCBjb21waWxpbmcgREFIREkgU28gSSBza2lwcGVk IHRoYXQgc3RlcA0KZCkgcmFuIEFzdGVyaXNrIGFuZCBldmVyeXRoaW5nIGlzIGJhY2sgd2hlcmUg dGhleSBzaG91bGQgYmUNCkhvd2V2ZXIsIHNvbWUgdGltZXMgSSBnZXQgIlVzZXIgQnVzeSIgcmVz cG9uc2UgZnJvbSBWb25hZ2UuIEkgdGhpbmsgdGhpc2lzIGFuIEFzdGVyaXNrIGlzc3VlLiBJZiBh bnlvbmUga25vd3MgaG93IHRvIHJlamlnIEFzdGVyaXNrIHNvIHRoYXQgaXQgd29uJ3QgaG9sZG9u IHRvIHRoZSBzZXNzaW9uIGFmdGVyIGhhbmcgdXAsIGtpbmRseSBsZXQgbWUga25vdy4NCkJlc3Qg cmVnYXJkc211cnRoeSAJCSAJICAgCQkgIA=
In a virtual environment, the DAHDI library is not useful, as it only serves to connect to hardware cards that you likely don’t have and VMware generally doesn’t support passing through to the virtual machine anyway.
To get assistance with specific SIP call failures, you would need to capture the SIP messaging for an instance where it failed, using ‘sip set debug’ in Asterisk or wireshark, and then share that. You’ll only need the actual SIP traffic on port 5060, not the RTP.
I would also recommend testing with a different provider (ITSP) first. I
have used voip.ms successfully with Asterisk.
Why?
Trying to get Asterisk to run on Windows is like trying to teach a gerbil to bark. It’s an extraordinary effort, and the result is unlikely to do anything other than disappoint.
* Asterisk was designed from the outset to run on Unix-like systems, and has certain design decisions baked into it that preclude it from building on legacy systems such as Windows without serious modifications. Any version of Asterisk that has been persuaded to run on Windows will be behind the curve, and missing the latest and greatest features.
* Asterisk, even on its native Linux platform where all the bits work properly, is harder to use than Linux. The supposed “advantage” of not needing to learn to use Linux is negated by the steeper learning curve of Asterisk.
* Asterisk doesn’t make too many demands of hardware, except for preferring to have its hardware all to itself. You can try it out on a scrap PC (available free almost anywhere) at first and then, if you like it, install it on a dedicated machine. If you don’t need dedicated PCI / PCI express hardware, then you can even run Asterisk on something like a Raspberry Pi.
If you want to run Asterisk, then you might as well bite the bullet and run it on Linux. Also, forget about pre-compiled packages, just build it from Source Code.