|
|
|
@ -2239,7 +2239,7 @@ int ooH323HandleCallFwdRequest(OOH323CallData *call)
|
|
|
|
|
ooAliases *pNewAlias=NULL, *alias=NULL;
|
|
|
|
|
struct timespec ts;
|
|
|
|
|
struct timeval tv;
|
|
|
|
|
int i=0, irand=0, ret = OO_OK;
|
|
|
|
|
int i=0, irand=0;
|
|
|
|
|
/* Note: We keep same callToken, for new call which is going
|
|
|
|
|
to replace an existing call, thus treating it as a single call.*/
|
|
|
|
|
|
|
|
|
@ -2291,7 +2291,7 @@ int ooH323HandleCallFwdRequest(OOH323CallData *call)
|
|
|
|
|
{
|
|
|
|
|
/* No need to check registration status here as it is already checked for
|
|
|
|
|
MakeCall command */
|
|
|
|
|
ret = ooGkClientSendAdmissionRequest(gH323ep.gkClient, fwdedCall, FALSE);
|
|
|
|
|
ooGkClientSendAdmissionRequest(gH323ep.gkClient, fwdedCall, FALSE);
|
|
|
|
|
fwdedCall->callState = OO_CALL_WAITING_ADMISSION;
|
|
|
|
|
ast_mutex_lock(&fwdedCall->Lock);
|
|
|
|
|
tv = ast_tvnow();
|
|
|
|
@ -2305,7 +2305,7 @@ int ooH323HandleCallFwdRequest(OOH323CallData *call)
|
|
|
|
|
}
|
|
|
|
|
if (fwdedCall->callState < OO_CALL_CLEAR) {
|
|
|
|
|
ast_mutex_lock(&fwdedCall->Lock);
|
|
|
|
|
ret = ooH323CallAdmitted (fwdedCall);
|
|
|
|
|
ooH323CallAdmitted (fwdedCall);
|
|
|
|
|
ast_mutex_unlock(&fwdedCall->Lock);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2332,7 +2332,6 @@ int ooH323NewCall(char *callToken) {
|
|
|
|
|
|
|
|
|
|
int ooH323MakeCall(char *dest, char *callToken, ooCallOptions *opts)
|
|
|
|
|
{
|
|
|
|
|
OOCTXT *pctxt;
|
|
|
|
|
OOH323CallData *call;
|
|
|
|
|
int ret=OO_OK, i=0, irand=0;
|
|
|
|
|
char tmp[2+8*4+7]="\0";
|
|
|
|
@ -2360,7 +2359,6 @@ int ooH323MakeCall(char *dest, char *callToken, ooCallOptions *opts)
|
|
|
|
|
return OO_FAILED;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pctxt = call->pctxt;
|
|
|
|
|
if(opts)
|
|
|
|
|
{
|
|
|
|
|
if(opts->fastStart)
|
|
|
|
|