move ast_cond_signal for admitted call after all data filled/freed

clear all log channels by pointed number not only first
free allocated callToken in ooh323_answer


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@331146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Alexandr Anikin
2011-08-09 16:13:09 +00:00
parent 3a64b3427f
commit 8f37bc12c4
3 changed files with 6 additions and 2 deletions

View File

@@ -1996,13 +1996,13 @@ int ooGkClientHandleAdmissionConfirm
pCallAdmInfo->call->callToken);
pCallAdmInfo->call->callState = OO_CALL_CONNECTING;
ast_cond_signal(&pCallAdmInfo->call->gkWait);
/* ooH323CallAdmitted( pCallAdmInfo->call); */
dListRemove(&pGkClient->callsPendingList, pNode);
dListAppend(&pGkClient->ctxt, &pGkClient->callsAdmittedList,
pNode->data);
memFreePtr(&pGkClient->ctxt, pNode);
ast_cond_signal(&pCallAdmInfo->call->gkWait);
return OO_OK;
break;
}