Fix ringback on outbound skinny calls (bug #3295)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-01-17 00:37:22 +00:00
parent 8c9f25ece1
commit 02bb7498b0

View File

@@ -1700,7 +1700,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);