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
1.0
Russell Bryant 21 years ago
parent 8c9f25ece1
commit 02bb7498b0

@ -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);

Loading…
Cancel
Save