chlog: freetdm: ss7 - update for new licensing, will not work with old licenses

contact Sangoma (techdesk@sangoma.com) to obtain a new license
This commit is contained in:
Konrad Hammel 2011-01-29 19:34:39 -05:00
parent a382990d9f
commit 1932b3fe3b
2 changed files with 3 additions and 4 deletions

View File

@ -80,8 +80,7 @@ int ft_to_sngss7_cfg_all(void)
/* start of by checking if the license and sig file are valid */ /* start of by checking if the license and sig file are valid */
if (sng_validate_license(g_ftdm_sngss7_data.cfg.license, if (sng_validate_license(g_ftdm_sngss7_data.cfg.license,
g_ftdm_sngss7_data.cfg.signature, g_ftdm_sngss7_data.cfg.signature)) {
g_ftdm_sngss7_data.cfg.spc)) {
SS7_CRITICAL("License verification failed..ending!\n"); SS7_CRITICAL("License verification failed..ending!\n");
return 1; return 1;

View File

@ -79,8 +79,8 @@ void handle_sng_log(uint8_t level, char *fmt,...)
ftdm_log(FTDM_LOG_INFO, "sng_ss7->%s", data); ftdm_log(FTDM_LOG_INFO, "sng_ss7->%s", data);
break; break;
/**************************************************************************/ /**************************************************************************/
case SNG_LOGLEVEL_STATS: case SNG_LOGLEVEL_NOTICE:
ftdm_log(FTDM_LOG_INFO, "sng_ss7->%s", data); ftdm_log(FTDM_LOG_NOTICE, "sng_ss7->%s", data);
break; break;
/**************************************************************************/ /**************************************************************************/
case SNG_LOGLEVEL_ERROR: case SNG_LOGLEVEL_ERROR: