mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user