Merged revisions 114271 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r114271 | file | 2008-04-18 16:35:33 -0300 (Fri, 18 Apr 2008) | 4 lines

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/branches/1.6.0@114272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-04-18 19:36:26 +00:00
parent 07e6364afa
commit feda76658e

View File

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