Oops, we have to be able to pass multiple restrictions for when we go to voicemail...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-10-07 19:57:50 +00:00
parent e1038e3090
commit ed62f449a9
7 changed files with 42 additions and 14 deletions

View File

@@ -109,7 +109,7 @@ static int realtime_exec(struct ast_channel *chan, void *data)
} else {
if (option_verbose > 3)
ast_verbose(VERBOSE_PREFIX_4"Realtime Lookup: family:'%s' colmatch:'%s' value:'%s'\n",family,colmatch,value);
if ((var = ast_load_realtime(family, colmatch, value))) {
if ((var = ast_load_realtime(family, colmatch, value, NULL))) {
for (itt = var; itt; itt = itt->next) {
if(prefix) {
len = strlen(prefix) + strlen(itt->name) + 2;