Package Details: asterisk 21.2.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
Submitter: pressh
Maintainer: nkukard (alerque)
Last Packager: nkukard
Votes: 112
Popularity: 0.000313
First Submitted: 2008-01-27 13:42 (UTC)
Last Updated: 2024-03-28 07:09 (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 .. 24 Next › Last »

nimrod_mack commented on 2021-12-21 16:03 (UTC)

@alerque Currently, this package installs example configurations files in /etc/asterisk. As I don't need many of the modules, I also delete many of these files again. They would be installed again during upgrades, though. Therefore, I usually modify the PKGBUILD to install the provided config files to /usr/share/doc/asterisk/examples instead.

alerque commented on 2021-12-21 09:42 (UTC) (edited on 2021-12-21 09:43 (UTC) by alerque)

@tosie That patch does look useful, but per Arch packaging guidelines adding features & fixing bugs is something we try to avoid in packages except for urgent security things or if something won't actually build or run without the fix. That patch looks like something you need to submit upstream for inclusion. Please consider doing that so everybody can benefit.

I'll look into the imap voicemail app.

tosie commented on 2021-12-21 09:09 (UTC)

In my own build I usually add the two things below. Maybe that would be helpful for others.

  • Make queues support the device state "BUSY" (see diff regarding app_queue.c, applied via patch -Np1 < "${srcdir}/12-app_queue.c.patch" in the prepare() function of PKGBUILD)
  • Enable app_voicemail_imap (via ./menuselect --disable BUILD_NATIVE --enable app_voicemail_imap, depends on c-client)
--- $pkgname-$pkgver/apps/app_queue.c
+++ $pkgname-$pkgver/apps/app_queue.c
@@ -2323,6 +2323,13 @@
                break;
            }
            goto default_case;
+       // This has been added as this device state is reported by PJSIP when a device is in a call.
+       case AST_DEVICE_BUSY:
+           if (conditions & QUEUE_EMPTY_INUSE) {
+               ast_debug(4, "%s is unavailable because his device state is 'busy'\n", member->membername);
+               break;
+           }
+           goto default_case;
        case AST_DEVICE_RINGING:
            if (conditions & QUEUE_EMPTY_RINGING) {
                ast_debug(4, "%s is unavailable because his device state is 'ringing'\n", member->membername);

alerque commented on 2021-12-21 09:09 (UTC)

By the way, get your votes in on your favorite asterisk codec packages on the AUR too, if licenses are in order I might be able to bring in some of those to [community] as well but having more votes on the packages helps justify the move.

alerque commented on 2021-12-21 09:01 (UTC) (edited on 2021-12-21 09:02 (UTC) by alerque)

I'm going to track this package for migration to the official [community] repositories. If anybody knows anything that should be done differently for prebuilt packages please speak up now, it's easier to iterate here before it moves than after.

The biggest change for those of you with this in production will probably be the location of temporary files to fit better with official systemd stuff.

@nkukard I'll be tweaking the coding style a bit prior to moving — not to step on your toes (I try to match style when I'm co-maintainer) but since it will be my responsibility in the official repos I'll use my style.

alerque commented on 2021-11-18 00:04 (UTC)

@JerryXiao Can you confirm that it is possible to build asterisk on a system without gsm and later use it with the gsm module working on a system that does have the dependency?

JerryXiao commented on 2021-11-16 03:19 (UTC)

"gsm" is not a makedep, it is at least a optdepend as it is required for the asterisk gsm module to work.

alerque commented on 2021-07-26 09:20 (UTC)

@C0rn3j Thanks for the extra feedback, and I think I agree with your conclusion.

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?