Package Details: asterisk 22.0.0-1

Git Clone URL: https://aur.archlinux.org/asterisk.git (read-only, click to copy)
Package Base: asterisk
Description: A complete PBX solution
Upstream URL: https://www.asterisk.org
Keywords: sip, telephony, voip
Licenses: GPL-2.0-only
Submitter: pressh
Maintainer: nkukard (alerque)
Last Packager: nkukard
Votes: 112
Popularity: 0.060478
First Submitted: 2008-01-27 13:42 (UTC)
Last Updated: 2024-10-18 07:11 (UTC)

Pinned Comments

alerque commented on 2020-02-22 06:10 (UTC) (edited on 2020-02-22 06:34 (UTC) by alerque)

PSA: I've started hosting this and all its dependencies as prebuilt packages (x86_86 only) in my repository for those that want to install them using pacman without messing around with building from the AUR.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 24 Next › Last »

C0rn3j commented on 2021-07-25 09:06 (UTC) (edited on 2021-07-25 09:07 (UTC) by C0rn3j)

I am not familiar with anything Asterisk, but building chan_mobile adds 0.12MB to the package.

But it probably requires some BT dependencies. And unfortunately does not work with Bluez 5, it has to be ran in --compat mode for Bluez 4 stuff to work.

I am not sure how useful it would be to others, but I would be certainly be grateful if I didn't have to keep rebuilding from my own PKGBUILD, but if it adds a hard BT dependency, maybe it's not the best idea since I assume chan_mobile is a fringe use case.

alerque commented on 2021-07-24 21:29 (UTC)

@C0rn3j Thanks for the info, hopefully it helps somebody. Out of curiosity (since I'm not familiar with it), is chan_mobile perhaps something we should be enabling by default?

C0rn3j commented on 2021-07-24 20:27 (UTC) (edited on 2021-07-24 20:28 (UTC) by C0rn3j)

make menuselect does not work on zsh for whatever reason (does not affect packaging, just when trying to configure things manually), had to switch to bash temporarily

I wanted to build/compile chan_mobile.so, and for that I had to add

./menuselect/menuselect --enable chan_mobile below the existing menuselect line.

Hope this helps someone.

nimrod_mack commented on 2021-04-03 07:19 (UTC)

Many plugins have additional dependencies not listed here - is there a specific reason those are not included as depends/optdepends? I had to install libvpx gsm lua53 neon to get the modules I need running.

I guess, lua51 can therefore be dropped as it seems they have switched to lua53. Also, gsm is already listed as a makedepends, but is (at least in my case) also needed for running it.

tosie commented on 2020-12-17 15:59 (UTC)

@brackenhill-mob Upon further investigation it seems like archlinux c-client does not include imap/linkage.c. You can manually build a package that includes it like this (maybe the paths might not be right, but you should be able to follow along):

mkdir -p ~/builds
cd ~/builds
git clone --single-branch -b packages/imap https://github.com/archlinux/svntogit-packages.git ~/builds/c-client
cd ~/builds/c-client/trunk
# Add the following line to PKGBUILD at the end of the `package_c-client` function:
# install -D -m644 c-client/c-client.a $pkgdir/usr/lib/c-client.a
makepkg
sudo pacman -U c-client-2007f-*.tar.xz

The last line installs the newly build package including the linkage.c file.

I had to change the PKGBUILD of the asterisk package, too:

Replace

./menuselect/menuselect --disable BUILD_NATIVE

with

./menuselect/menuselect --disable BUILD_NATIVE --enable app_voicemail_imap

I guess as long as getting imap/linkage.c is a manual process it won't be possible for the asterisk package to officially enable the IMAP support.

This has been added as a bug report: https://bugs.archlinux.org/task/69016

tosie commented on 2020-12-17 15:03 (UTC)

@brackenhill-mob You might want to try the c-client package. It includes imap/linkage.h.

brackenhill-mob commented on 2020-12-15 19:37 (UTC)

@nkukard I "borrowed" linkage.c from my Ubuntu server - I now have a working build. I can't find which package contains this file on Ubuntu - many moons ago it was in the uw-imap source code from Uni of Washington but I could find their repository to download it.

nkukard commented on 2020-12-15 16:10 (UTC)

@brackenhill-mob You have a very good point there, I wrongly assumed just enabling imap support with --with-imap=system sorted it out :(

I get the same build error as you, missing imap/linkage.c

brackenhill-mob commented on 2020-12-15 15:21 (UTC)

@nkukard OK I've just looked at my scripts for Ubuntu. --with-imap=system is required.

But my build fails with a missing /usr/lib/imap/linkage.c which is not in the c-client nor imap packages (it exists in Ubuntu).

Please can you set app_voicemail_imap in menuselect and try your build to see if it completes.