diff options
-rw-r--r-- | apps/app_followme.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c index 934aeb505..b1d708b13 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -354,7 +354,7 @@ static int reload_followme(int reload) if ((tmpstr = ast_variable_retrieve(cfg, "general", "norecording-prompt")) && !ast_strlen_zero(tmpstr)) { ast_copy_string(norecordingprompt, tmpstr, sizeof(norecordingprompt)); } else if ((tmpstr = ast_variable_retrieve(cfg, "general", "norecording_prompt")) && !ast_strlen_zero(tmpstr)) { - ast_copy_string(callfromprompt, tmpstr, sizeof(callfromprompt)); + ast_copy_string(norecordingprompt, tmpstr, sizeof(norecordingprompt)); } @@ -365,21 +365,21 @@ static int reload_followme(int reload) } if ((tmpstr = ast_variable_retrieve(cfg, "general", "pls-hold-prompt")) && !ast_strlen_zero(tmpstr)) { - ast_copy_string(optionsprompt, tmpstr, sizeof(optionsprompt)); + ast_copy_string(plsholdprompt, tmpstr, sizeof(plsholdprompt)); } else if ((tmpstr = ast_variable_retrieve(cfg, "general", "pls_hold_prompt")) && !ast_strlen_zero(tmpstr)) { - ast_copy_string(optionsprompt, tmpstr, sizeof(optionsprompt)); + ast_copy_string(plsholdprompt, tmpstr, sizeof(plsholdprompt)); } if ((tmpstr = ast_variable_retrieve(cfg, "general", "status-prompt")) && !ast_strlen_zero(tmpstr)) { - ast_copy_string(optionsprompt, tmpstr, sizeof(optionsprompt)); + ast_copy_string(statusprompt, tmpstr, sizeof(statusprompt)); } else if ((tmpstr = ast_variable_retrieve(cfg, "general", "status_prompt")) && !ast_strlen_zero(tmpstr)) { - ast_copy_string(optionsprompt, tmpstr, sizeof(optionsprompt)); + ast_copy_string(statusprompt, tmpstr, sizeof(statusprompt)); } if ((tmpstr = ast_variable_retrieve(cfg, "general", "sorry-prompt")) && !ast_strlen_zero(tmpstr)) { - ast_copy_string(optionsprompt, tmpstr, sizeof(optionsprompt)); + ast_copy_string(sorryprompt, tmpstr, sizeof(sorryprompt)); } else if ((tmpstr = ast_variable_retrieve(cfg, "general", "sorry_prompt")) && !ast_strlen_zero(tmpstr)) { - ast_copy_string(optionsprompt, tmpstr, sizeof(optionsprompt)); + ast_copy_string(sorryprompt, tmpstr, sizeof(sorryprompt)); } /* Chug through config file */ |