Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, 12 Feb 2015 16:39:55 +0200 Tzafrir Cohen tzafrir.co...@xorcom.com wrote: On Thu, Feb 12, 2015 at 09:25:39AM -0500, D'Arcy J.M. Cain wrote: I know that it runs on other systems but do other ports get the same attention? I have been running it on a NetBSD server for about a year now and while it mostly works it just crashes from time to time with no explanation or core dump. Use the option -g to get core dumps. Did that and it stopped again but still no core file and nothing in the logs. It did stay up for a whole week this time. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...@vex.net VoIP: sip:da...@vex.net -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, Feb 12, 2015 at 11:40 AM, Matthew Jordan mjor...@digium.com wrote: On Thu, Feb 12, 2015 at 8:52 AM, D'Arcy J.M. Cain da...@vex.net wrote: On Thu, 12 Feb 2015 09:43:33 -0500 Ron Wheeler rwhee...@artifact-software.com wrote: Why not just bite the bullet and move to a supported Linux? If all I had was a phone switch that might be an option but this is just part of a multi-server system that needs to be able to move services back and forth so the underlying OS has to be the same for everything. Besides, I am a NetBSD developer and so I am also interested in making every package rock solid on it. - you can be assured that it works - updates are tested I would be willing to make a NetBSD machine (not my production server) available for running unit tests. Are there already unit tests in the distribution? Yes there are. In addition to unit tests, there are also the functional tests in the Asterisk Test Suite [1]. To enable them as well as set up Asterisk for the Test Suite: 1. Configure Asterisk for development mode: $ ./configure --enable-dev-mode 2. In menuselect, enable the TEST_FRAMEWORK Compiler Flag 3. Also in menuselect, enable the Test Modules. These provide the unit tests. 4. Build/install Asterisk 5. Run Asterisk 6. Execute the unit tests (or a subset thereof) using the CLI: *CLI test execute [category|all] Note that some unit tests require a particular configuration or certain subsystems to be enabled. You can examine the CI build agent scripts used for test runs here: http://svn.asterisk.org/svn/testsuite/bamboo/trunk/bin/ Specifically, the build-asterisk-only.sh script and run-asterisk-unittests.sh. Setting up [2] and running [3] the Asterisk Test Suite is documented on the wiki, and generally covers a lot more functionality than the unit tests. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Test+Suite+Documentation [2] https://wiki.asterisk.org/wiki/display/AST/Installing+the+Asterisk+Test+Suite [3] https://wiki.asterisk.org/wiki/display/AST/Running+the+Asterisk+Test+Suite It should be noted, we did have a FreeBSD and Ubuntu systems running the testsuite back in 2010. FreeBSD was donated to the project. I personally had a PowerPC system running asterisk / testsuite, on debian. -- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, Feb 12, 2015 at 10:38:33AM -0600, David M. Lee wrote: Unfortunately, I doubt the Python test suite would run on non-Linux. I don’t even bother trying to run it on Ubuntu; I have a CentOS VM specifically for running the test suite to avoid platform problems. I have a package of the test suite with some of its dependencies. In managed to make it into Jessie. It still misses quite a few things. It would be a good start running it there. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
Why not just bite the bullet and move to a supported Linux? - you can be assured that it works - updates are tested - help and support is readily available. - only takes a few minutes to install the whole setup - configuration should port easily. There is almost no Linux administration required once it is set up so getting deep into the actual OS is not required. I have used CentOS (5.x and 6.x) for years without any problems. I have not tried it with CentOS 7 and would recommend sticking with the latest CentOS 6 for a while yet. I am converting the rest of my datacenter to 7 starting with the main firewall/router and a virtual host. Firewall is now in production but it was a bit of a learning curve for me. There are big differences between 6 and 7 and I would let some other Asterisk users switch before going to 7. Free advice and worth every cent! Ron On 12/02/2015 9:25 AM, D'Arcy J.M. Cain wrote: I know that it runs on other systems but do other ports get the same attention? I have been running it on a NetBSD server for about a year now and while it mostly works it just crashes from time to time with no explanation or core dump. I have improved the situation by expanding my intrusion detection but it still stops every few days or so. I have a cron job that tests for it and restarts it when necessary. Anyone else have experience on non-Linux systems? Cheers. -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Is Asterisk a Linux only system?
I know that it runs on other systems but do other ports get the same attention? I have been running it on a NetBSD server for about a year now and while it mostly works it just crashes from time to time with no explanation or core dump. I have improved the situation by expanding my intrusion detection but it still stops every few days or so. I have a cron job that tests for it and restarts it when necessary. Anyone else have experience on non-Linux systems? Cheers. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...@vex.net VoIP: sip:da...@vex.net -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, Feb 12, 2015 at 09:25:39AM -0500, D'Arcy J.M. Cain wrote: I know that it runs on other systems but do other ports get the same attention? I have been running it on a NetBSD server for about a year now and while it mostly works it just crashes from time to time with no explanation or core dump. Use the option -g to get core dumps. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
I know that it runs on other systems but do other ports get the same attention? I have been running it on a NetBSD server for about a year now and while it mostly works it just crashes from time to time with no explanation or core dump. I have improved the situation by expanding my intrusion detection but it still stops every few days or so. I have a cron job that tests for it and restarts it when necessary. Anyone else have experience on non-Linux systems? I have not run it on a non-Linux system, but for monitoring and restarting it when it fails, you might look into Monit. That might be more efficient than waiting for a cron job to check it and restart.-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
Justin Sherrill wrote: I would love to run Asterisk on a BSD system. I do not know of any developers actively working on Asterisk on a BSD platform, though my knowledge isn't comprehensive. I'm also unaware of anyone developing on BSD like that. Linux of course and a smattering of folks on OSX doing the odd thing. Cheers, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, Feb 12, 2015 at 03:09:02PM +, Justin Sherrill wrote: I would love to run Asterisk on a BSD system. I do not know of any developers actively working on Asterisk on a BSD platform, though my knowledge isn't comprehensive. That developer could be you. Run. Report bugs. Try troubleshooting. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, 12 Feb 2015 09:43:33 -0500 Ron Wheeler rwhee...@artifact-software.com wrote: Why not just bite the bullet and move to a supported Linux? If all I had was a phone switch that might be an option but this is just part of a multi-server system that needs to be able to move services back and forth so the underlying OS has to be the same for everything. Besides, I am a NetBSD developer and so I am also interested in making every package rock solid on it. - you can be assured that it works - updates are tested I would be willing to make a NetBSD machine (not my production server) available for running unit tests. Are there already unit tests in the distribution? There is almost no Linux administration required once it is set up so getting deep into the actual OS is not required. Getting deep into an OS doesn't scare me. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...@vex.net VoIP: sip:da...@vex.net -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, 12 Feb 2015 16:39:55 +0200 Tzafrir Cohen tzafrir.co...@xorcom.com wrote: On Thu, Feb 12, 2015 at 09:25:39AM -0500, D'Arcy J.M. Cain wrote: year now and while it mostly works it just crashes from time to time with no explanation or core dump. Use the option -g to get core dumps. Cool. I will do that and wait for the next crash. Thanks. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...@vex.net VoIP: sip:da...@vex.net -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
I would love to run Asterisk on a BSD system. I do not know of any developers actively working on Asterisk on a BSD platform, though my knowledge isn't comprehensive. It may be worth talking to the people doing the packaging for various BSD platforms, to see how involved they are, or if they know of people developing it directly. jnemeth@netbsd for pkgsrc, madpilot@freebsd for ports/dports, and sthen@openbsd for OpenBSD ports, for example. I know you're developing on NetBSD, but correcting for not-Linux would help everyone. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of D'Arcy J.M. Cain Sent: Thursday, February 12, 2015 9:26 AM To: Asterisk Users Mailing List Subject: [asterisk-users] Is Asterisk a Linux only system? I know that it runs on other systems but do other ports get the same attention? I have been running it on a NetBSD server for about a year now and while it mostly works it just crashes from time to time with no explanation or core dump. I have improved the situation by expanding my intrusion detection but it still stops every few days or so. I have a cron job that tests for it and restarts it when necessary. Anyone else have experience on non-Linux systems? Cheers. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...@vex.net VoIP: sip:da...@vex.net -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Is Asterisk a Linux only system?
Asterisk needs to operate with high operating system reliability as needed and usual in the Telecom domain. Windows system don't offer such reliability, so that's why they are not used in any field where high reliability, security and data safety are required (like military, Government, industries, power production and distribution etc. etc.). If you check the top computing systems in the world, there - 99.6 are running Unix/Linux systems, - - 97% are running Linux, - - 2.6% are running Unix and only - 0.2% are running Windows. Also using Windows' Internet Explorer is falling down for years, being surpassed by Google Chrome and FireFox.. It may be also due to the fact that many believes that scrappy character of Windows is a marketing trick pushing billions of users to buy again and again what they have already bought (by means of huge misleading advertising buy the new version, it's finally Super Excellent, people buy but the known crashes, security vulnerabilities, data lost and other well known problems last - what repeats for 20 years)... You may remember also a big scandal with the letter by HQ to branches which called under any cost don't allow that Linux gets in Government sector, offering the huge million fund for support of sales.. Etc. etc. JH :-) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, Feb 12, 2015 at 8:52 AM, D'Arcy J.M. Cain da...@vex.net wrote: On Thu, 12 Feb 2015 09:43:33 -0500 Ron Wheeler rwhee...@artifact-software.com wrote: Why not just bite the bullet and move to a supported Linux? If all I had was a phone switch that might be an option but this is just part of a multi-server system that needs to be able to move services back and forth so the underlying OS has to be the same for everything. Besides, I am a NetBSD developer and so I am also interested in making every package rock solid on it. - you can be assured that it works - updates are tested I would be willing to make a NetBSD machine (not my production server) available for running unit tests. Are there already unit tests in the distribution? Yes there are. In addition to unit tests, there are also the functional tests in the Asterisk Test Suite [1]. To enable them as well as set up Asterisk for the Test Suite: 1. Configure Asterisk for development mode: $ ./configure --enable-dev-mode 2. In menuselect, enable the TEST_FRAMEWORK Compiler Flag 3. Also in menuselect, enable the Test Modules. These provide the unit tests. 4. Build/install Asterisk 5. Run Asterisk 6. Execute the unit tests (or a subset thereof) using the CLI: *CLI test execute [category|all] Note that some unit tests require a particular configuration or certain subsystems to be enabled. You can examine the CI build agent scripts used for test runs here: http://svn.asterisk.org/svn/testsuite/bamboo/trunk/bin/ Specifically, the build-asterisk-only.sh script and run-asterisk-unittests.sh. Setting up [2] and running [3] the Asterisk Test Suite is documented on the wiki, and generally covers a lot more functionality than the unit tests. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Test+Suite+Documentation [2] https://wiki.asterisk.org/wiki/display/AST/Installing+the+Asterisk+Test+Suite [3] https://wiki.asterisk.org/wiki/display/AST/Running+the+Asterisk+Test+Suite -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com http://asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Feb 12, 2015, at 9:11 AM, Joshua Colp jc...@digium.com wrote: Justin Sherrill wrote: I would love to run Asterisk on a BSD system. I do not know of any developers actively working on Asterisk on a BSD platform, though my knowledge isn't comprehensive. I'm also unaware of anyone developing on BSD like that. Linux of course and a smattering of folks on OSX doing the odd thing. /me is an odd developer occasionally doing odd things on OS X. If anyone wants to improve Asterisk on any non-Linux system, a good place to start is to run it with some of the common developer flags enabled (pass --enable-dev-mode to configure, enable DO_CRASH, enable the TEST_FRAMEWORK and run the tests). The increased warning level on GCC catches a few portability bugs, that are usually straightforward to fix. The tests can be harder, since you don’t know if it’s a problem in the test itself, or in Asterisk. Unfortunately, I doubt the Python test suite would run on non-Linux. I don’t even bother trying to run it on Ubuntu; I have a CentOS VM specifically for running the test suite to avoid platform problems. -- David M. Lee Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com http://www.digium.com/ www.asterisk.org http://www.asterisk.org/-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Thu, Feb 12, 2015 at 10:38 AM, David M. Lee d...@digium.com wrote: On Feb 12, 2015, at 9:11 AM, Joshua Colp jc...@digium.com wrote: Justin Sherrill wrote: I would love to run Asterisk on a BSD system. I do not know of any developers actively working on Asterisk on a BSD platform, though my knowledge isn't comprehensive. I'm also unaware of anyone developing on BSD like that. Linux of course and a smattering of folks on OSX doing the odd thing. /me is an odd developer occasionally doing odd things on OS X. If anyone wants to improve Asterisk on any non-Linux system, a good place to start is to run it with some of the common developer flags enabled (pass --enable-dev-mode to configure, enable DO_CRASH, enable the TEST_FRAMEWORK and run the tests). The increased warning level on GCC catches a few portability bugs, that are usually straightforward to fix. The tests can be harder, since you don’t know if it’s a problem in the test itself, or in Asterisk. Unfortunately, I doubt the Python test suite would run on non-Linux. I don’t even bother trying to run it on Ubuntu; I have a CentOS VM specifically for running the test suite to avoid platform problems. It runs just fine on Debian based systems. Most issues you will run into are just making sure the dependencies are set up correctly. It does require Python 2.6+ (recommended: Python 2.7 just in case something has slipped in that we missed.) -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com http://asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is Asterisk a Linux only system?
On Feb 12, 2015, at 10:42 AM, Matthew Jordan mjor...@digium.com wrote: On Thu, Feb 12, 2015 at 10:38 AM, David M. Lee d...@digium.com mailto:d...@digium.com wrote: Unfortunately, I doubt the Python test suite would run on non-Linux. I don’t even bother trying to run it on Ubuntu; I have a CentOS VM specifically for running the test suite to avoid platform problems. It runs just fine on Debian based systems. Most issues you will run into are just making sure the dependencies are set up correctly. It does require Python 2.6+ (recommended: Python 2.7 just in case something has slipped in that we missed.) I was sure it would. But the instructions are for CentOS/EL, and I used up all of my sense of adventure just getting Asterisk running on OS X. -- David M. Lee Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com http://www.digium.com/ www.asterisk.org http://www.asterisk.org/-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users