summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorAndrew Latham <lathama@gmail.com>2012-10-13 16:38:48 +0000
committerAndrew Latham <lathama@gmail.com>2012-10-13 16:38:48 +0000
commite51432027a9d58edabb891f84a62fbcb7e08ffe1 (patch)
tree078a62a987c1afee4a7c4cd7b4a2974de1216963 /apps/app_dial.c
parent4c2711d4db21ec5e934caf33a60b092eb6379f7f (diff)
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
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 88a4ac3a3..6c56e39ed 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1,7 +1,7 @@
/*
* Asterisk -- An open source telephony toolkit.
*
- * Copyright (C) 1999 - 2008, Digium, Inc.
+ * Copyright (C) 1999 - 2012, Digium, Inc.
*
* 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))
res2 = ast_play_and_wait(peer, "screen-callee-options");
}
+
/*! \page DialPrivacy Dial Privacy scripts
- \par priv-callee-options script:
- "Dial 1 if you wish this caller to reach you directly in the future,
- and immediately connect to their incoming call
- Dial 2 if you wish to send this caller to voicemail now and
- forevermore.
- Dial 3 to send this caller to the torture menus, now and forevermore.
- Dial 4 to send this caller to a simple "go away" menu, now and forevermore.
- 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."
- \par screen-callee-options script:
- "Dial 1 if you wish to immediately connect to the incoming call
- Dial 2 if you wish to send this caller to voicemail.
- Dial 3 to send this caller to the torture menus.
- Dial 4 to send this caller to a simple "go away" menu.
- */
+ * \par priv-callee-options script:
+ * \li Dial 1 if you wish this caller to reach you directly in the future,
+ * and immediately connect to their incoming call.
+ * \li Dial 2 if you wish to send this caller to voicemail now and forevermore.
+ * \li 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.
+ * \li 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.
+ *
+ * \par screen-callee-options script:
+ * \li Dial 1 if you wish to immediately connect to the incoming call
+ * \li Dial 2 if you wish to send this caller to voicemail.
+ * \li Dial 3 to send this caller to the torture menus.
+ * \li Dial 4 to send this caller to a simple "go away" menu.
+ */
if (valid_priv_reply(opts, res2))
break;
/* invalid option */