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

2015-02-12 Thread Tzafrir Cohen
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

[asterisk-users] Debugging some DTMF Weirdness.

2015-02-12 Thread John Kiniston
I'm attempting to find where my extra long DTMF  Tones are coming from.

I'm dialing from my sip handset through my proxy to my Asterisk box which
is my PSTN Gateway.

I'm pressing 4 to select a menu and everything is fine.

[Feb 12 16:58:18] DTMF[29762] channel.c: DTMF begin '4' received on
SIP/trunk-0a02dee0
[Feb 12 16:58:18] DTMF[29762] channel.c: DTMF begin passthrough '4' on
SIP/trunk-0a02dee0
[Feb 12 16:58:18] DTMF[29762] channel.c: DTMF end '4' received on
SIP/trunk-0a02dee0, duration 150 ms
[Feb 12 16:58:18] DTMF[29762] channel.c: DTMF end accepted with begin '4'
on SIP/trunk-0a02dee0
[Feb 12 16:58:18] DTMF[29762] channel.c: DTMF end passthrough '4' on
SIP/trunk-0a02dee0
[Feb 12 16:58:19] DTMF[29760] channel.c: DTMF begin '4' received on
SIP/trunk-0a03aaa0
[Feb 12 16:58:19] DTMF[29760] channel.c: DTMF begin passthrough '4' on
SIP/trunk-0a03aaa0
[Feb 12 16:58:19] DTMF[29760] channel.c: DTMF end '4' received on
SIP/trunk-0a03aaa0, duration 170 ms
[Feb 12 16:58:19] DTMF[29760] channel.c: DTMF end accepted with begin '4'
on SIP/trunk-0a03aaa0
[Feb 12 16:58:19] DTMF[29760] channel.c: DTMF end passthrough '4' on
SIP/trunk-0a03aaa0

I'm, pressing 9 to select an option and I hear an extra long DTMF burst
from my handset.

[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF begin '9' received on
SIP/trunk-0a02dee0
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF begin passthrough '9' on
SIP/trunk-0a02dee0
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF begin '9' received on Zap/59-1
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF begin passthrough '9' on
Zap/59-1
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF end '9' received on
SIP/trunk-0a02dee0, duration 1700 ms
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF end accepted with begin '9'
on SIP/trunk-0a02dee0
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF end passthrough '9' on
SIP/trunk-0a02dee0
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF end '9' received on Zap/59-1,
duration 32 ms
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF end accepted with begin '9'
on Zap/59-1
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF end '9' has duration 32 but
want minimum 80, emulating on Zap/59-1
[Feb 12 16:58:20] DTMF[29762] channel.c: DTMF end emulation of '9' queued
on Zap/59-1

Can someone explain the received passthrough parts of my output here?

If I send my call out through a different Asterisk box I have my calls are
working fine, Looking at the two boxes I have the same version of asterisk
but the machine with the extra long DTMF is using hardware DTMF decoding
where the working machine is using software only.

-- 
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
---Heinlein
-- 
_
-- 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?

2015-02-12 Thread Ron Wheeler

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?

2015-02-12 Thread D'Arcy J.M. Cain
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?

2015-02-12 Thread Tzafrir Cohen
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?

2015-02-12 Thread Kevin Larsen
 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

[asterisk-users] 1.8.11.0 - CLI error res_timing_timerfd

2015-02-12 Thread Stefan Viljoen
Hi all

Sometimes (about every three months) some of my Asterisk 1.8 boxes will
start running this message thousands of times in the CLI:

[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument

ad infinitum

Sometimes, this will disappear after a few minutes, and not re-appear. On
other occassions, after this started appearing in the CLI, the Asterisk will
crash without any slowdown or problems. On yet other occassions, the box
will start getting slower, load average rising and rising until it become
virtually frozen and it has to be rebooted in order to come back up in a
functional state again.

I've also noticed that stopping the Asterisk process and restarting it does
not help  if this error is in effect and a slowdown (rising load average)
has started - the whole physical machine has to be rebooted in toto.

I'm running on Centos 6.5.

Anybody else seen this message before? What does it mean?

Thanks

Kind regards

Stefan


-- 
_
-- 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] 1.8.11.0 - CLI error res_timing_timerfd

2015-02-12 Thread Gareth Blades

On 12/02/15 12:25, Stefan Viljoen wrote:

Hi all

Sometimes (about every three months) some of my Asterisk 1.8 boxes will
start running this message thousands of times in the CLI:

[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument
[Feb 12 14:18:23] ERROR[28129]: res_timing_timerfd.c:180 timerfd_timer_ack:
Call to timerfd_gettime() error: Invalid argument

ad infinitum

Sometimes, this will disappear after a few minutes, and not re-appear. On
other occassions, after this started appearing in the CLI, the Asterisk will
crash without any slowdown or problems. On yet other occassions, the box
will start getting slower, load average rising and rising until it become
virtually frozen and it has to be rebooted in order to come back up in a
functional state again.

I've also noticed that stopping the Asterisk process and restarting it does
not help  if this error is in effect and a slowdown (rising load average)
has started - the whole physical machine has to be rebooted in toto.

I'm running on Centos 6.5.

Anybody else seen this message before? What does it mean?

Thanks

Kind regards

Stefan


timerfd is the kernel based timing source. If restarting Asterisk does 
not fix it then the next step I would suggest is updating the system to 
make sure you have the latest kernel installed and giving the server a 
reboot to activate it.


We run Asterisk 11.6 on Centos 6 and have never seen that issue on any 
of our servers.



--
_
-- 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?

2015-02-12 Thread Joshua Colp

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?

2015-02-12 Thread Tzafrir Cohen
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?

2015-02-12 Thread D'Arcy J.M. Cain
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?

2015-02-12 Thread D'Arcy J.M. Cain
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?

2015-02-12 Thread Justin Sherrill
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?

2015-02-12 Thread j.halifax2
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?

2015-02-12 Thread Matthew Jordan
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?

2015-02-12 Thread David M . Lee
 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?

2015-02-12 Thread Matthew Jordan
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?

2015-02-12 Thread David M. Lee

 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