|
|
|
@ -2239,8 +2239,8 @@ bool Trunk::writeRF_TSDU_Grant(uint32_t srcId, uint32_t dstId, uint8_t serviceOp
|
|
|
|
// callback REST API to permit the granted TG on the specified voice channel
|
|
|
|
// callback REST API to permit the granted TG on the specified voice channel
|
|
|
|
if (m_p25->m_authoritative && m_p25->m_supervisor) {
|
|
|
|
if (m_p25->m_authoritative && m_p25->m_supervisor) {
|
|
|
|
::lookups::VoiceChData voiceChData = m_p25->m_affiliations.getRFChData(chNo);
|
|
|
|
::lookups::VoiceChData voiceChData = m_p25->m_affiliations.getRFChData(chNo);
|
|
|
|
if (voiceChData.isValidCh() && !voiceChData.address().empty() && voiceChData.port() > 0/* &&
|
|
|
|
if (voiceChData.isValidCh() && !voiceChData.address().empty() && voiceChData.port() > 0 &&
|
|
|
|
chNo != m_p25->m_siteData.channelNo()*/) {
|
|
|
|
chNo != m_p25->m_siteData.channelNo()) {
|
|
|
|
json::object req = json::object();
|
|
|
|
json::object req = json::object();
|
|
|
|
int state = modem::DVM_STATE::STATE_P25;
|
|
|
|
int state = modem::DVM_STATE::STATE_P25;
|
|
|
|
req["state"].set<int>(state);
|
|
|
|
req["state"].set<int>(state);
|
|
|
|
|