Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv662/apps

Modified Files:
        app_hasnewvoicemail.c 
Log Message:
issue #5795


Index: app_hasnewvoicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_hasnewvoicemail.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- app_hasnewvoicemail.c       8 Nov 2005 04:48:00 -0000       1.24
+++ app_hasnewvoicemail.c       20 Nov 2005 05:22:26 -0000      1.25
@@ -68,7 +68,7 @@
 "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 @@
        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 [EMAIL PROTECTED] 
has new voicemail, but extension %s, priority %d doesn't exist\n", vmbox, 
context, chan->exten, chan->priority + 101);
                }
        }

_______________________________________________
Asterisk-Cvs mailing list
Asterisk-Cvs@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to