Fix chan_misdn compile error.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 20 Jun 2012 21:32:40 +0000 (21:32 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 20 Jun 2012 21:32:40 +0000 (21:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369166 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index b81d7ca..bf9fd6a 100644 (file)
@@ -7583,7 +7583,7 @@ static enum ast_bridge_result misdn_bridge(struct ast_channel *c0,
                }
                f = ast_read(who);
 
-               if (!f || (f->frametype == AST_FRAME_CONTROL && f->subtype.integer != AST_CONTROL_PVT_CAUSE_CODE)) {
+               if (!f || (f->frametype == AST_FRAME_CONTROL && f->subclass.integer != AST_CONTROL_PVT_CAUSE_CODE)) {
                        /* got hangup .. */
 
                        if (!f) {