Fix AST_CONTROL_PVT_CAUSE_CODE handling
authorKinsey Moore <kmoore@digium.com>
Mon, 18 Jun 2012 22:56:01 +0000 (22:56 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 18 Jun 2012 22:56:01 +0000 (22:56 +0000)
commitd73a1de0b1c9a210e389109d6873408c606b0e1a
tree784bd90dd4e8992007de95e1c49413c336265fd9
parentc30cc8fbd5a090ccefa0780601609be085f024f1
Fix AST_CONTROL_PVT_CAUSE_CODE handling

When the IAX2 Who Hung Up? changes were added, they uncovered a bug in
the way AST_CONTROL_PVT_CAUSE_CODE was handled in
feature_request_and_dial().  This particular frame subtype was being
treated like more terminal control frames causing the function to be
exited prematurely.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features.c