Make sure ADSI is marked as unavailable on Unistim channels so voicemail does not try to do some ADSI jazz.

(closes issue #12460)
Reported by: PerryB


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp 2008-04-18 19:35:33 +00:00
parent e52ae01831
commit b05e17fdd7
1 changed files with 1 additions and 0 deletions

View 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;