Package Details: asterisk 21.4.3-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.163808
First Submitted: 2008-01-27 13:42 (UTC)
Last Updated: 2024-09-06 05:56 (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 .. 13 14 15 16 17 18 19 20 21 22 23 24 Next › Last »

aalexanderr commented on 2013-02-26 16:13 (UTC)

Yes, sorry it's my fault. But i just rewrite start script like this: [Unit] Description=Asterisk PBX and telephony daemon. After=network.target [Service] Type=simple RemainAfterExit=yes Environment=HOME=/var/lib/asterisk WorkingDirectory=/var/lib/asterisk ExecStart=/usr/sbin/asterisk -U asterisk -G asterisk -C /etc/asterisk/asterisk.conf ExecStop=/usr/sbin/asterisk -rx 'core stop now' ExecReload=/usr/sbin/asterisk -rx 'core reload' [Install] WantedBy=multi-user.target Now it's normal start, but "sip show registry" show me what channels in "Request Sent" state.. If i kill asterisk and start it once again channel state become registered. Can't understand why, but after i change: Type=oneshot and add ExecStart=/usr/bin/sleep 10 all become to normal start.. it's seems like asterisk try to send information via socket before network finaly initialization....

johny77 commented on 2013-02-26 13:17 (UTC)

AFAIK directory /var/run is linked to /run and is dynamic. that is all.

aalexanderr commented on 2013-02-26 12:35 (UTC)

Why you think so ? System doesn't not delete or recreate folder with other rights. So you just need setup by hands new owner to folder /var/run/asterisk и фсё.

johny77 commented on 2013-02-26 06:30 (UTC)

But after reboot your changes will be lost. So, You will need to change the permissions by another way. You need to create a new file: /etc/tmpfiles.d/asterisk.conf with this content: d /run/asterisk 0775 root asterisk

aalexanderr commented on 2013-02-25 23:02 (UTC)

You also need to make: chmod asterisk:asterik /var/run/asterisk or asterisk with User and Group asterisk never create asterisk.pid and asterisk.ctl and you can't correctly run it, connect to console and user ExecStop/ExecReload options. May be it's only my trouble, but in my system /var/run/asterisk was chown by root:root.

johny77 commented on 2013-02-21 09:32 (UTC)

You will also need to add: RemainAfterExit=yes otherwise process will be killed by systemd. ---------------------------------------------- [Unit] Description=Asterisk PBX and telephony daemon. After=network.target [Service] Type=simple RemainAfterExit=yes Environment=HOME=/var/lib/asterisk WorkingDirectory=/var/lib/asterisk User=asterisk Group=asterisk PIDFile=/run/asterisk/asterisk.pid ExecStart=/usr/sbin/asterisk -C /etc/asterisk/asterisk.conf ExecStop=/usr/sbin/asterisk -rx 'core stop now' ExecReload=/usr/sbin/asterisk -rx 'core reload' PrivateTmp=true [Install] WantedBy=multi-user.target

Cinelli commented on 2013-02-17 16:57 (UTC)

[Unit] Description=Asterisk PBX and telephony daemon. After=network.target [Service] Type=simple Environment=HOME=/var/lib/asterisk WorkingDirectory=/var/lib/asterisk PIDFile=/run/asterisk/asterisk.pid ExecStart=/usr/sbin/asterisk -C /etc/asterisk/asterisk.conf ExecStop=/usr/sbin/asterisk -rx 'core stop now' ExecReload=/usr/sbin/asterisk -rx 'core reload' PrivateTmp=true [Install] WantedBy=multi-user.target this service unit should work.

PieterDeBruijn commented on 2013-01-23 05:56 (UTC)

11.2.1 has been released

PieterDeBruijn commented on 2013-01-03 06:55 (UTC)

11.1.1 Has been released. This is a security release: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11-current