aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-19 13:01:18 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-19 13:01:18 +0000
commit44cea2546ad38c38e5c667647f15c870362f741d (patch)
tree2776446d1a7e78508e9167451d5be5556c231e69 /apps
parent229ac032b95d115e738bdb1abbd7b1e35d0e4494 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@43255 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 1672144e8..1bd79709c 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -3841,7 +3841,7 @@ static int play_message(struct ast_channel *chan, struct ast_vm_user *vmu, struc
return 0;
}
- cid = ast_variable_retrieve(msg_cfg, "message", "callerid");
+ cid = ast_strdupa(ast_variable_retrieve(msg_cfg, "message", "callerid"));
duration = ast_variable_retrieve(msg_cfg, "message", "duration");
category = ast_variable_retrieve(msg_cfg, "message", "category");
@@ -6462,7 +6462,7 @@ static int advanced_options(struct ast_channel *chan, struct ast_vm_user *vmu, s
return 0;
}
- cid = ast_variable_retrieve(msg_cfg, "message", "callerid");
+ cid = ast_strdupa(ast_variable_retrieve(msg_cfg, "message", "callerid"));
context = ast_variable_retrieve(msg_cfg, "message", "context");
if (!strncasecmp("macro",context,5)) /* Macro names in contexts are useless for our needs */