Ignore voice frames in chan_dahdi native bridging. Hardware is handling them.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 5 Feb 2011 02:55:50 +0000 (02:55 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 5 Feb 2011 02:55:50 +0000 (02:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306464 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 5316dc5..80416e5 100644 (file)
@@ -7359,6 +7359,8 @@ static enum ast_bridge_result dahdi_bridge(struct ast_channel *c0, struct ast_ch
                                ast_write(c0, f);
                        }
                        break;
                                ast_write(c0, f);
                        }
                        break;
+               case AST_FRAME_VOICE:
+                       /* Native bridge handles voice frames in hardware. */
                case AST_FRAME_NULL:
                        break;
                default:
                case AST_FRAME_NULL:
                        break;
                default: