dect
/
asterisk
Archived
13
0
Fork 0

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:
markster 2005-01-16 08:16:07 +00:00
parent 2d093755b9
commit 5cda10d8e3
1 changed files with 1 additions and 1 deletions

View File

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