Hi all, I need to build an application that will be an SIP server program that will run on Linux and Windows. The sip server need only some features such as be able to : - Register sip endpoints - Answer a call and play a local file - Make a dial from one channel to another. I know asterisk can be stripped to exactly fit my needs. I would like to know if there is a way to build it on windows after it has been stripped. Or do I have other alternatives out there ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131204/9508c4c9/attachment.html>
It all depends on what you are trying to do. In terms of reliability and maintainability I would not try to use a windows desktop machine. There are a couple of alternatives. Could you describe the desired functionality? jg
On Wednesday 04 December 2013, Ruddy Gbaguidi wrote:> Hi all, > > I need to build an application that will be an SIP server program that will > run on Linux and Windows. > > The sip server need only some features such as be able to : > > - Register sip endpoints > > - Answer a call and play a local file > > - Make a dial from one channel to another. > > > > I know asterisk can be stripped to exactly fit my needs. I would like to > know if there is a way to build it on windows after it has been stripped. > > Or do I have other alternatives out there ?Installing Asterisk natively on Windows is a bit like training a gerbil to bark, in terms of effort and reward. The easiest way to get Asterisk to run on a machine that normally would run Windows, is from a live USB distribution. -- AJS Answers come *after* questions.
On Wednesday 04 December 2013, Ruddy Gbaguidi wrote:> Hi all, > > I need to build an application that will be an SIP server program thatwill> run on Linux and Windows. > > The sip server need only some features such as be able to : > > - Register sip endpoints > > - Answer a call and play a local file > > - Make a dial from one channel to another. > > > > I know asterisk can be stripped to exactly fit my needs. I would like to > know if there is a way to build it on windows after it has beenstripped.> > Or do I have other alternatives out there ?Ruddy If you can use windows 8.1 Pro 64bit. You can use hyper-v and run a virtual linux machine (Or the Free Hyper-V Server 2012 R2), VM Ware also works well. Load asterisk on that and you are set. This is how we run it at a few very small customers as well as my development machines and it works great. Best linux builds for Hyper-V we currently have found to be Ubuntu and Suse. As both a windows and linux guy I have to concur that loading Asterisk on windows directly is like putting a V8 on a moped. You may get there, but it won't be pretty; It's a lot of work, and it would be hell to maintain. (We do not trust it for production applications) In all seriousness I have a Asterisk build running on windows and it is stable but it is a lot of work to get it there and since it is not maintained by the community it is a full task to keep it up to date. We use it for in process testing of code that we develop with MS visual studio. If not for that I would not bother with Asterisk on Windows there would be no value in it. Especially since the current version of Asterisk now works so well in virtual environments. Good luck Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131204/aeab5ef7/attachment.html>
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ruddy Gbaguidi Sent: 04 December 2013 09:08 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] Asterisk SIP server on windows Hi all, I need to build an application that will be an SIP server program that will run on Linux and Windows. The sip server need only some features such as be able to : - Register sip endpoints - Answer a call and play a local file - Make a dial from one channel to another. I know asterisk can be stripped to exactly fit my needs. I would like to know if there is a way to build it on windows after it has been stripped. Or do I have other alternatives out there ? Servers that can run Asterisk are so cheap nowadays, unless you are talking about huge volumes of traffic. I'd recommend getting a server and putting on Centos which is tried and tested. You'll waste less time that way and avoid any unforeseen problems. Or look for a cloud server to do the job for you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131204/42e09887/attachment.html>
Ruddy If you can target windows 8.0 pro or 8.1 pro you can ship a Hyper-V image. (This same image would work with Hyper-V on, Hyper-V Server 2012/2012r2 and Windows Server 2012/2012r2. You would need to write some kind of configuration editor or documentation to customize the image to the users network environment. You could automate the entire process if you were so inclined. You can fully automate the Hyper-V side of things using PowerShell or Dot.Net The Linux side of things can be automated in a number of ways. We personally wrote a windows program that collects information from the user and posts it to our databases. The default image then has a script that pulls the info down (images uses DHCP to start) and re-writes the asterisk configs. This process is not a small task but if you have the time and budge it can work very well. Thanks Bryant Zimmerman (ZK Tech Inc.) 616-855-1030 Ext. 2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131204/4361fc0a/attachment.html>