Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Is Asterisk a Linux only system?

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
darcy at Vex.Net
Guest





PostPosted: Thu Feb 12, 2015 9:26 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

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:darcy@Vex.Net
VoIP: sip:darcy@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
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Thu Feb 12, 2015 9:41 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

On Thu, Feb 12, 2015 at 09:25:39AM -0500, D'Arcy J.M. Cain wrote:
Quote:
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.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@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
Back to top
rwheeler at artifact-s...
Guest





PostPosted: Thu Feb 12, 2015 9:43 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

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:
Quote:
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: rwheeler@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
Back to top
kevin.larsen at pionee...
Guest





PostPosted: Thu Feb 12, 2015 9:44 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

Quote:
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.
Back to top
darcy at Vex.Net
Guest





PostPosted: Thu Feb 12, 2015 9:52 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

On Thu, 12 Feb 2015 09:43:33 -0500
Ron Wheeler <rwheeler@artifact-software.com> wrote:
Quote:
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.

Quote:
- 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?

Quote:
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:darcy@Vex.Net
VoIP: sip:darcy@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
Back to top
darcy at Vex.Net
Guest





PostPosted: Thu Feb 12, 2015 9:54 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

On Thu, 12 Feb 2015 16:39:55 +0200
Tzafrir Cohen <tzafrir.cohen@xorcom.com> wrote:
Quote:
On Thu, Feb 12, 2015 at 09:25:39AM -0500, D'Arcy J.M. Cain wrote:
Quote:
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:darcy@Vex.Net
VoIP: sip:darcy@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
Back to top
Justin.Sherrill at ame...
Guest





PostPosted: Thu Feb 12, 2015 10:10 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

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-bounces@lists.digium.com [mailto:asterisk-users-bounces@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:darcy@Vex.Net
VoIP: sip:darcy@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
Back to top
jcolp at digium.com
Guest





PostPosted: Thu Feb 12, 2015 10:13 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

Justin Sherrill wrote:
Quote:
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
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Thu Feb 12, 2015 10:17 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

On Thu, Feb 12, 2015 at 03:09:02PM +0000, Justin Sherrill wrote:
Quote:
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.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@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
Back to top
j.halifax2 at seznam.cz
Guest





PostPosted: Thu Feb 12, 2015 10:52 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

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 Smile
Back to top
dlee at digium.com
Guest





PostPosted: Thu Feb 12, 2015 11:39 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

Quote:
On Feb 12, 2015, at 9:11 AM, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Justin Sherrill wrote:
Quote:
I would love to run Asterisk on a BSD system. I do not know of anydevelopers actively working on Asterisk on a BSD platform, though myknowledge 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. LeeDigium, Inc. | Software Developer445 Jan Davis Drive NW - Huntsville, AL 35806 - USACheck us out at: www.digium.com & www.asterisk.org
Back to top
mjordan at digium.com
Guest





PostPosted: Thu Feb 12, 2015 11:40 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

On Thu, Feb 12, 2015 at 8:52 AM, D'Arcy J.M. Cain <darcy@vex.net (darcy@vex.net)> wrote:
Quote:
On Thu, 12 Feb 2015 09:43:33 -0500
Ron Wheeler <rwheeler@artifact-software.com (rwheeler@artifact-software.com)> wrote:
Quote:
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.

Quote:
- 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
Back to top
mjordan at digium.com
Guest





PostPosted: Thu Feb 12, 2015 11:43 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

On Thu, Feb 12, 2015 at 10:38 AM, David M. Lee <dlee@digium.com (dlee@digium.com)> wrote:
Quote:
Quote:
On Feb 12, 2015, at 9:11 AM, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:

Justin Sherrill wrote:
Quote:
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
Back to top
dlee at digium.com
Guest





PostPosted: Thu Feb 12, 2015 11:58 am    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

Quote:
On Feb 12, 2015, at 10:42 AM, Matthew Jordan <mjordan@digium.com (mjordan@digium.com)> wrote:
On Thu, Feb 12, 2015 at 10:38 AM, David M. Lee <dlee@digium.com (dlee@digium.com)> wrote:
Quote:

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. LeeDigium, Inc. | Software Developer445 Jan Davis Drive NW - Huntsville, AL 35806 - USACheck us out at: www.digium.com & www.asterisk.org
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Thu Feb 12, 2015 3:28 pm    Post subject: [asterisk-users] Is Asterisk a Linux only system? Reply with quote

On Thu, Feb 12, 2015 at 10:38:33AM -0600, David M. Lee wrote:

Quote:
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.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services