|
|
|
|
@ -127,6 +127,10 @@ bool TagAnalogData::processFrame(const uint8_t* data, uint32_t len, uint32_t pee
|
|
|
|
|
else if (!fromUpstream)
|
|
|
|
|
LogInfoEx(LOG_MASTER, CALL_END_LOG);
|
|
|
|
|
|
|
|
|
|
m_network->m_totalActiveCalls--;
|
|
|
|
|
if (m_network->m_totalActiveCalls < 0)
|
|
|
|
|
m_network->m_totalActiveCalls = 0;
|
|
|
|
|
|
|
|
|
|
// report call event to InfluxDB
|
|
|
|
|
if (m_network->m_enableInfluxDB) {
|
|
|
|
|
influxdb::QueryBuilder()
|
|
|
|
|
@ -266,6 +270,7 @@ bool TagAnalogData::processFrame(const uint8_t* data, uint32_t len, uint32_t pee
|
|
|
|
|
m_status.unlock();
|
|
|
|
|
|
|
|
|
|
m_network->m_totalCallsProcessed++;
|
|
|
|
|
m_network->m_totalActiveCalls++;
|
|
|
|
|
|
|
|
|
|
#define CALL_START_LOG "Analog, Call Start, peer = %u, ssrc = %u, srcId = %u, dstId = %u, streamId = %u, fromUpstream = %u", peerId, ssrc, srcId, dstId, streamId, fromUpstream
|
|
|
|
|
if (m_network->m_logUpstreamCallStartEnd && fromUpstream)
|
|
|
|
|
|