Skip to content

Commit

Permalink
apps, install: Minor fixes.
Browse files Browse the repository at this point in the history
install: Add non-released, merged critical patch for app_read, etc.
app_acts: Fix typo in ingroup.
app_callback: Fix truncation.
app_ccsa: Clarify DIALSTATUS usage.
app_mwi: Remove superflous dependency.
  • Loading branch information
InterLinked1 committed Feb 7, 2024
1 parent 8bea330 commit fbf953a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/app_acts.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
* \author Naveen Albert <[email protected]>
*
* \ingroup resources
* \ingroup applications
*/

/*** MODULEINFO
Expand Down
3 changes: 1 addition & 2 deletions apps/app_callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,7 @@ static int remote_endpoint_busy(const char *number, const char *remotedialcontex
struct ast_channel *chan;
char devstate[32];
int res = 0;
int len = strlen(remotedialcontext);
char queryread[len + 30];
char queryread[256];

snprintf(queryread, sizeof(queryread), "TEXT_QUERY(Local/%s@%s,%d)", number, remotedialcontext, timeout);
devstate[0] = '\0';
Expand Down
4 changes: 3 additions & 1 deletion apps/app_ccsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@
<variable name="CCSA_RESULT">
<para>Outcome of the CCSA call attempt</para>
<value name="SUCCESS">
Successfully completed call, either immediately, with an FRL upgrade, or after an Off Hook Queue
Successfully completed call, either immediately, with an FRL upgrade, or after an Off Hook Queue.
Keep in mind that you may still need to check the DIALSTATUS for call disposition,
if the far end provided a cause code instead of using in-band signaling.
</value>
<value name="CBQ">
Call was Call Back Queued due to no available preferred routes
Expand Down
1 change: 0 additions & 1 deletion apps/app_mwi.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*/

/*** MODULEINFO
<depend>pbx_spool</depend>
<support_level>extended</support_level>
***/

Expand Down
1 change: 1 addition & 0 deletions phreaknet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,7 @@ phreak_patches() { # $1 = $PATCH_DIR, $2 = $AST_SRC_DIR
if [ -f main/logger.xml ]; then
asterisk_pr_unconditional 540 # critical linking fix for 21.1.0-rc1
fi
asterisk_pr_unconditional 568 # critical fix for Read, etc.
git_patch "config_c_fix_template_inheritance_overrides.patch" # config.c: fix template inheritance/overrides

if [ $AST_MAJOR_VER -lt 21 ]; then
Expand Down

0 comments on commit fbf953a

Please sign in to comment.