Make sure ADSI is marked as unavailable on Unistim channels so voicemail does not...
authorJoshua Colp <jcolp@digium.com>
Fri, 18 Apr 2008 19:35:33 +0000 (19:35 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 18 Apr 2008 19:35:33 +0000 (19:35 +0000)
(closes issue #12460)
Reported by: PerryB

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

channels/chan_unistim.c

index 86a2782..88f37fb 100644 (file)
@@ -4459,6 +4459,7 @@ static struct ast_channel *unistim_new(struct unistim_subchannel *sub, int state
        ast_setstate(tmp, state);
        if (state == AST_STATE_RING)
                tmp->rings = 1;
+       tmp->adsicpe = AST_ADSI_UNAVAILABLE;
        tmp->writeformat = fmt;
        tmp->rawwriteformat = fmt;
        tmp->readformat = fmt;