From: Eliel C. Sardanons Date: Sat, 6 Jun 2009 23:28:38 +0000 (+0000) Subject: Move AGI command 'gosub' static documentation to XML. X-Git-Tag: 11.0.0-beta1~4719 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d03fbf2ec55f3793d9978975e6a454748fd63d26;p=thirdparty%2Fasterisk.git Move AGI command 'gosub' static documentation to XML. Move AGI command 'gosub' statis documentation to the new AstXML form. (issue #15245) Reported by: eliel Patches: app_stack_static_conversion.txt uploaded by lmadsen (license 10) (with minor changes by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@199446 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_stack.c b/apps/app_stack.c index 27652c3bd6..bc3054d3f9 100644 --- a/apps/app_stack.c +++ b/apps/app_stack.c @@ -164,6 +164,21 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Return + + + Cause the channel to execute the specified dialplan subroutine. + + + + + + + + + Cause the channel to execute the specified dialplan subroutine, + returning to the dialplan with execution of a Return(). + + ***/ static const char * const app_gosub = "Gosub"; @@ -627,13 +642,8 @@ static int handle_gosub(struct ast_channel *chan, AGI *agi, int argc, const char return RESULT_SUCCESS; } -static const char usage_gosub[] = -" Usage: GOSUB []\n" -" Cause the channel to execute the specified dialplan subroutine, returning\n" -" to the dialplan with execution of a Return()\n"; - struct agi_command gosub_agi_command = - { { "gosub", NULL }, handle_gosub, "Execute a dialplan subroutine", usage_gosub , 0 }; + { { "gosub", NULL }, handle_gosub, NULL, NULL, 0 }; static int unload_module(void) {