[Asterisk-cvs] asterisk/channels chan_vpb.c,1.52,1.53

bkramer at lists.digium.com bkramer at lists.digium.com
Sun Dec 19 22:22:25 CST 2004


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

Modified Files:
	chan_vpb.c 
Log Message:
/ changed native bridge checking for playing DTMF's


Index: chan_vpb.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_vpb.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- chan_vpb.c	20 Dec 2004 02:34:26 -0000	1.52
+++ chan_vpb.c	20 Dec 2004 03:18:26 -0000	1.53
@@ -2039,7 +2039,8 @@
 			/* 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")==0){
+/*			if (strcmp(p->owner->type,"vpb")==0){ */
+			if (p->bridge == NULL){
 				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