Doxygen Clean ups

Add app_skel.c as an example in app.c and fix some formating for the "Dial Privacy scripts" so it actually shows up in the Doxygen output.

(issue ASTERISK-20259)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Andrew Latham
2012-10-13 16:38:48 +00:00
parent 4c2711d4db
commit e51432027a
2 changed files with 21 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
/* /*
* Asterisk -- An open source telephony toolkit. * Asterisk -- An open source telephony toolkit.
* *
* Copyright (C) 1999 - 2008, Digium, Inc. * Copyright (C) 1999 - 2012, Digium, Inc.
* *
* Mark Spencer <markster@digium.com> * Mark Spencer <markster@digium.com>
* *
@@ -1804,22 +1804,23 @@ static int do_privacy(struct ast_channel *chan, struct ast_channel *peer,
if (ast_test_flag64(opts, OPT_SCREENING)) if (ast_test_flag64(opts, OPT_SCREENING))
res2 = ast_play_and_wait(peer, "screen-callee-options"); res2 = ast_play_and_wait(peer, "screen-callee-options");
} }
/*! \page DialPrivacy Dial Privacy scripts /*! \page DialPrivacy Dial Privacy scripts
\par priv-callee-options script: * \par priv-callee-options script:
"Dial 1 if you wish this caller to reach you directly in the future, * \li Dial 1 if you wish this caller to reach you directly in the future,
and immediately connect to their incoming call * and immediately connect to their incoming call.
Dial 2 if you wish to send this caller to voicemail now and * \li Dial 2 if you wish to send this caller to voicemail now and forevermore.
forevermore. * \li Dial 3 to send this caller to the torture menus, now and forevermore.
Dial 3 to send this caller to the torture menus, now and forevermore. * \li Dial 4 to send this caller to a simple "go away" menu, now and forevermore.
Dial 4 to send this caller to a simple "go away" menu, now and forevermore. * \li Dial 5 to allow this caller to come straight thru to you in the future,
Dial 5 to allow this caller to come straight thru to you in the future, * but right now, just this once, send them to voicemail.
but right now, just this once, send them to voicemail." *
\par screen-callee-options script: * \par screen-callee-options script:
"Dial 1 if you wish to immediately connect to the incoming call * \li Dial 1 if you wish to immediately connect to the incoming call
Dial 2 if you wish to send this caller to voicemail. * \li Dial 2 if you wish to send this caller to voicemail.
Dial 3 to send this caller to the torture menus. * \li Dial 3 to send this caller to the torture menus.
Dial 4 to send this caller to a simple "go away" menu. * \li Dial 4 to send this caller to a simple "go away" menu.
*/ */
if (valid_priv_reply(opts, res2)) if (valid_priv_reply(opts, res2))
break; break;
/* invalid option */ /* invalid option */

View File

@@ -23,6 +23,10 @@
* \author Mark Spencer <markster@digium.com> * \author Mark Spencer <markster@digium.com>
*/ */
/** \example app_skel.c
* This is an example of how to develop an app
*/
/*** MODULEINFO /*** MODULEINFO
<support_level>core</support_level> <support_level>core</support_level>
***/ ***/