There is a bug in this package which result in wrong behavior after reboot of the server because /run is on tmpfs and cleaned-up during reboot. Can you please add the following to PKGBUILD in package() section:
install -D -m 644 ${srcdir}/asterisk.conf ${pkgdir}/usr/lib/tmpfiles.d/asterisk.conf
The 'asterisk.conf' should have the following content:
d /run/asterisk 0755 asterisk asterisk -
Search Criteria
Package Details: asterisk 22.0.0-1
Package Actions
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: | 111 |
Popularity: | 0.042741 |
First Submitted: | 2008-01-27 13:42 (UTC) |
Last Updated: | 2024-10-18 07:11 (UTC) |
Dependencies (21)
- alsa-lib
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- jansson (jansson-gitAUR)
- libedit
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- libxslt (libxslt-gitAUR)
- opus (opus-gitAUR)
- popt (popt-gitAUR)
- speex (speex-gitAUR)
- gsm (make)
- sqlite3 (sqlite) (make)
- dahdi (dahdi-linux-gitAUR, dahdi-linuxAUR) (optional)
- gsm (optional)
- libpriAUR (optional)
- libsrtp (libsrtp-gitAUR) (optional)
- libss7AUR (optional)
- lua51 (luajit-symlinksAUR) (optional)
- openr2 (openr2-gitAUR) (optional)
- postgresql (postgresql-12AUR, postgresql13AUR, postgresql15-docsAUR, postgresql15AUR, postgresql17-docsAUR, postgresql17AUR, postgresql-gitAUR) (optional)
- unixodbc (unixodbc-gitAUR) (optional)
Required by (8)
Sources (5)
Latest Comments
« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 20 21 .. 24 Next › Last »
mbroemme commented on 2013-08-19 13:30 (UTC)
JoKoT3 commented on 2013-06-25 17:29 (UTC)
There is a typo in systemd file :
[/usr/lib/systemd/system/asterisk.service:3] Unknown lvalue 'Documentationm' in section 'Unit'
<deleted-account> commented on 2013-06-16 03:42 (UTC)
there's a bug in the 11.4.0-3 version: https://issues.asterisk.org/jira/browse/ASTERISK-18827
they said its fixed but i got the same issue.
xdevla commented on 2013-06-04 15:30 (UTC)
Updated to last version
Added a systemd unit file
Support for backup files
Fixed /sbin -> /usr/bin
Fixed /var/run -> /run
xdevla commented on 2013-05-28 12:06 (UTC)
@rpodgorny It'll be fixed at some point, a bit busy these days
rpodgorny commented on 2013-05-28 11:50 (UTC)
please, either fix or orphan this package. thank you...
tritron commented on 2013-05-26 15:53 (UTC)
can you pleas add this patch to asterisk src https://issues.asterisk.org/jira/secure/attachment/46880/gareth-11.3.0.patch
and can you add make menuselect
rpodgorny commented on 2013-05-16 21:48 (UTC)
...experiencing the same thing as call-151:
+--------- Asterisk Build Complete ---------+
+ Asterisk has successfully been built, and +
+ can be installed by running: +
+ +
+ make install +
+-------------------------------------------+
==> Entering fakeroot environment...
==> Starting package()...
Installing modules from pbx...
Installing modules from channels...
Installing modules from codecs...
Installing modules from apps...
Installing modules from cdr...
Installing modules from cel...
Installing modules from formats...
Installing modules from bridges...
Installing modules from tests...
Installing modules from funcs...
Installing modules from addons...
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Installing modules from main...
make[1]: Entering directory `/home/radek/pkgbuilds-old/asterisk/src/asterisk-11.3.0'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
.pjlib-x86_64-unknown-linux-gnu.depend:605: *** missing separator. Stop.
make[4]: *** [depend] Error 2
make[3]: *** [dep] Error 1
make[2]: *** [pjproject] Error 2
make[1]: *** [res] Error 2
make[1]: Leaving directory `/home/radek/pkgbuilds-old/asterisk/src/asterisk-11.3.0'
make: *** [_cleantest_all] Error 2
make: *** Waiting for unfinished jobs....
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Installing modules from res...
==> ERROR: A failure occurred in package().
Aborting...
...x86_64 system here.
pedosb commented on 2013-04-09 18:18 (UTC)
For my system there was a typo in the PKGBUILD.
Here is the diff.
$ diff asterisk/PKGBUILD asterisk-mine/PKGBUILD
36c36
< sed -i -e "s/\/var\/run/\/var\/run\/asterisk/" $startdir/pkg/etc/asterisk/asterisk.conf
---
> sed -i -e "s/\/var\/run/\/var\/run\/asterisk/" $startdir/pkg/asterisk/etc/asterisk/asterisk.conf
cbuehler commented on 2013-04-06 10:06 (UTC)
This should be updated to use systemd instead of rc.d:
$/etc/rc.d/asterisk start
/etc/rc.d/asterisk: line 4: /etc/rc.conf: No such file or directory
/etc/rc.d/asterisk: line 5: /etc/rc.d/functions: No such file or directory
/etc/rc.d/asterisk: line 10: stat_busy: command not found
/etc/rc.d/asterisk: line 13: stat_fail: command not found
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.