Make chan_vpb.c detect austel busy (bug 545)
authorJames Golovich <james@gnuinter.net>
Fri, 26 Mar 2004 07:18:26 +0000 (07:18 +0000)
committerJames Golovich <james@gnuinter.net>
Fri, 26 Mar 2004 07:18:26 +0000 (07:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2567 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_vpb.c

index 53a1b0f..085320e 100755 (executable)
@@ -270,7 +270,7 @@ static inline int monitor_handle_owned(struct vpb_pvt *p, VPB_EVENT *e)
          break;
 
      case VPB_TONEDETECT:
          break;
 
      case VPB_TONEDETECT:
-         if (e->data == VPB_BUSY || e->data == VPB_BUSY_308)
+         if (e->data == VPB_BUSY || e->data == VPB_BUSY_308 || e->data == VPB_BUSY_AUST)
               f.subclass = AST_CONTROL_BUSY;
          else if (e->data == VPB_GRUNT) {
               p->lastgrunt = tcounter;
               f.subclass = AST_CONTROL_BUSY;
          else if (e->data == VPB_GRUNT) {
               p->lastgrunt = tcounter;