diff options
-rw-r--r-- | apps/app_followme.c | 16 | ||||
-rw-r--r-- | configs/followme.conf.sample | 10 |
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. ; ; |