diff options
author | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 05:22:26 +0000 |
---|---|---|
committer | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 05:22:26 +0000 |
commit | 1db2b873dc03b8ba12c2de3cff928c3bc58e6630 (patch) | |
tree | ae790ed43a733998af1927d9d0ea1133353c02ec /apps/app_hasnewvoicemail.c | |
parent | 5e9ae96ecf3cf87f3bbb0f676596d375a6bfca92 (diff) |
issue #5795
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7139 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_hasnewvoicemail.c')
-rwxr-xr-x | apps/app_hasnewvoicemail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_hasnewvoicemail.c b/apps/app_hasnewvoicemail.c index 678d8c69b..740975dd0 100755 --- a/apps/app_hasnewvoicemail.c +++ b/apps/app_hasnewvoicemail.c @@ -68,7 +68,7 @@ static char *hasnewvoicemail_descrip = "Assumes folder 'INBOX' if folder is not specified. Optionally sets <varname> to the number of messages\n" "in that folder.\n" " The option string may contain zero of the following character:\n" -" 'j' -- jump to priority n+101, if there is new voicemail in tolder 'folder' or INBOX\n" +" 'j' -- jump to priority n+101, if there is new voicemail in folder 'folder' or INBOX\n" " This application sets the following channel variable upon completion:\n" " HASVMSTATUS The result of the new voicemail check returned as a text string as follows\n" " <# of messages in the folder, 0 for NONE>\n"; @@ -163,7 +163,7 @@ static int hasvoicemail_exec(struct ast_channel *chan, void *data) if (vmcount > 0) { /* Branch to the next extension */ if (priority_jump || option_priority_jumping) { - if (!ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101)) + if (ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101)) ast_log(LOG_WARNING, "VM box %s@%s has new voicemail, but extension %s, priority %d doesn't exist\n", vmbox, context, chan->exten, chan->priority + 101); } } |