[Home]

Summary:ASTERISK-25541: add socket activation support
Reporter:Max (god)Labels:
Date Opened:2015-11-11 05:32:22.000-0600Date Closed:2015-11-11 09:34:42.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Having (optional) support for socket activation in Asterisk would bring several benefits:

#  Security: systemd can listen on privileged ports or socket paths and start Asterisk with privileges already dropped.
#  Major upgrades or reconfigurations of Asterisk requiring a full restart are possible without having the listening socket(s) ever go away.
# Any service dependent on Asterisk doesn't have to wait for it to finish starting (or start at all).
#  We can be absolutely sure that we always bind to existing IP addresses on all desired network interfaces - no race conditions with network bring-up, systemd takes care of that for us.

Here is some useful documentation:
http://0pointer.de/blog/projects/socket-activation.html
http://0pointer.de/blog/projects/socket-activation2.html
Comments:By: Asterisk Team (asteriskteam) 2015-11-11 05:32:23.428-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2015-11-11 05:50:02.051-0600

I'm confused, do you plan on implementing and contributing this? We don't allow feature requests on the issue tracker.

By: Max (god) 2015-11-11 05:53:38.705-0600

Not in immediate future unfortunately. Where does feature requests go? Did I misinterpreted "improvement" field in jira bug creation form?

By: Joshua C. Colp (jcolp) 2015-11-11 05:58:53.533-0600

Improvement is for an improvement with a patch. As for guidelines for new features they are on the wiki[1]. Generally we have no official place to keep a list itself, but discussion occurs elsewhere.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines#AsteriskIssueGuidelines-Howtorequestafeature