dect
/
asterisk
Archived
13
0
Fork 0

/ changed native bridge checking for playing DTMF's

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4502 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
bkramer 2004-12-20 03:18:26 +00:00
parent 2476030983
commit 8de7d19f12
1 changed files with 2 additions and 1 deletions

View File

@ -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);