mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
/ changed native bridge checking for playing DTMF's
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
/* This DTMF is played by asterisk and leads to an annoying trailing beep on CISCO phones */
|
||||||
if( !ignore_dtmf)
|
if( !ignore_dtmf)
|
||||||
vpb_set_event_mask(p->handle, VPB_EVENTS_NODTMF );
|
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);
|
vpb_dial_sync(p->handle,p->play_dtmf);
|
||||||
if(option_verbose>1)
|
if(option_verbose>1)
|
||||||
ast_verbose( VERBOSE_PREFIX_2 "%s: chanreads: Played DTMF %s\n",p->dev,p->play_dtmf);
|
ast_verbose( VERBOSE_PREFIX_2 "%s: chanreads: Played DTMF %s\n",p->dev,p->play_dtmf);
|
||||||
|
Reference in New Issue
Block a user