freetdm: - Added ftdm_usage command to check if a channel has calls (ie, is busy)

- Refactored ftdm CLI management to allow standalone APIs to be registered
         - Minor logging changes here and there
This commit is contained in:
Moises Silva
2013-03-08 15:15:07 -05:00
parent 3034de6e79
commit 5f876497bc
3 changed files with 94 additions and 23 deletions
+1
View File
@@ -5116,6 +5116,7 @@ static ftdm_status_t load_config(void)
sprintf(chan_config.group_name, "__default");
if (!ftdm_config_open_file(&cfg, cfg_name)) {
ftdm_log(FTDM_LOG_ERROR, "Failed to open configuration file %s\n", cfg_name);
return FTDM_FAIL;
}