fix unholding phones after hangup on older cisco phones.
authorMichiel van Baak <michiel@vanbaak.info>
Wed, 20 Aug 2008 16:16:53 +0000 (16:16 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Wed, 20 Aug 2008 16:16:53 +0000 (16:16 +0000)
Patch by wedhorn.

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

channels/chan_skinny.c

index 9ea15fc..18d5790 100644 (file)
@@ -4377,6 +4377,7 @@ static int handle_stimulus_message(struct skinny_req *req, struct skinnysession
                if (!l) {
                        return 0;
                }
+               sub = l->activesub;
        } else {
                l = sub->parent;
        }