";
} else if ($DATASOURCES[$datasource]['db_registrar']) {
print "
";
}
if (array_key_exists('mediaSessions', $DATASOURCES[$datasource])) {
$MediaSessions = new MediaSessionsNGNPro($DATASOURCES[$datasource]['mediaSessions'], $allowedDomains);
$MediaSessions->getSessions();
$MediaSessions->getSummary();
print "
Media relays
";
$MediaSessions->showSummary();
} else if (array_key_exists('mediaDispatcher', $DATASOURCES[$datasource])) {
$MediaSessions = new MediaSessions($DATASOURCES[$datasource]['mediaDispatcher'], $allowedDomains);
$MediaSessions->getSessions();
$MediaSessions->getSummary();
print "
Media relays
";
$MediaSessions->showSummary();
}
if (array_key_exists('networkStatus', $DATASOURCES[$datasource])) {
$NetworkStatistics = new NetworkStatistics($DATASOURCES[$datasource]['networkStatus'], $allowedDomains);
print "
SIP accounts
";
$NetworkStatistics->showStatistics();
print "
Network topology
";
$NetworkStatistics->showStatus();
}
print "