Fix ringback on outbound skinny calls (bug #3295)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4812 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
2d093755b9
commit
5cda10d8e3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue