diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-05 19:11:25 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-05 19:11:25 +0000 |
commit | 671e1910234775504f7b41556677d434747e8e99 (patch) | |
tree | 4560d5806afbbcef3035f3f444b8d2d04b3f14d3 /apps/app_followme.c | |
parent | 72665339f999f61b5964405b554a71de05a7f87b (diff) |
Merged revisions 250979 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r250979 | jpeeler | 2010-03-05 13:10:47 -0600 (Fri, 05 Mar 2010) | 9 lines
Fix app_followme playing wrong sound files.
Fixes regression introduced in 140167 that uses the wrong variable names.
(closes issue #16930)
Reported by: ianc
Patches:
fix_reload_followme.diff uploaded by ianc (license 998)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@250980 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_followme.c')
-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 */ |