[Asterisk-cvs] asterisk/channels chan_vpb.c,1.47,1.48

bkramer at lists.digium.com bkramer at lists.digium.com
Tue Nov 30 15:56:42 CST 2004


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

Modified Files:
	chan_vpb.c 
Log Message:
/ fixed bug w/regards to playing dtmf's on native bridges


Index: chan_vpb.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_vpb.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- chan_vpb.c	30 Nov 2004 04:14:27 -0000	1.47
+++ chan_vpb.c	30 Nov 2004 20:55:23 -0000	1.48
@@ -2003,7 +2003,7 @@
 			// This DTMF is played by asterisk and leads to an annoying trailing beep on CISCO phones
 			if( !ignore_dtmf) 
 				vpb_set_event_mask(p->handle, VPB_EVENTS_NODTMF );
-			if (strcmp(p->owner->type,"vpb")){
+			if (strcmp(p->owner->type,"vpb")==0){
 				vpb_dial_sync(p->handle,p->play_dtmf);
 				if(option_verbose>1) 
 					ast_verbose( VERBOSE_PREFIX_2 "%s: chanreads: Played DTMF %s\n",p->dev,p->play_dtmf);




More information about the svn-commits mailing list