Fix ringback on outbound skinny calls (bug #3295)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Mark Spencer 21 years ago
parent 93629a3a89
commit cb55bf96ef

@ -1715,7 +1715,7 @@ static int skinny_indicate(struct ast_channel *ast, int ind)
}
switch(ind) {
case AST_CONTROL_RINGING:
if (ast->_state == AST_STATE_RINGING) {
if (ast->_state != AST_STATE_UP) {
if (!sub->progress) {
transmit_tone(s, SKINNY_ALERT);
transmit_callstate(s, l->instance, SKINNY_RINGOUT, sub->callid);

Loading…
Cancel
Save