aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-15 23:11:33 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-15 23:11:33 +0000
commitef61f59c6e935973a47dfef8e94cc37017753760 (patch)
treec73cf58778430be0274cb00818d7ee98c52ba066 /apps
parent95bd1cccf01e3c49987bde239a075bf3c088f0f4 (diff)
Expand deprecation warnings from simply warning on use to the builtin documentation.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58939 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_hasnewvoicemail.c6
-rw-r--r--apps/app_setcdruserfield.c6
-rw-r--r--apps/app_settransfercapability.c1
3 files changed, 9 insertions, 4 deletions
diff --git a/apps/app_hasnewvoicemail.c b/apps/app_hasnewvoicemail.c
index 33204bbe9..17e2838ed 100644
--- a/apps/app_hasnewvoicemail.c
+++ b/apps/app_hasnewvoicemail.c
@@ -63,7 +63,8 @@ static char *hasvoicemail_descrip =
" 'j' -- jump to priority n+101, if there is voicemail in the folder indicated.\n"
" This application sets the following channel variable upon completion:\n"
" HASVMSTATUS The result of the voicemail check returned as a text string as follows\n"
-" <# of messages in the folder, 0 for NONE>\n";
+" <# of messages in the folder, 0 for NONE>\n"
+"\nThis application has been deprecated in favor of the VMCOUNT() function\n";
static char *app_hasnewvoicemail = "HasNewVoicemail";
static char *hasnewvoicemail_synopsis = "Conditionally branches to priority + 101 with the right options set";
@@ -75,7 +76,8 @@ static char *hasnewvoicemail_descrip =
" 'j' -- jump to priority n+101, if there is new voicemail in folder 'folder' or INBOX\n"
" This application sets the following channel variable upon completion:\n"
" HASVMSTATUS The result of the new voicemail check returned as a text string as follows\n"
-" <# of messages in the folder, 0 for NONE>\n";
+" <# of messages in the folder, 0 for NONE>\n"
+"\nThis application has been deprecated in favor of the VMCOUNT() function\n";
static int hasvoicemail_exec(struct ast_channel *chan, void *data)
diff --git a/apps/app_setcdruserfield.c b/apps/app_setcdruserfield.c
index d6a4f2b06..ccfbcedd2 100644
--- a/apps/app_setcdruserfield.c
+++ b/apps/app_setcdruserfield.c
@@ -52,7 +52,8 @@ static char *setcdruserfield_descrip =
" can use for data not stored anywhere else in the record.\n"
" CDR records can be used for billing or storing other arbitrary data\n"
" (I.E. telephone survey responses)\n"
- " Also see AppendCDRUserField().\n";
+ " Also see AppendCDRUserField().\n"
+ "\nThis application is deprecated in favor of Set(CDR(userfield)=...)\n";
static char *setcdruserfield_app = "SetCDRUserField";
@@ -67,7 +68,8 @@ static char *appendcdruserfield_descrip =
" can use for data not stored anywhere else in the record.\n"
" CDR records can be used for billing or storing other arbitrary data\n"
" (I.E. telephone survey responses)\n"
- " Also see SetCDRUserField().\n";
+ " Also see SetCDRUserField().\n"
+ "\nThis application is deprecated in favor of Set(CDR(userfield)=...)\n";
static char *appendcdruserfield_app = "AppendCDRUserField";
static char *appendcdruserfield_synopsis = "Append to the CDR user field";
diff --git a/apps/app_settransfercapability.c b/apps/app_settransfercapability.c
index ff67a4282..e29b44e22 100644
--- a/apps/app_settransfercapability.c
+++ b/apps/app_settransfercapability.c
@@ -66,6 +66,7 @@ static char *descrip =
" DIGITAL_W_TONES : 0x11 - Unrestricted digital information with tones/announcements\n"
" VIDEO : 0x18 - Video\n"
"\n"
+"This application is deprecated in favor of Set(CHANNEL(transfercapability)=...)\n"
;
static int settransfercapability_exec(struct ast_channel *chan, void *data)