mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Fix ringback on outbound skinny calls (bug #3295)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1715,7 +1715,7 @@ static int skinny_indicate(struct ast_channel *ast, int ind)
|
|||||||
}
|
}
|
||||||
switch(ind) {
|
switch(ind) {
|
||||||
case AST_CONTROL_RINGING:
|
case AST_CONTROL_RINGING:
|
||||||
if (ast->_state == AST_STATE_RINGING) {
|
if (ast->_state != AST_STATE_UP) {
|
||||||
if (!sub->progress) {
|
if (!sub->progress) {
|
||||||
transmit_tone(s, SKINNY_ALERT);
|
transmit_tone(s, SKINNY_ALERT);
|
||||||
transmit_callstate(s, l->instance, SKINNY_RINGOUT, sub->callid);
|
transmit_callstate(s, l->instance, SKINNY_RINGOUT, sub->callid);
|
||||||
|
Reference in New Issue
Block a user