From 6928ccfa02a6c0cc4546f0da6d75cad797def586 Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Thu, 27 Mar 2008 13:29:41 +0000 Subject: [PATCH] Merged revisions 111391 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r111391 | murf | 2008-03-27 07:03:28 -0600 (Thu, 27 Mar 2008) | 9 lines These small documentation updates made in response to a query in asterisk-users, where a user was using Playback, but needed the features of Background, and had no idea that Background existed, or that it might provide the features he needed. I thought the best way to avert these kinds of queries was to provide "See Also" references in all three of "Background", "Playback", "WaitExten". Perhaps a project to do this with all related apps is in order. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111410 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_playback.c | 2 ++ main/pbx.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/apps/app_playback.c b/apps/app_playback.c index b7409957ac..c7d8ff620d 100644 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -55,6 +55,8 @@ static char *descrip = "This application sets the following channel variable upon completion:\n" " PLAYBACKSTATUS The status of the playback attempt as a text string, one of\n" " SUCCESS | FAILED\n" +"See Also: Background (application) -- for playing soundfiles that are interruptible\n" +" WaitExten (application) -- wait for digits from caller, optionally play music on hold\n" ; diff --git a/main/pbx.c b/main/pbx.c index 5b880e30d4..3c8bc76f03 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -467,6 +467,8 @@ static struct pbx_builtin { "This application sets the following channel variable upon completion:\n" " BACKGROUNDSTATUS The status of the background attempt as a text string, one of\n" " SUCCESS | FAILED\n" + "See Also: Playback (application) -- Play sound file(s) to the channel,\n" + " that cannot be interrupted\n" }, { "Busy", pbx_builtin_busy, @@ -678,6 +680,7 @@ static struct pbx_builtin { " Options:\n" " m[(x)] - Provide music on hold to the caller while waiting for an extension.\n" " Optionally, specify the class for music on hold within parenthesis.\n" + "See Also: Playback(application), Background(application).\n" }, { "KeepAlive", pbx_builtin_keepalive,