Fix mgcp oopsie...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-11-15 14:29:15 +00:00
parent 4dbfcb6556
commit 8438e42858
1 changed files with 2 additions and 2 deletions

View File

@ -2334,13 +2334,13 @@ static void handle_response(struct mgcp_endpoint *p, struct mgcp_subchannel *sub
if (p->sub->next->owner) {
ast_log(LOG_NOTICE, "Terminating on result %d from %s@%s-%d\n",
result, p->name, p->parent->name, sub ? sub->id:-1);
mgcp_queue_hangup(sub);
mgcp_queue_hangup(p->sub);
}
if (p->sub->owner) {
ast_log(LOG_NOTICE, "Terminating on result %d from %s@%s-%d\n",
result, p->name, p->parent->name, sub ? sub->id:-1);
mgcp_queue_hangup(sub);
mgcp_queue_hangup(p->sub);
}
dump_cmd_queues(p, NULL);