bool isRequest = anna::diameter::codec::functions::isRequest(db);
bool registerSessionId = ((isRequest && toEntity) || (!isRequest && !toEntity) /* (*) */);
// (*) we register answers Session-Id assuming that we will know the Session-Id values created by the client (OCS)
bool isRequest = anna::diameter::codec::functions::isRequest(db);
bool registerSessionId = ((isRequest && toEntity) || (!isRequest && !toEntity) /* (*) */);
// (*) we register answers Session-Id assuming that we will know the Session-Id values created by the client (OCS)