Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159013 - asterisk-1.4.0 (and related) ebuilds
Summary: asterisk-1.4.0 (and related) ebuilds
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: voip herd (OBSOLETE)
URL: http://www.asterisk.org
Whiteboard:
Keywords:
Depends on: 285435
Blocks:
  Show dependency tree
 
Reported: 2006-12-24 05:10 UTC by Stefan Knoblich (RETIRED)
Modified: 2010-11-27 15:22 UTC (History)
41 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My emerge output (emerge.txt,7.02 KB, text/plain)
2006-12-30 11:05 UTC, Richard Young
Details
Failed emerge output (emerge.txt,51.86 KB, text/plain)
2006-12-30 12:05 UTC, Richard Young
Details
Fix for imap and qt USE flags (asterisk-1.4.0-configure.patch,1.00 KB, patch)
2007-01-04 21:38 UTC, Denis Seleznyov
Details | Diff
zaptel-1.4.2.1-r1.ebuild for testing, not working on Xen DumU (zaptel-1.4.2.1-r1.ebuild,9.18 KB, text/plain)
2007-05-25 09:44 UTC, Norbert Marx
Details
asterisk-1.4.2-r1 with bristuff 0.4.0 for testing (asterisk-1.4.2-r1.ebuild,11.12 KB, text/plain)
2007-05-25 11:55 UTC, Norbert Marx
Details
libpri with bristuff 0.4.0 for testing (libpri-1.4.0-r1.ebuild,1.37 KB, text/plain)
2007-05-25 11:56 UTC, Norbert Marx
Details
build.log of failed asterisk-1.4.7.1 with USE="h323" (build-asterisk-1.4.7.1_h323.log,16.59 KB, text/plain)
2007-07-14 08:44 UTC, Frank-Ralph Reiser
Details
build.log of failed asterisk-chan_capi-0.7.1 after installing asterisk-1.4.7.1 with USE="-h323" (build-asterisk-chan_capi-0.7.1.log,3.20 KB, text/plain)
2007-07-14 08:46 UTC, Frank-Ralph Reiser
Details
build.log of failed asterisk-chan_capi-1.0.1 after installing asterisk-1.4.7.1 with USE="-h323" (build-asterisk-chan_capi-1.0.1.log,1.49 KB, text/plain)
2007-07-14 08:46 UTC, Frank-Ralph Reiser
Details
failed emerge of asterisk-1.4.10.ebuild (ast1410.txt,6.02 KB, text/plain)
2007-08-15 17:09 UTC, Eldon Balzer
Details
allow Asterisk to set high ToS bits as non-root on Linux (CAP_NET_ADMIN.patch,22.89 KB, patch)
2007-09-20 11:39 UTC, Tim Dodge
Details | Diff
kernel >= 2.6.22 uncompat fix (zaptel-1.4.6-kern2.6.22.diff,492 bytes, patch)
2007-11-18 02:25 UTC, Csaba Tóth
Details | Diff
updated zaptel patch (zaptel-1.4.6-gentoo.diff,6.73 KB, patch)
2007-11-18 02:26 UTC, Csaba Tóth
Details | Diff
updated ebuild to incude the kernel patch too (zaptel-1.4.6.ebuild,9.13 KB, text/plain)
2007-11-18 02:27 UTC, Csaba Tóth
Details
updated libpri patch (libpri-1.4.2-gentoo.diff,1.86 KB, patch)
2007-11-18 02:30 UTC, Csaba Tóth
Details | Diff
header fix (libpri-hfix.patch,365 bytes, patch)
2007-11-18 02:31 UTC, Csaba Tóth
Details | Diff
the modified libpri ebuild (libpri-1.4.2.ebuild,1.34 KB, text/plain)
2007-11-18 02:31 UTC, Csaba Tóth
Details
agx-ast-addons-1.4.3.ebuild (agx-ast-addons-1.4.3.ebuild,801 bytes, text/plain)
2008-01-04 07:41 UTC, Lónyai Gergely
Details
spandsp-0.0.4_pre15 (spandsp-0.0.4_pre15.ebuild,637 bytes, text/plain)
2008-01-04 07:45 UTC, Lónyai Gergely
Details
bristuff-0.4.0-test4-ksrc.patch (bristuff-0.4.0-test4-ksrc.patch,2.05 KB, patch)
2008-01-04 12:48 UTC, Natanael Copa
Details | Diff
zaptel-1.4.7.1.ebuild (zaptel-1.4.7.1.ebuild,9.20 KB, text/plain)
2008-01-04 12:51 UTC, Natanael Copa
Details
zaptel-1.4.7.1-gentoo.diff (zaptel-1.4.7.1-gentoo.diff,7.37 KB, patch)
2008-01-04 12:52 UTC, Natanael Copa
Details | Diff
diff between zaptel 1.4.6 and 1.4.7.1 ebuilds (zaptel-ebuild-1.4.6-1.4.7.1.diff,7.82 KB, patch)
2008-01-04 12:56 UTC, Natanael Copa
Details | Diff
Asterisk 1.4.18 ebuild (without bristuff) (asterisk-1.4.18.ebuild,11.09 KB, text/plain)
2008-02-16 13:04 UTC, Thomas Stein
Details
configure patch (asterisk-1.4.18-configure-gentoo.diff,840 bytes, patch)
2008-02-16 13:05 UTC, Thomas Stein
Details | Diff
rundir patch (asterisk-1.4.18-var_rundir.patch,457 bytes, patch)
2008-02-16 13:05 UTC, Thomas Stein
Details | Diff
Zaptel 1.4.9 ebuild with ztdummy-only Use Flag (without bristuff) (zaptel-1.4.9.ebuild,2.27 KB, text/plain)
2008-02-19 09:33 UTC, Thomas Stein
Details
patch for zaptel 1.4.9 (zaptel-1.4.9-gentoo.diff,4.84 KB, patch)
2008-02-19 09:34 UTC, Thomas Stein
Details | Diff
options file for just create ztdummy (menuselect.makeopts,280 bytes, patch)
2008-02-19 09:35 UTC, Thomas Stein
Details | Diff
lame asterisk addons 1.4.6 ebuild :-) (asterisk-addons-1.4.6.ebuild,1.70 KB, text/plain)
2008-02-22 11:08 UTC, Thomas Stein
Details
options file (asteriskaddons.makeopts,273 bytes, text/plain)
2008-02-22 11:09 UTC, Thomas Stein
Details
zaptel-1.4.9.2.ebuild (zaptel-1.4.9.2.ebuild,8.39 KB, text/plain)
2008-03-31 14:38 UTC, Natanael Copa
Details
zaptel-1.4.9.2-bristuff-KSRC.patch (zaptel-1.4.9.2-bristuff-KSRC.patch,765 bytes, patch)
2008-03-31 14:40 UTC, Natanael Copa
Details | Diff
zaptel-1.4.9.2-gentoo.diff (zaptel-1.4.9.2-gentoo.diff,2.98 KB, patch)
2008-03-31 14:41 UTC, Natanael Copa
Details | Diff
zaptel-1.4.9.ebuild.diff (zaptel-1.4.9.ebuild.diff,8.87 KB, patch)
2008-03-31 14:51 UTC, Natanael Copa
Details | Diff
patch to make agx-ast-addons work against newer spandsp (spandsp.patch,7.75 KB, patch)
2008-07-23 23:58 UTC, Jaco Kroon
Details | Diff
net-misc/agx-ast-addons-1.4.5 (agx-ast-addons-1.4.5.ebuild,894 bytes, text/plain)
2008-07-23 23:59 UTC, Jaco Kroon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Knoblich (RETIRED) gentoo-dev 2006-12-24 05:10:33 UTC
WIP, feature requests, comments, status reports etc. go here
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2006-12-30 10:34:21 UTC
libpri-1.4.0, zaptel-1.4.0, asterisk-1.4.0 ebuilds are in the voip overlay
(-* masked!).

current state:

* all ebuilds

  bristuff support missing (waiting for updated upstream release)


* asterisk-1.4.0:

  weak references patch not included; needs update
  (maybe not needed at all? did they replace the module loader? check first)

  hardened useflag renamed to pic (requested by solar)

  keepsrc implemented; installs sources into /usr/src/${PF} for
  custom patching (never really made it into the 1.2 series,
  well here it is... finally...(requested by SwK in #asterisk iirc))

  pri useflag removed; zaptel useflag pulls in libpri and zaptel now.

  ASTERISK_MODULES (environment variable, -> make.conf) implemented,
  only build the modules listed in this variable, skips modules that have
  unresolved dependencies (e.g. chan_zap without zaptel installed, and no
  doing this in pkg_setup to die there will get messy...)
  scans the source for a list of available modules to verify user input.
  still WIP (note: this feature implies you know what you are doing... really 
  easy to shoot yourself in the foot)

  TODO: updated update handling (hrhr) to support asterisk-1.0/1.2 -> 1.4
  updates asterisk-updater script needs update, 1.2/1.4 API are incompatible
  (so if your shiny new asterisk-1.4 installation crashes right away, there's
   at least one old 1.2 module somewhere...)

  menuselect supports soundfiles in different languages and formats,
  the files are fetched during installation right now... 
  TODO: avoid doing that and somehow support the different soundsets

  use econf now (wow, a configure script... openpbx.org influence showing here
  :> )

  TODO: misdn...

  TODO: T.38 support(*cough*? spandsp?) probably add more useflags,
  drop ukcid(?)

  TODO: rewrite/fix wrapper init script(?)

  TODO: update / test tons of external modules (yay... fun :/ )

  TODO: check dependencies, compile and run testing on several environments

  TODO: things i've forgotten now


* zaptel-1.4.0:

  _not_ changed permissions on zaptel device nodes
 (they're still root:dialout 660)

 usb useflag added

 use econf now (well, menuselect just for a few tools is a little overkill,
 isn't it?)

 TODO: there's a new echo canceller somewhere in there... need to add that to
 the list...


* libpri-1.4.0:

 nothing new here...


* missing:

 TODO: asterisk-addons-1.4.0
Comment 2 Richard Young 2006-12-30 11:05:03 UTC
Created attachment 105003 [details]
My emerge output

It had already compiled, so the emerge skipped and tried to install

It's the install that fails anyways
Comment 3 Stefan Knoblich (RETIRED) gentoo-dev 2006-12-30 11:52:50 UTC
* asterisk-1.4.0:

  added popt to dependencies for smsq
Comment 4 Richard Young 2006-12-30 12:05:57 UTC
Created attachment 105004 [details]
Failed emerge output

The last part of the output was pasted in because it didn't end up in my output file for whatever reason
Comment 5 Stefan Knoblich (RETIRED) gentoo-dev 2006-12-30 12:25:52 UTC
* asterisk-1.4.0:

  installation failes with MAKEOPTS="-jN" (and N>1), use -j1 in src_install()
Comment 6 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-01-04 11:16:36 UTC
For uclibc based systems I had to add:

AST_LIBS+=-lpthread -ldl

to main/Makefile to get it to compile. 

I didn't really have time to determine what checks were missing. Otherwise there were no compile problems so far.
Comment 7 Denis Seleznyov 2007-01-04 21:38:26 UTC
Created attachment 105448 [details, diff]
Fix for imap and qt USE flags

configure tries to find uw-imap in really dumb manner. Also fixed compilation issue with qt USE flag.
Comment 8 Dave Oxley 2007-01-13 03:44:59 UTC
The file asterisk-1.4.0-uclibc.patch is missing from trunk/net-misc/asterisk/files
Comment 9 Michael Curtis 2007-01-24 10:33:04 UTC
The ebuild only lists ftp.digium.com as a download site, however this failed for me with a server error.  ftp2.digium.com (downloaded and moved to distfiles manually) worked for me... Perhaps use both ftp1 and ftp2 as mirrors (these seem to be the "official" names now).
Comment 10 Jason Potkanski 2007-01-25 17:17:03 UTC
Had to use emerge --digest -av =net-misc/asterisk-1.4.0 to install as well as altering the ebuild keyword to add x86. 

Adding asterisk-1.4.0 to portage.keywords did not work on my system...probably related to portage rather than the ebuild itself.

What is a bug is that digest verification failed: expected 10708 ...got 10709...perhaps just an ftp glitch.

-jtp
Comment 11 NETwork.ORGanization - Alexander Schoberl 2007-03-07 21:15:14 UTC
is there any time table for getting a ebuild in the portage or is this BUG like dead ??? In case of the security hole it is very important to get a 1.4.1 ebuild !!!!!

thx alex
Comment 12 Stefan Knoblich (RETIRED) gentoo-dev 2007-03-09 23:49:30 UTC
(In reply to comment #10)
>Adding asterisk-1.4.0 to portage.keywords did not work on my system...probably
>related to portage rather than the ebuild itself.

echo "net-misc/asterisk -*" >> /etc/portage/package.keywords

(In reply to comment #11)
>is there any time table for getting a ebuild in the portage or is this BUG >like dead ???

There is no roadmap, so the answer is "when it's ready".

>In case of the security hole it is very important to get a 1.4.1
>ebuild !!!!!

Not really, this is an experimental work-in-progress ebuild that has no keywords, it's not meant for production use. There won't be any
support security-wise until it has been keyworded for general testing / stable.



Anyway... version bumped, qa warning and useflag fixes.
Comment 13 Martin Smith 2007-03-10 19:51:44 UTC
The 1.4.1 ebuild references initd and confd scripts in the files directory, but the overlay doesn't appear to have these. I wouldn't be surprised if the scripts/files from portage would do fine. Gentoo users will expect to find init.d and conf.d files for asterisk when they install 1.4.x.
Comment 14 Martin Smith 2007-03-10 20:09:35 UTC
The 1.4.1 ebuild references initd and confd scripts in the files directory, but the overlay doesn't appear to have these. I wouldn't be surprised if the scripts/files from portage would do fine. Gentoo users will expect to find init.d and conf.d files for asterisk when they install 1.4.x.

It also appears that /var/run/asterisk is not created by the ebuild.
Comment 15 NETwork.ORGanization - Alexander Schoberl 2007-03-10 21:33:57 UTC
(In reply to comment #12)
> >In case of the security hole it is very important to get a 1.4.1
> >ebuild !!!!!
> 
> Not really, this is an experimental work-in-progress ebuild that has no
> keywords, it's not meant for production use. There won't be any
> support security-wise until it has been keyworded for general testing / stable.

Not really ?? Maybe you don't read the security hole in 1.4.0 (you can read this here http://www.asterisk.org/node/48320) ?? So Asterisk have an official release of 1.4.1 !!! 

Maybe it should better way to work with their direct tarballs because in Gentoo there nothing happens for newer versions like 1.2.15, 1.2.16 and never a 1.4.x version available in the portage tree.

And surely a "overlay 1.4.0-beta3" isn't a success ;-) And to work on a 1.0.12-r1 (9 Mar 2007) is a little bit stupid way to support old versions before new bugfixed releases. Sorry for that criticism.

bye alex
Comment 16 Lorenz Kiefner 2007-03-16 11:36:21 UTC
Hello,
I get the following output from libchanh323.a:
***************************************************************

********** Re-run 'make' to pick up H.323 parameters **********

***************************************************************

The ebuild stops there. When I "make" and "make install" everything is built fine.

USE-Flags:
net-misc/asterisk-1.4.1  USE="curl freetds h323 jabber mmx newt pic snmp speex sqlite ssl vorbis zlib -alsa -debug -imap -kde -keepsrc -misdn -mysql -nosamples -odbc -oss -postgres -qt3 -radius -static -zaptel"
Comment 17 Martin Smith 2007-03-18 18:40:13 UTC
The 1.4.1 ebuild uses the following command for conf:

./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --localstatedir=/var --with-gsm=internal --with-popt --without-qt --without-oss --with-ssl --with-asound --without-curl --without-h323 --without-imap --without-ssl --without-newt --without-odbc --without-snmp --with-z --without-misdn --with-mysql --without-pwlib --without-speex --without-iksemel --without-radius --without-sqlite --without-vorbis --without-ogg --without-zaptel --without-pri --without-tonezone --without-tds --without-postgres --build=i386-pc-linux-gnu

Is this part wrong:
--with-ssl ... --without-imap --without-ssl

Seems like without imap but with ssl = without ssl?
Comment 18 Luke McKee 2007-04-13 17:41:04 UTC
I am working on a 1.4.2 ebuild with support for H323 and chan_cellphone.
I'm still testing and I will post to the list when I'm finished.

Anyone have any reconmendations for H323? I can build openh323 in conjunction with asterisk or I can re-run the asterisk build a second time once it's worked out the H323 configuration.

Chan_cellphone doesn't like gentoo's up to date bluetooth libs. It will be great when I'm finished. The SLUG and openWRT people are beating us to the punch ;)


Luke
Comment 19 Sam Jacobson 2007-04-15 14:25:15 UTC
Asterisk 1.4.2 is now available. The net-misc/asterisk-1.4.1 ebuild (in the voip overlay) worked to install asterisk 1.4.2 with just a version bump. Zap channels would not build in 1.4.2 though (needs zaptel version 1.4.1). I wrote an updated ebuild for net-misc/zaptel-1.4.1, see bug #174681. I now have a working installation of asterisk-1.4.2 with zap channels.
Comment 20 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-15 15:02:49 UTC
asterisk 1.4.2 is already in the voip overlay. I have changed the zaptel dep accordingly, thanks.
Comment 21 Dave Liefbroer 2007-04-17 11:23:01 UTC
Could we get a status update on this?

What's needed to get the ebuild into testing?
Comment 22 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-17 12:06:20 UTC
(In reply to comment #21)
> What's needed to get the ebuild into testing?

A developer to commit and support it. A plus would be if he would also actively ue the software. I do not actively use it and thus committing does not make sense.

Besides see the unresolved issues in this bug :)
Comment 23 Dave Oxley 2007-04-29 11:37:01 UTC
The init.d and conf.d files are missing from trunk/net-misc/asterisk/files.
Comment 24 Sam Jacobson 2007-04-29 13:46:20 UTC
For now get them from the 1.2.0 version, ie:
# cp /usr/portage/net-misc/asterisk/files/1.2.0/asterisk.rc6 /etc/init.d/asterisk
# cp /usr/portage/net-misc/asterisk/files/1.2.0/asterisk.confd /etc/conf.d/asterisk

They work for me. I'll post a patch to the ebuild shortly.
Comment 25 Sam Jacobson 2007-04-29 14:14:09 UTC
Sorry, my apologies. I answered too soon. As you obviously realised they're referenced in the ebuild, but just missing from the overlay.

Is there a reason why there are no keywords against asterisk-1.4.3? I can't find a way to unmask with package.keywords, and had to edit the ebuild. Can we add ~x86, and ~arch of anyone else who can at least get it to compile?

Also, I propose the SRC_URI be changed from:
SRC_URI="ftp://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz"
to:
SRC_URI="ftp://ftp.digium.com/pub/asterisk/old-releases/${MY_P}.tar.gz"

The old-releases directory *does* have the latest releases. The pub/asterisk directory only has the latest release, so the ebuild stops being able to fetch as soon as a new release is made.

Just installed asterisk-1.4.4, and is working for me.
Comment 26 nuitari 2007-05-03 03:43:50 UTC
I've upgraded to 1.4.4 by copying the 1.4.3 ebuild to the new version and running a digest. All seems well.

I've tried adding func_devstate by putting the file there, however all I get are a bunch of compile errors and I really don't have the time to look into it.

zaptel-1.4.1 worked for me, the 1.4.2 version is missing a diff
Comment 27 Timo Gurr (RETIRED) gentoo-dev 2007-05-08 14:16:08 UTC
I wonder if it's only me but where are the init scripts? Are they actually installed? Copying the ebuild to 1.4.4 worked for me also.
Comment 28 Norbert Marx 2007-05-25 09:44:51 UTC
Created attachment 120258 [details]
zaptel-1.4.2.1-r1.ebuild for testing, not working on Xen DumU

Updated patches for bristuff (BRI_VERSION="0.4.0-test1") and florz FLORZ_VERSION="0.4.0-test1_florz-13") for testing. Compiled successfully on amd64.

Test result for zaphfc:
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.4.2.1
Zaptel Echo Canceller: MG2
zaphfc: jitterbuffer size: 1
PCI: Enabling device 0000:00:00.0 (0000 -> 0003)
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0x30c00 fifo 0xb240000(0x35e55000) IRQ 20 HZ 100
zaphfc: Card 0 configured for TE mode
zaphfc: Card 0 configured for master mode
zaphfc: hfc busy.
zaphfc: 1 hfc-pci card(s) in this box.
Registered tone zone 6 (Spain)
Zaptel Transcoder support loaded

-> not working. Can be a Xen 3.0.4 DomU problem.
Comment 29 Norbert Marx 2007-05-25 11:55:27 UTC
Created attachment 120271 [details]
asterisk-1.4.2-r1 with bristuff 0.4.0 for testing

Compiled succesfully on amd64.
Comment 30 Norbert Marx 2007-05-25 11:56:29 UTC
Created attachment 120272 [details]
libpri with bristuff 0.4.0 for testing

Compiled successfully on amd64.
Comment 31 Michael Sparpaglione 2007-06-02 06:33:23 UTC
just an fyi, i used the 1.4.4 ebuild, added this:

    if use h323 ; then
        #emake one time to get h323 to make.... yea not "clean" but works
        emake
    fi

before the:

    emake || die "emake failed"

and it builds with the h323 support i think.
Comment 32 Doug Goldstein (RETIRED) gentoo-dev 2007-07-02 19:20:22 UTC
(In reply to comment #25)
> 
> Also, I propose the SRC_URI be changed from:
> SRC_URI="ftp://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz"
> to:
> SRC_URI="ftp://ftp.digium.com/pub/asterisk/old-releases/${MY_P}.tar.gz"
> 

Done.
Comment 33 Frank-Ralph Reiser 2007-07-07 07:39:28 UTC
Added ebuild for 1.4.6
Added the "ugly" workaround for the h323 module:
If the h323 useflag is set, emake is called twice (without cleaning the build directories) as suggested in http://bugs.gentoo.org/show_bug.cgi?id=159013#c31
Comment 34 Frank-Ralph Reiser 2007-07-07 09:30:47 UTC
Hmm. Seems like net-misc/asterisk-chan_capi doesn't compile with asterisk-1.4.6
Could someone try and verify?
Comment 35 Doug Goldstein (RETIRED) gentoo-dev 2007-07-12 19:55:36 UTC
For any updates to the ebuilds, please provide diffs against the current ebuilds. That's much easier to figure out what you want changed.
Comment 36 Frank-Ralph Reiser 2007-07-14 08:44:36 UTC
Created attachment 124810 [details]
build.log of failed asterisk-1.4.7.1 with USE="h323"

net-misc/asterisk-1.4.7.1 fails with USE="h323" here.
net-misc/asterisk-1.4.7.1 works with USE="-h323" here.
net-libs/openh323-1.18.0 is installed.
Comment 37 Frank-Ralph Reiser 2007-07-14 08:46:01 UTC
Created attachment 124811 [details]
build.log of failed asterisk-chan_capi-0.7.1 after installing asterisk-1.4.7.1 with USE="-h323"

net-misc/asterisk-chan_capi-0.7.1 still fails with net-misc/asterisk-1.4.7.1
Comment 38 Frank-Ralph Reiser 2007-07-14 08:46:39 UTC
Created attachment 124812 [details]
build.log of failed asterisk-chan_capi-1.0.1 after installing asterisk-1.4.7.1 with USE="-h323"

net-misc/asterisk-chan_capi-1.0.1 still fails with net-misc/asterisk-1.4.7.1
Comment 39 Frank-Ralph Reiser 2007-07-14 08:51:10 UTC
What was the last version of asterisk with which asterisk-chan_capi successfully compiled?
Could we agree on leaving the last two or three ebuilds so that other helpers of the voip overlay can still use them (without having to fiddle with svn etc.) in order to find out what's wrong?

Comment 40 Timo Gurr (RETIRED) gentoo-dev 2007-08-13 14:41:04 UTC
Renaming the asterisk-1.4.9.ebuild from the overlay to asterisk-1.4.10.1.ebuild and using the chan_capi-HEAD.tgz with the asterisk-chan_capi-1.0.1.ebuild worked for me for our DIVA card (drivers in #142634).
Comment 41 Eldon Balzer 2007-08-15 17:09:08 UTC
Created attachment 128192 [details]
failed emerge of asterisk-1.4.10.ebuild 

Using layman to manage VOIP overlay.  Update earlier today was at revision 577.  The asterisk tarball for 1.4.10 seems to be 496 bytes?
Comment 42 Jason Smathers (RETIRED) gentoo-dev 2007-08-16 04:56:04 UTC
1.4.10 is failing because the file has been moved on upstream ftp server.  I bumped to 1.4.10.1 on my local machine and I got past this problem.  
Comment 43 Eldon Balzer 2007-08-16 17:32:46 UTC
(In reply to comment #42)
> 1.4.10 is failing because the file has been moved on upstream ftp server.  I
> bumped to 1.4.10.1 on my local machine and I got past this problem.  
> 

I hadn't thought of that :)  I did notice the .1 relase on digium's site before I posted.  I've bumped to 1.4.10.1 and works like a charm.  Thanks!
Comment 44 Atis Lezdins 2007-08-17 12:49:41 UTC
Bad path to asterisk-1.4.10. Also bad digest for correct file (expects file size of 496 bytes)

SRC_URI="http://ftp.digium.com/pub/asterisk/releases/${MY_P}.tar.gz"

Comment 45 Doug Goldstein (RETIRED) gentoo-dev 2007-08-22 19:34:55 UTC
I delete previous versions when it's a security issue. While the voip overlay is not security maintained, I am aiming for asterisk to hit the actual tree very shortly and that follows the policy of the security team.
Comment 46 Tim Dodge 2007-09-20 11:39:47 UTC
Created attachment 131363 [details, diff]
allow Asterisk to set high ToS bits as non-root on Linux

By default asterisk on gentoo runs as user asterisk - this patch (from http://bugs.digium.com/view.php?id=7047) allows asterisk to retain CAP_NET_ADMIN capabilities and therefore set ToS bits when running as user asterisk.

I've altered the patch to apply cleanly to asterisk-1.4.11.

Any chance it can be included (use-enabled) in the ebuild?
Comment 47 Doug Goldstein (RETIRED) gentoo-dev 2007-10-03 18:56:32 UTC
(In reply to comment #46)
> By default asterisk on gentoo runs as user asterisk - this patch (from
> http://bugs.digium.com/view.php?id=7047) allows asterisk to retain
> CAP_NET_ADMIN capabilities and therefore set ToS bits when running as user
> asterisk.
> 
> Any chance it can be included (use-enabled) in the ebuild?
> 

Tim: Can you open the issue with upstream and see what they say about the possibility of backporting this to 1.4?
Comment 48 Thomas Stein 2007-10-12 09:51:55 UTC
May i ask why there is no asterisk-addons ebuild for 1.4?

regards
t.
Comment 49 Luke-Jr 2007-10-12 12:30:07 UTC
Nor asterisk-sounds...
Comment 50 Csaba Tóth 2007-11-18 02:25:51 UTC
Created attachment 136200 [details, diff]
kernel >= 2.6.22 uncompat fix
Comment 51 Csaba Tóth 2007-11-18 02:26:30 UTC
Created attachment 136202 [details, diff]
updated zaptel patch
Comment 52 Csaba Tóth 2007-11-18 02:27:07 UTC
Created attachment 136204 [details]
updated ebuild to incude the kernel patch too
Comment 53 Csaba Tóth 2007-11-18 02:30:28 UTC
Created attachment 136205 [details, diff]
updated libpri patch
Comment 54 Csaba Tóth 2007-11-18 02:31:03 UTC
Created attachment 136207 [details, diff]
header fix
Comment 55 Csaba Tóth 2007-11-18 02:31:41 UTC
Created attachment 136209 [details]
the modified libpri ebuild
Comment 56 Csaba Tóth 2007-11-18 02:37:57 UTC
i updated the zaptel and libpri packages for my own. What is not fixed is the zapnet function in the zaptel package, so dont use it with kernel >= 2.6.22!
Both of them are not perfect, but usable and "just works". I use them in production environments, they are working very well (comlete ~amd64 system: 4.2.2 gcc, 2.7 glibc, 2.6.23 gentoo-sources kernel)
Comment 57 Thomas Stein 2007-11-20 15:41:44 UTC
Is there no maintainer anymore? Asterisk 1.4.14 released a few days ago by the way.

regards
Comment 58 Csaba Tóth 2007-11-23 02:29:24 UTC
U can install asterisk 1.4.14 easily: install layman, add the "voip" overlay, than use the ebuild, You should just rename it to asterisk-1.4.14.ebuild.
But the new version will work just with my recent zaptel and libpri packages.
Comment 59 Thomas Stein 2007-12-14 10:55:08 UTC
Hello.

I am not able to compile app_rtxfax. This ist what i get:

commander asterisk-app_rtxfax # emerge -v =asterisk-app_rtxfax-0.0.2_pre25-r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1 [0.0.2_pre25] 0 kB [1]

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/voip

>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1 to /
 * asterisk-app_rtxfax-0.0.2_pre25.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...  [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking asterisk-app_rtxfax-0.0.2_pre25.tar.bz2 ;-) ...               [ ok ]
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 134: /usr/bin/asterisk-config: No such file or directory
 * Asterisk version:
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 147: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 148: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 149: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 150: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 151: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 152: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 153: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 154: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 155: /usr/bin/asterisk-config: No such file or directory
/usr/portage/local/layman/voip/eclass/asterisk-mod.eclass: line 159: /usr/bin/asterisk-config: No such file or directory
>>> Unpacking source...
>>> Unpacking asterisk-app_rtxfax-0.0.2_pre25.tar.bz2 to /var/tmp/portage/net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1/work/app_rtxfax-0.0.2_pre25 ...
>>> Building app_rxfax...
x86_64-pc-linux-gnu-gcc -g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -march=k8 -O2 -pipe -c -o app_rxfax.o app_rxfax.c
x86_64-pc-linux-gnu-gcc: app_rxfax.c: No such file or directory
x86_64-pc-linux-gnu-gcc: no input files
 *
 * ERROR: net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2525:  Called asterisk-mod_src_compile
 *             environment, line  441:  Called die
 * The specific snippet of code:
 *               ast_do_compile ${AST_CC} ${AST_CFLAGS} ${CFLAGS} ${mod_cflags} -c -o ${obj} ${src} || diefunc "$FUNCNAME" "$LINENO" "$?" "Compiling ${x} failed!";
 *  The die message:
 *   Compiling  failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1/temp/environment'.
 *

 * Messages for package net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1:

 *
 * ERROR: net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2525:  Called asterisk-mod_src_compile
 *             environment, line  441:  Called die
 * The specific snippet of code:
 *               ast_do_compile ${AST_CC} ${AST_CFLAGS} ${CFLAGS} ${mod_cflags} -c -o ${obj} ${src} || diefunc "$FUNCNAME" "$LINENO" "$?" "Compiling ${x} failed!";
 *  The die message:
 *   Compiling  failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/asterisk-app_rtxfax-0.0.2_pre25-r1/temp/environment'.
 *

Any Solution to this?

best regards
t.
Comment 60 Torsten Krah 2007-12-22 17:44:08 UTC
Yeah, take the 1.2 ebuild and use the /usr/bin/asterisk-config wrapper as base, modified to match your installed version, its only a bash script (not the best way to fix, but it works).
Comment 61 Thomas Stein 2007-12-23 11:30:01 UTC
Could you be more specific Torsten? Do you run asterisk 1.4 with app_rtxfax successfully?

cheers
t.
Comment 62 Thomas Stein 2007-12-23 14:05:49 UTC
I use this now. Works perfectly.

http://www.voip-info.org/wiki/view/AGX+Extra+Addons+for+Asterisk

t.
Comment 63 Lónyai Gergely 2008-01-04 07:41:45 UTC
Created attachment 140019 [details]
agx-ast-addons-1.4.3.ebuild

It's working agx ebuild. Replace 1-2 packages.

equery f net-misc/agx-ast-addons
[ Searching for packages matching net-misc/agx-ast-addons... ]
* Contents of net-misc/agx-ast-addons-1.4.3:
/usr
/usr/lib
/usr/lib/asterisk
/usr/lib/asterisk/modules
/usr/lib/asterisk/modules/app_devstate.so
/usr/lib/asterisk/modules/app_nv_backgrounddetect.so
/usr/lib/asterisk/modules/app_nv_faxdetect.so
/usr/lib/asterisk/modules/app_pickup2.so
/usr/lib/asterisk/modules/app_rxfax.so
/usr/lib/asterisk/modules/app_txfax.so
/usr/lib/asterisk/modules/func_devstate.so
Comment 64 Lónyai Gergely 2008-01-04 07:45:42 UTC
Created attachment 140021 [details]
spandsp-0.0.4_pre15

Required for the agx-ast-addons.
Comment 65 Natanael Copa 2008-01-04 12:48:44 UTC
Created attachment 140038 [details, diff]
bristuff-0.4.0-test4-ksrc.patch

makes bristuff use $(KSRC) rather than /usr/src/linux to respect KBUILD_OUTPUT and KERNEL_DIR variables.
Comment 66 Natanael Copa 2008-01-04 12:51:16 UTC
Created attachment 140041 [details]
zaptel-1.4.7.1.ebuild

with bristuff support
Comment 67 Natanael Copa 2008-01-04 12:52:23 UTC
Created attachment 140042 [details, diff]
zaptel-1.4.7.1-gentoo.diff

the zaptel-1.4.6-gentoo.diff patch adapted for 1.4.7.1
Comment 68 Natanael Copa 2008-01-04 12:56:09 UTC
Created attachment 140043 [details, diff]
diff between zaptel 1.4.6 and 1.4.7.1 ebuilds
Comment 69 nuitari 2008-02-02 04:04:05 UTC
When would this get to be inside the main portage tree?
Comment 70 Thomas Stein 2008-02-16 13:04:47 UTC
Created attachment 143656 [details]
Asterisk 1.4.18 ebuild (without bristuff)

Made a simple asterisk 1.4.18 ebuild. Works fine with SIP only installation.
Comment 71 Thomas Stein 2008-02-16 13:05:26 UTC
Created attachment 143658 [details, diff]
configure patch
Comment 72 Thomas Stein 2008-02-16 13:05:49 UTC
Created attachment 143660 [details, diff]
rundir patch
Comment 73 Thomas Stein 2008-02-19 09:33:47 UTC
Created attachment 143940 [details]
Zaptel 1.4.9 ebuild with ztdummy-only Use Flag (without bristuff)

Simple zaptel 1.4.9 ebuild with ztdummy-only use flag. This is all i need because i have no digium hardware.
Comment 74 Thomas Stein 2008-02-19 09:34:43 UTC
Created attachment 143941 [details, diff]
patch for zaptel 1.4.9
Comment 75 Thomas Stein 2008-02-19 09:35:20 UTC
Created attachment 143942 [details, diff]
options file for just create ztdummy
Comment 76 Luke-Jr 2008-02-19 13:37:39 UTC
checking for sqlite_exec in -lsqlite... no
configure: ***
configure: *** The SQLite installation on this system appears to be broken.
configure: *** Either correct the installation, or run configure
configure: *** without explicitly specifying --with-sqlite

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-misc/asterisk-1.4.18/work/asterisk-1.4.18/config.log
 *
 * ERROR: net-misc/asterisk-1.4.18 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2504:  Called econf 'src_compile' 'src_compile' '--libdir=/usr/lib' '--localstatedir=/var' '--with-gsm=internal' '--with-popt' '--with-z' '--without-qt' '--with-oss' '--with-ssl' '--with-asound' '--without-curl' '--with-h323=/usr/share/openh323' '--without-imap' '--without-newt' '--without-odbc' '--without-snmp' '--without-misdn' '--without-isdnnet' '--without-mysql' '--with-pwlib=/usr/share/pwlib' '--with-speex' '--with-iksemel' '--without-radius' '--with-sqlite' '--with-vorbis' '--with-ogg' '--without-zaptel' '--without-pri' '--without-tonezone'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/asterisk-1.4.18/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/asterisk-1.4.18/temp/environment'.
 * This ebuild is from an overlay: '/home/luke-jr/src/gentoo/overlay/'
 *
Comment 77 Thomas Stein 2008-02-19 15:16:06 UTC
I think you need sqlite-2.* to be installed.
Comment 78 Luke-Jr 2008-02-19 15:20:55 UTC
(In reply to comment #77)
> I think you need sqlite-2.* to be installed.

That's what dependencies are for, isn't it?

I wish sqlite <3 would get its own old-sqlite USE flag..
Comment 79 Thomas Stein 2008-02-19 15:27:19 UTC
(In reply to comment #78)
> (In reply to comment #77)
> > I think you need sqlite-2.* to be installed.
> 
> That's what dependencies are for, isn't it?
> 
> I wish sqlite <3 would get its own old-sqlite USE flag..

Feel free to adjust the ebuild. 
Comment 80 Thomas Stein 2008-02-22 11:08:25 UTC
Created attachment 144324 [details]
lame asterisk addons 1.4.6 ebuild :-)

This is a ebuild for asterisk-addons-1.4.6 which was released yesterday (21.2.08). You have to create a file called /etc/asteriskaddons.makeopts which will take care of what module is being compiled and installed. I will upload such an example which will install format_mp3 only.
Comment 81 Thomas Stein 2008-02-22 11:09:32 UTC
Created attachment 144326 [details]
options file

this belongs to /etc
Comment 82 Natanael Copa 2008-03-31 14:38:58 UTC
Created attachment 147840 [details]
zaptel-1.4.9.2.ebuild

zaptel 1.4.9.2 with bristuff
Comment 83 Natanael Copa 2008-03-31 14:40:16 UTC
Created attachment 147843 [details, diff]
zaptel-1.4.9.2-bristuff-KSRC.patch
Comment 84 Natanael Copa 2008-03-31 14:41:49 UTC
Created attachment 147845 [details, diff]
zaptel-1.4.9.2-gentoo.diff
Comment 85 Natanael Copa 2008-03-31 14:51:42 UTC
Created attachment 147851 [details, diff]
zaptel-1.4.9.ebuild.diff

diff between zaptel-1.4.9.ebuild and zaptel-1.4.9.2.ebuild

I have tested the zaptel 1.4.9.2 ebuild with a Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02) ISDN card (bristuff) and Siemens HiPath 3750 and asterisk 1.6 beta using QSIG signaling.
Comment 86 Luke-Jr 2008-04-12 00:50:28 UTC
I recommend the overlay maintainers mask Asterisk 1.4.19; new bugs make it unusable.
Comment 87 Jaco Kroon 2008-05-16 18:57:21 UTC
Hi guys, 1.4.19.1 works for me.

A question though:  Would it be possible to include the patch at http://www.b2bua.org/wiki/AsteriskCodecNegotiationPatch into the build (preferably with an optional USE flag)?
Comment 88 MesseR 2008-05-29 17:32:22 UTC
Hi guys,

I just wanted to report what I think it's a bug with 1.4.20. I recently deployed a system on 1.4.19.1 and it was working fine until I upgraded to 1.4.20.
Using a phone connected to a Grandstream HT-488 FXS port to call out through Asterisk through the same HT-488 FXO port doesn't work anymore. From other phones connected to Asterisk I can dial out through that FXO port just fine.

Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 AMD Athlon(tm) X2 Dual Core Processor BE-2400
Timestamp of tree: Thu, 29 May 2008 10:15:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer -ffast-math -march=athlon64 -msse2 -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -ffast-math -march=athlon64 -msse2 -m3dnow"
DISTDIR="/data/gentoo/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.llarian.net/"
LINGUAS="en en_US ro"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/data/gentoo/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip /data/gentoo/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 apache2 bash-completion bzip2 cgi cli cpudetection cracklib crypt dri encode fasttrack flac gd gdbm gnutella gpm hdhomerun iconv isdnlog ivtv mbrola midi mmx mmx2 mmxext mp3 mysql ncurses nls nptl nptlonly offensive opengl openmp pam pcre perl posix pppd python readline reflection rtc samba sasl session slang spl sse sse2 ssl syslog threads truetype unicode usb vim-syntax x264 x86 xml xorg zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ro" USERLAND="GNU" VIDEO_CARDS="sis vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 89 Jaco Kroon 2008-06-01 12:14:30 UTC
anybody got an ebuild for the asterisk-now gui?
Comment 90 nuitari 2008-07-01 02:35:17 UTC
bug has been fixed by upstream in 1.4.20.1
Comment 91 Marc Smith 2008-07-10 20:23:01 UTC
Using asterisk-1.4.21.1 with the 'imap' USE flag does not provide the app_voicemail_imap.so module in /usr/lib/asterisk/modules.

I noticed this when emerge'ing:
checking for UW IMAP Toolkit c-client library... yes

So, it appears its finding the library, but does something else have to be enabled to make it build that module?
Comment 92 Marc Smith 2008-07-11 02:39:41 UTC
I just build asterisk by hand, and it didn't generate a app_voicemail_imap.so like I thought it would. I verified it does contain IMAP support by doing a quick 'strings app_voicemail.so | grep IMAP' and the one generated by the ebuild does not contain this.

I see conflicting items; Some people they get a app_voicemail_imap.so, yet I didn't? Maybe these people are just renaming the module by hand? I supposed this conversation should probably be taken elsewhere now, but I still don't think the ebuild acually puts in IMAP support.
Comment 93 Jaco Kroon 2008-07-23 23:58:48 UTC
Created attachment 161232 [details, diff]
patch to make agx-ast-addons work against newer spandsp
Comment 94 Jaco Kroon 2008-07-23 23:59:31 UTC
Created attachment 161233 [details]
net-misc/agx-ast-addons-1.4.5
Comment 95 Łukasz Damentko (RETIRED) gentoo-dev 2008-08-11 00:35:46 UTC
Reassigning back to herd since Stefan has been retired as a Gentoo Developer (#27693).
Comment 96 Tim Dodge 2008-10-04 13:41:00 UTC
Would it be possible to add a separate 'pri' USE flag? It's enabled as part of the zaptel USE flag at the moment.

Personally I need zaptel support and don't need pri support.
Comment 97 Jan Oravec 2009-01-28 10:45:56 UTC
It would be nice to move asterisk-1.4 from overlay to official portage. I have been using 1.4 for over a year on amd64 without any major problems. In past half year I would even mark it as stable.

Are there any issues preventing the move to portage?
Comment 98 Krzysiek 2009-09-17 16:48:54 UTC
Any news about adding 1.4 to main portage tree?
Since 1.6 is hard masked only ancient 1.2 is in portage.
Comment 99 Csaba Tóth 2009-09-17 16:52:52 UTC
(In reply to comment #98)
> Any news about adding 1.4 to main portage tree?
> Since 1.6 is hard masked only ancient 1.2 is in portage.
> 

I prefer not to happen, 1.6 is quite stable as i see. Maybe better to start stabilization (first mark as unstable).
Comment 100 FieldySnuts 2009-09-17 16:57:34 UTC
After close to three years and 100 comments, I don't forsee it happening. I'd say close and start one for 1.6, wait 3 years, start one for 2.0, ... ad infinitum.
Comment 101 Tony Vroon (RETIRED) gentoo-dev 2009-09-18 10:01:03 UTC
(In reply to comment #99)
> I prefer not to happen, 1.6 is quite stable as i see. Maybe better to start
> stabilization (first mark as unstable).

1.6 is indeed in the tree (branch 1.6.1) and I'm quite happy to unmask that for you. The main thing I would worry about is people falling into the 'dial plan' trap as the syntax, macro calling convention and supported command set have changed quite extensively.
Comment 102 Tony Vroon (RETIRED) gentoo-dev 2009-09-18 10:04:45 UTC
(In reply to comment #100)
> After close to three years and 100 comments, I don't forsee it happening. I'd
> say close and start one for 1.6, wait 3 years, start one for 2.0, ... ad
> infinitum.

Your trust, both in me and in Gentoo as a whole warms me from the inside. Thank you. I agree with a small fragment of your message, which is "close and start one for 1.6".
Csaba, would you mind doing that please? It will get assigned to me (because Asterisk is now maintained) if it has net-misc/asterisk in the subject; I would recommend something along the lines of "net-misc/asterisk-1.6: Recommend unmask and (unstable) keywording"

Comment 103 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-18 11:54:13 UTC
If you don't mind Tony, I think it will be better to close this bug when 1.6 will be a real alternative (ie. unmasked and keyworded). So, users will be able to found -easily- the bug related to 1.4 without being lost with a masked 1.6.
Comment 104 Tony Vroon (RETIRED) gentoo-dev 2009-10-28 12:56:44 UTC
We will not be pushing Asterisk 1.4 for inclusion into the portage tree. 1.6.1.8-r1 is now available for you, with a hand-picked set of patches from the upstream bug tracker that they have failed to apply so far. I have this running in production and am confident that 1.6.1 is a better option for you than 1.4
Comment 105 RumpletonBongworth 2010-11-27 15:22:13 UTC
Well, _I_ am still interested in 1.4 and, actually, I still have a bug assigned to me (rules be damned). I would advise anyone else who is interested to head over to bug 262101 where I have just posted a shiny new 1.4.37 ebuild.