summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-08-07 18:47:33 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-08-07 18:47:33 +0000
commit9d26f46fc7a26b00777d6b4ca185dd0c18662587 (patch)
tree2e72ad0349386c1b82742ea118d289dd3b37b236
parent3042d0e0463459fbb211fdfbd3c295eea76133be (diff)
remove some extraneous 'followme' in prompt names
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--apps/app_followme.c16
-rw-r--r--configs/followme.conf.sample10
2 files changed, 13 insertions, 13 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c
index 42986c96f..09fb45169 100644
--- a/apps/app_followme.c
+++ b/apps/app_followme.c
@@ -158,10 +158,10 @@ static const char *defaultmoh = "default"; /*!< Default Music-On-Hold Class
static char takecall[20] = "1", nextindp[20] = "2";
static char callfromprompt[PATH_MAX] = "followme/call-from";
static char norecordingprompt[PATH_MAX] = "followme/no-recording";
-static char optionsprompt[PATH_MAX] = "followme/followme-options";
+static char optionsprompt[PATH_MAX] = "followme/options";
static char plsholdprompt[PATH_MAX] = "followme/pls-hold-while-try";
-static char statusprompt[PATH_MAX] = "followme/followme-status";
-static char sorryprompt[PATH_MAX] = "followme/followme-sorry";
+static char statusprompt[PATH_MAX] = "followme/status";
+static char sorryprompt[PATH_MAX] = "followme/sorry";
static AST_LIST_HEAD_STATIC(followmes, ast_call_followme);
@@ -327,23 +327,23 @@ static int reload_followme(void)
if (!ast_strlen_zero(tmpstr))
ast_copy_string(callfromprompt, tmpstr, sizeof(callfromprompt));
- tmpstr = ast_variable_retrieve(cfg, "general", "followme-norecording-prompt");
+ tmpstr = ast_variable_retrieve(cfg, "general", "norecording-prompt");
if (!ast_strlen_zero(tmpstr))
ast_copy_string(norecordingprompt, tmpstr, sizeof(norecordingprompt));
- tmpstr = ast_variable_retrieve(cfg, "general", "followme-options-prompt");
+ tmpstr = ast_variable_retrieve(cfg, "general", "options-prompt");
if (!ast_strlen_zero(tmpstr))
ast_copy_string(optionsprompt, tmpstr, sizeof(optionsprompt));
- tmpstr = ast_variable_retrieve(cfg, "general", "followme-pls-hold-prompt");
+ tmpstr = ast_variable_retrieve(cfg, "general", "pls-hold-prompt");
if (!ast_strlen_zero(tmpstr))
ast_copy_string(plsholdprompt, tmpstr, sizeof(plsholdprompt));
- tmpstr = ast_variable_retrieve(cfg, "general", "followme-status-prompt");
+ tmpstr = ast_variable_retrieve(cfg, "general", "status-prompt");
if (!ast_strlen_zero(tmpstr))
ast_copy_string(statusprompt, tmpstr, sizeof(statusprompt));
- tmpstr = ast_variable_retrieve(cfg, "general", "followme-sorry-prompt");
+ tmpstr = ast_variable_retrieve(cfg, "general", "sorry-prompt");
if (!ast_strlen_zero(tmpstr))
ast_copy_string(sorryprompt, tmpstr, sizeof(sorryprompt));
diff --git a/configs/followme.conf.sample b/configs/followme.conf.sample
index 5c75efdf1..5d6d02c3e 100644
--- a/configs/followme.conf.sample
+++ b/configs/followme.conf.sample
@@ -16,20 +16,20 @@ declinecall=>2
call-from-prompt=>followme/call-from
; The global default for the 'Incoming call from' message.
;
-followme-norecording-prompt=>followme/no-recording
+norecording-prompt=>followme/no-recording
; The global default for the 'You have an incoming call' message when the caller elects
; not to leave their name or the option isn't set for them to do so.
;
-followme-options-prompt=>followme/followme-options
+options-prompt=>followme/options
; The global default for the 'Press 1 to accept this call or press 2 to decline it' message.
;
-followme-pls-hold-prompt=>followme/pls-hold-while-try
+pls-hold-prompt=>followme/pls-hold-while-try
; The global default for 'Please hold while we try and connect your call' message.
;
-followme-status-prompt=>followme/followme-status
+status-prompt=>followme/status
; The global default for 'The party you're calling isn't at their desk' message.
;
-followme-sorry-prompt=>followme/followme-sorry
+sorry-prompt=>followme/sorry
; The global default for 'I'm sorry, but we were unable to locate your party' message.
;
;