diff options
author | Ben Kramer <bkramer@voicetronix.com.au> | 2004-11-30 20:55:23 +0000 |
---|---|---|
committer | Ben Kramer <bkramer@voicetronix.com.au> | 2004-11-30 20:55:23 +0000 |
commit | 8976d390510fe35a15aa198fa5e1bc59313ee656 (patch) | |
tree | 5f5e836e359c3635ae5a13164f89a0ec907c0ba5 | |
parent | 15ba447e534d92c80c4ac559357a1a27207e528b (diff) |
/ fixed bug w/regards to playing dtmf's on native bridges
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | channels/chan_vpb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_vpb.c b/channels/chan_vpb.c index c52afdace..1cb4191dc 100755 --- a/channels/chan_vpb.c +++ b/channels/chan_vpb.c @@ -2003,7 +2003,7 @@ 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")){ + 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); |