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

Modified Files:
        chan_vpb.c 
Log Message:
/ fixed an inverted test


Index: chan_vpb.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_vpb.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- chan_vpb.c  21 Mar 2005 00:05:57 -0000      1.78
+++ chan_vpb.c  13 Apr 2005 03:16:38 -0000      1.79
@@ -1713,8 +1713,11 @@
        char s[2];
        int res = 0;
 
-       if (!use_ast_dtmf)
+       if (use_ast_dtmf){
+               if (option_verbose > 3)
+                       ast_verbose(VERBOSE_PREFIX_4 "%s: vpb_digit: asked to 
play digit[%c] but we are using asterisk dtmf play back?!\n", p->dev, digit);
                return 0;
+       }
 
 /*
        if (option_verbose > 3) ast_verbose("%s: LOCKING in digit \n", p->dev);

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to