From f6b9d9e7d783905b4a92fb9224faf6e23681ac82 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Mon, 1 Apr 2024 06:30:54 -0600 Subject: [PATCH] Fix incorrect application and function documentation references There were a few references in the embedded documentation XML where the case didn't match or where the referenced app or function simply didn't exist any more. These were causing 404 responses in docs.asterisk.org. --- apps/app_mixmonitor.c | 1 - apps/app_stack.c | 4 ++-- channels/chan_iax2.c | 3 --- main/pbx_builtins.c | 10 +++++----- res/res_fax.c | 10 +++++----- 5 files changed, 12 insertions(+), 16 deletions(-) diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 0056a746be..869d5537cb 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -184,7 +184,6 @@ StopMixMonitor - AUDIOHOOK_INHERIT diff --git a/apps/app_stack.c b/apps/app_stack.c index 41fba7911a..06cd3be051 100644 --- a/apps/app_stack.c +++ b/apps/app_stack.c @@ -200,7 +200,7 @@ returning to the dialplan with execution of a Return(). - GoSub + Gosub @@ -218,7 +218,7 @@ - GoSub + Gosub gosub LOCAL LOCAL_PEEK diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index cbf4ab4479..c499e1e69e 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -192,9 +192,6 @@ Gets information associated with the specified IAX2 peer. - - SIPPEER - diff --git a/main/pbx_builtins.c b/main/pbx_builtins.c index 17869ad12e..fd77843643 100644 --- a/main/pbx_builtins.c +++ b/main/pbx_builtins.c @@ -153,7 +153,7 @@ Congestion Progress - Playtones + PlayTones Hangup @@ -173,7 +173,7 @@ Busy Progress - Playtones + PlayTones Hangup @@ -390,7 +390,7 @@ Busy Congestion Ringing - Playtones + PlayTones @@ -405,7 +405,7 @@ dialplan function EXCEPTION(). If the e extension does not exist, the call will hangup. - Exception + EXCEPTION @@ -420,7 +420,7 @@ Busy Congestion Progress - Playtones + PlayTones diff --git a/res/res_fax.c b/res/res_fax.c index 79abd8b522..eab840ed2b 100644 --- a/res/res_fax.c +++ b/res/res_fax.c @@ -116,7 +116,7 @@ This application is provided by res_fax, which is a FAX technology agnostic module that utilizes FAX technology resource modules to complete a FAX transmission. - Session arguments can be set by the FAXOPT function and to check results of the ReceiveFax() application. + Session arguments can be set by the FAXOPT function and to check results of the ReceiveFAX() application. FAXOPT @@ -155,7 +155,7 @@ This application is provided by res_fax, which is a FAX technology agnostic module that utilizes FAX technology resource modules to complete a FAX transmission. - Session arguments can be set by the FAXOPT function and to check results of the SendFax() application. + Session arguments can be set by the FAXOPT function and to check results of the SendFAX() application. FAXOPT @@ -236,8 +236,8 @@ it can also be used to retrieve information about a FAX session that has finished eg. pages/status. - ReceiveFax - SendFax + ReceiveFAX + SendFAX @@ -2272,7 +2272,7 @@ static int receivefax_exec(struct ast_channel *chan, const char *data) } if (report_receive_fax_status(chan, args.filename)) { - ast_log(AST_LOG_ERROR, "Error publishing ReceiveFax status message\n"); + ast_log(AST_LOG_ERROR, "Error publishing ReceiveFAX status message\n"); } /* If the channel hungup return -1; otherwise, return 0 to continue in the dialplan */