]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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 86a2782352e7a4c2a21e905b65f895d158ff5b80..88f37fbec175f8e14f9db98d67d33c9f349a9689 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;