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 -1
View File
@@ -77,7 +77,7 @@ int ftdm_config_open_file(ftdm_config_t *cfg, const char *file_path)
memset(cfg, 0, sizeof(*cfg));
cfg->lockto = -1;
ftdm_log(FTDM_LOG_DEBUG, "Configuration file is %s.\n", path);
ftdm_log(FTDM_LOG_DEBUG, "Configuration file is %s\n", path);
f = fopen(path, "r");
if (!f) {