/ changed native bridge checking for playing DTMF's
authorBen Kramer <bkramer@voicetronix.com.au>
Mon, 20 Dec 2004 03:18:26 +0000 (03:18 +0000)
committerBen Kramer <bkramer@voicetronix.com.au>
Mon, 20 Dec 2004 03:18:26 +0000 (03:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4502 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_vpb.c

index 227bb2e..b81a47e 100755 (executable)
@@ -2039,7 +2039,8 @@ static void *do_chanreads(void *pvt)
                        /* 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);