Package Details: asterisk 18.2.1-1

Git Clone URL: (read-only, click to copy)
Package Base: asterisk
Description: A complete PBX solution
Upstream URL:
Licenses: GPL
Submitter: pressh
Maintainer: nkukard (caleb)
Last Packager: caleb
Votes: 106
Popularity: 0.24
First Submitted: 2008-01-27 13:42
Last Updated: 2021-02-20 08:13

Pinned Comments

caleb commented on 2020-02-22 06:10

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

1 2 3 4 5 6 ... Next › Last »

tosie commented on 2020-12-17 15:59

@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 ~/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
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:


./menuselect/menuselect --disable BUILD_NATIVE


./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:

tosie commented on 2020-12-17 15:03

@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

@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

@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

@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.

brackenhill-mob commented on 2020-12-15 12:25

@nkukard I downloaded the snapshot for 18.1.0-2 as it hadn't hit the repositories at the time, and app_voicemail_imap is not checked in menuselect so the .so is still not being built


brackenhill-mob commented on 2020-12-15 11:03

@nkukard I'm new to running Asterisk under Arch (coming from Ubuntu Server) so I may not understand how the Arch system works in this case. So at the risk of telling you stuff you already know... ;)

The 3 voice mail options if you run make menuselect manually create 3 different .so files. With your 18.1.0 package, only was created but the /etc/asterisk/modules.conf file told the server to load which didn't exist. I've always built Asterisk from source and used make menuselect to setup the system for my needs, so in this case I would check all 3 options to generate the 3 .so files and let the user decide what to load in modules.conf. If you check those settings do you need a build dependency?


nkukard commented on 2020-12-15 06:32

@Astroturf, thanks for the link. Updated to use bundled version.

@brackenhill-mob, please see As far as I can see "imap" was never a build dependency, nor could of of worked due to the imap linking issue. Nonetheless, I've added imap as a build dep and fixed the linker options. Not sure I like it though. Willing to take improvement suggestions.

brackenhill-mob commented on 2020-12-14 18:07

Agree with @Astroturf re pjproject (especially as it would not compile for me!).

So I downloaded v18.1 from your repository and you appear to have compiled the wrong app_voicemail - I've got when it should be

If you've renamed the .so file for some reason, then /etc/modules.conf is wrong.


Astroturf commented on 2020-12-05 19:16

What is the reason the bundled version of pjproject is not used? It is the recommended default since Asterisk 15. Asterisk crashes for me when using the pjproject dependency. It works just fine when removing --with-pjproject-bundled=no from PKGBUILD. The bundled version of pjproject also has a very specific config_site.h & a few extra patches (