mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
Merged revisions 70084 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r70084 | russell | 2007-06-19 14:13:45 -0500 (Tue, 19 Jun 2007) | 3 lines Only attempt to queue a hangup on the owner channel if it actually exists. (issue #9795, patch from zandbelt) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -690,9 +690,9 @@ static int gtalk_hangup_farend(struct gtalk *client, ikspak *pak)
|
|||||||
if(!from)
|
if(!from)
|
||||||
from = client->connection->jid->full;
|
from = client->connection->jid->full;
|
||||||
|
|
||||||
|
|
||||||
if (tmp) {
|
if (tmp) {
|
||||||
tmp->alreadygone = 1;
|
tmp->alreadygone = 1;
|
||||||
|
if (tmp->owner)
|
||||||
ast_queue_hangup(tmp->owner);
|
ast_queue_hangup(tmp->owner);
|
||||||
} else
|
} else
|
||||||
ast_log(LOG_NOTICE, "Whoa, didn't find call!\n");
|
ast_log(LOG_NOTICE, "Whoa, didn't find call!\n");
|
||||||
|
@@ -571,6 +571,7 @@ static int jingle_hangup_farend(struct jingle *client, ikspak *pak)
|
|||||||
|
|
||||||
if (tmp) {
|
if (tmp) {
|
||||||
tmp->alreadygone = 1;
|
tmp->alreadygone = 1;
|
||||||
|
if (tmp->owner)
|
||||||
ast_queue_hangup(tmp->owner);
|
ast_queue_hangup(tmp->owner);
|
||||||
} else
|
} else
|
||||||
ast_log(LOG_NOTICE, "Whoa, didn't find call!\n");
|
ast_log(LOG_NOTICE, "Whoa, didn't find call!\n");
|
||||||
|
Reference in New Issue
Block a user