pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[no subject]
To: darcy%NetBSD.org@localhost
Subject: Re: Building and running comms/asterisk
Cc: Mayuresh <mayuresh%acm.org@localhost>, David Wetzel
<dave%turbocat.de@localhost>,
pkgsrc-users%NetBSD.org@localhost
On Oct 1, 1:27pm, "D'Arcy J.M. Cain" wrote:
} On Sat, 15 Jun 2013 06:22:39 -0400
} "D'Arcy J.M. Cain" <darcy%NetBSD.org@localhost> wrote:
} > If you need to build it, here is what I did.
} >
} > 1. cd to .../pkgsrc/comms/asterisk
} > 2. run "make configure"
} > 3. in the work directory edit ./include/asterisk/autoconfig.h
} > 4. Change "#undef HAVE_OPENSSL_SRTP 1" to "#undef HAVE_OPENSSL_SRTP"
} > 5. Continue building and installing as normal.
} >
} > I can't say that this is a good general fix but it works for me.
This seems to be an issue with way OpenSSL was integrated into
NetBSD. See here for a fix:
http://mail-index.netbsd.org/netbsd-users/2013/01/04/msg012270.html
} Well, it's not a good fix. Under the current (asterisk-11.5.1nb1)
} version it dumps core when you make this fix.
This is something that came to my attention relatively recently.
I have done some preliminary investigations. It seems that Asterisk
has switched to using PJSIP instead of using its own SIP implementation.
Early guess is that the embedded PJSIP isn't being compiled properly
(i.e. not using -pthread) as it crashes when calling a minor pthread
function.
} Does anyone have Asterisk working on NetBSD?
Yes, of course. I use comms/asterisk18 in production.
comms/asterisk10 should be fine as well since it predates the usage
of PJSIP.
asterisk18 is a Long Term Support version which will switch
to security fix only on October 21st, 2014, so it will be fully
supported for another year.
asterisk10 is a standard version which has already gone to
security fix only status and will hit EOL on December 15th. It
will be replaced by comms/asterisk12 when that is released (tentatively
scheduled for this month). I have an alpha version of it, but
packaging isn't complete. It is also using a new SIP implementation.
Asterisk version information is at:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions
}-- End of excerpt from "D'Arcy J.M. Cain"
Home |
Main Index |
Thread Index |
Old Index