add cmd connection creation on creation ooh323 call data structure

ASTERISK-27353 #close

Reported by: Marco Giordani

Change-Id: I455096bd7da016b871afe09af86067c2c7c9f33f
This commit is contained in:
Alexander Anikin
2017-11-23 03:43:00 +03:00
parent d2fb0ffb5b
commit d6568aa72a

View File

@@ -28,6 +28,7 @@
#include "ooGkClient.h"
#include "ooh323ep.h"
#include "ooCalls.h"
#include "ooCmdChannel.h"
/** Global endpoint structure */
extern OOH323EndPoint gH323ep;
@@ -172,6 +173,7 @@ OOH323CallData* ooCreateCall(char* type, char*callToken)
call->msdRetries = 0;
call->pFastStartRes = NULL;
call->usrData = NULL;
ooCreateCallCmdConnection(call);
OOTRACEINFO3("Created a new call (%s, %s)\n", call->callType,
call->callToken);
/* Add new call to calllist */