file 2176 mod_freetdm/mod_freetdm.c static void ftdm_logger(const char *file, const char *func, int line, int level, const char *fmt, ...) file 2184 mod_freetdm/mod_freetdm.c switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, (char *)func, line, NULL, level, "%s", data); file 95 src/ftdm_config.c cfg->file = f; file 112 src/ftdm_config.c cfg->file = f; file 121 src/ftdm_config.c if (cfg->file) { file 122 src/ftdm_config.c fclose(cfg->file); file 144 src/ftdm_config.c if (!fgets(cfg->buf, sizeof(cfg->buf), cfg->file)) { file 167 src/ftdm_io.c static void null_logger(const char *file, const char *func, int line, int level, const char *fmt, ...) file 169 src/ftdm_io.c if (file && func && line && level && fmt) { file 190 src/ftdm_io.c static void default_logger(const char *file, const char *func, int line, int level, const char *fmt, ...) file 203 src/ftdm_io.c fp = cut_path(file); file 210 src/ftdm_io.c fprintf(stderr, "[%s] %s:%d %s() %s", FTDM_LEVEL_NAMES[level], file, line, func, data); file 1185 src/ftdm_io.c FT_DECLARE(ftdm_status_t) ftdm_channel_set_state(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan, ftdm_channel_state_t state, int waitrq) file 1191 src/ftdm_io.c ftdm_log_chan_ex(ftdmchan, file, func, line, FTDM_LOG_LEVEL_ERROR, "Ignored state change request from %s to %s, the channel is not ready\n", file 1197 src/ftdm_io.c ftdm_log_chan_ex(ftdmchan, file, func, line, FTDM_LOG_LEVEL_ERROR, "Ignored state change request from %s to %s, the previous state change has not been processed yet\n", file 1203 src/ftdm_io.c ftdm_log_chan_ex(ftdmchan, file, func, line, FTDM_LOG_LEVEL_WARNING, "Why bother changing state from %s to %s\n", ftdm_channel_state2str(ftdmchan->state), ftdm_channel_state2str(state)); file 1292 src/ftdm_io.c ftdm_log_chan_ex(ftdmchan, file, func, line, FTDM_LOG_LEVEL_DEBUG, "Changed state from %s to %s\n", ftdm_channel_state2str(ftdmchan->state), ftdm_channel_state2str(state)); file 1295 src/ftdm_io.c ftdmchan->history[ftdmchan->hindex].file = file; file 1314 src/ftdm_io.c ftdm_log_chan_ex(ftdmchan, file, func, line, FTDM_LOG_LEVEL_WARNING, "VETO state change from %s to %s\n", ftdm_channel_state2str(ftdmchan->state), ftdm_channel_state2str(state)); file 1341 src/ftdm_io.c ftdm_log_chan_ex(ftdmchan, file, func, line, FTDM_LOG_LEVEL_WARNING, "state change from %s to %s was most likely not processed after aprox %dms\n", file 1942 src/ftdm_io.c FT_DECLARE(ftdm_status_t) _ftdm_channel_call_hold(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan) file 1946 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_DIALTONE, 0); file 1951 src/ftdm_io.c FT_DECLARE(ftdm_status_t) _ftdm_channel_call_unhold(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan) file 1954 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_UP, 0); file 1959 src/ftdm_io.c FT_DECLARE(ftdm_status_t) _ftdm_channel_call_answer(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan) file 1980 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_PROGRESS, 1); file 1990 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_PROGRESS_MEDIA, 1); file 1999 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_UP, 1); file 2008 src/ftdm_io.c static ftdm_status_t call_hangup(ftdm_channel_t *chan, const char *file, const char *func, int line) file 2019 src/ftdm_io.c ftdm_channel_set_state(file, func, line, chan, FTDM_CHANNEL_STATE_HANGUP, 1); file 2028 src/ftdm_io.c FT_DECLARE(ftdm_status_t) _ftdm_channel_call_hangup_with_cause(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan, ftdm_call_cause_t cause) file 2034 src/ftdm_io.c call_hangup(ftdmchan, file, func, line); file 2040 src/ftdm_io.c FT_DECLARE(ftdm_status_t) _ftdm_channel_call_hangup(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan) file 2044 src/ftdm_io.c call_hangup(ftdmchan, file, func, line); file 2113 src/ftdm_io.c FT_DECLARE(ftdm_status_t) _ftdm_channel_call_indicate(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan, ftdm_channel_indication_t indication) file 2127 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_RING, 1); file 2131 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_BUSY, 1); file 2138 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_PROGRESS, 1); file 2148 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_PROGRESS, 1); file 2157 src/ftdm_io.c ftdm_channel_set_state(file, func, line, ftdmchan, FTDM_CHANNEL_STATE_PROGRESS_MEDIA, 1); file 2162 src/ftdm_io.c ftdm_log(file, func, line, FTDM_LOG_LEVEL_WARNING, "Do not know how to indicate %d\n", indication); file 2173 src/ftdm_io.c FT_DECLARE(ftdm_status_t) _ftdm_channel_call_place(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan) file 2190 src/ftdm_io.c UNREFERENCED_PARAMETER(file); file 2256 src/ftdm_io.c if (ftdmchan->dtmfdbg.file) { file 2258 src/ftdm_io.c fclose(ftdmchan->dtmfdbg.file); file 2259 src/ftdm_io.c ftdmchan->dtmfdbg.file = NULL; file 2940 src/ftdm_io.c if (!ftdmchan->dtmfdbg.file) { file 2952 src/ftdm_io.c ftdmchan->dtmfdbg.file = fopen(dfile, "w"); file 2953 src/ftdm_io.c if (!ftdmchan->dtmfdbg.file) { file 2963 src/ftdm_io.c rc = fwrite(&ftdmchan->dtmfdbg.buffer[ftdmchan->dtmfdbg.windex], 1, towrite, ftdmchan->dtmfdbg.file); file 2970 src/ftdm_io.c rc = fwrite(&ftdmchan->dtmfdbg.buffer[0], 1, towrite, ftdmchan->dtmfdbg.file); file 3056 src/ftdm_io.c if (!ftdmchan->dtmfdbg.file) { file 3081 src/ftdm_io.c rc = fwrite(data, 1, dlen, ftdmchan->dtmfdbg.file); file 5320 src/ftdm_io.c if (!fchan->history[0].file) { file 5328 src/ftdm_io.c if (!fchan->history[i].file) { file 5333 src/ftdm_io.c snprintf(line, sizeof(func), "[%s:%d]", fchan->history[i].file, fchan->history[i].line); file 5340 src/ftdm_io.c snprintf(line, sizeof(func), "[%s:%d]", fchan->history[i].file, fchan->history[i].line); file 75 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c static void sangomabc_print_event_call(sangomabc_connection_t *mcon, sangomabc_event_t *event, int priority, int dir, const char *file, const char *func, int line) file 80 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c ftdm_log(file, func, line, mcon->debuglevel, "%s EVENT (%s): %s:(%X) [w%dg%d] CSid=%i Seq=%i Cn=[%s] Cd=[%s] Ci=[%s] Rdnis=[%s]\n", file 95 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c static void sangomabc_print_event_short(sangomabc_connection_t *mcon, sangomabc_short_event_t *event, int priority, int dir, const char *file, const char *func, int line) file 99 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c ftdm_log(file, func, line, mcon->debuglevel, "%s EVENT (%s): %s:(%X) [s%dc%d] Rc=%i CSid=%i Seq=%i \n", file 291 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_event_t *__sangomabc_connection_read(sangomabc_connection_t *mcon, int iteration, const char *file, const char *func, int line) file 337 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c ftdm_log(file, func, line, FTDM_LOG_LEVEL_WARNING, "Not reading packets when connection is down. [%s]\n", file 344 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_print_event_call(mcon, &mcon->event, 0, 0, file, func, line); file 346 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_print_event_short(mcon, (sangomabc_short_event_t*)&mcon->event, 0, 0, file, func, line); file 384 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_event_t *__sangomabc_connection_readp(sangomabc_connection_t *mcon, int iteration, const char *file, const char *func, int line) file 411 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_print_event_call(mcon, &mcon->event, 1, 0, file, func, line); file 413 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_print_event_short(mcon, (sangomabc_short_event_t*)&mcon->event, 1, 0, file, func, line); file 428 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c int __sangomabc_connection_write(sangomabc_connection_t *mcon, sangomabc_event_t *event, const char *file, const char *func, int line) file 448 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c ftdm_log(file, func, line, FTDM_LOG_LEVEL_WARNING, "Not writing packets when connection is down. [%s]\n", file 466 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_print_event_call(mcon, event, 0, 1, file, func, line); file 468 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_print_event_short(mcon, (sangomabc_short_event_t*)event, 0, 1, file, func, line); file 489 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c int __sangomabc_connection_writep(sangomabc_connection_t *mcon, sangomabc_event_t *event, const char *file, const char *func, int line) file 521 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_print_event_call(mcon, event, 1, 1, file, func, line); file 523 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c sangomabc_print_event_short(mcon, (sangomabc_short_event_t*)event, 1, 1, file, func, line); file 134 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.h sangomabc_event_t *__sangomabc_connection_read(sangomabc_connection_t *mcon, int iteration, const char *file, const char *func, int line); file 135 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.h sangomabc_event_t *__sangomabc_connection_readp(sangomabc_connection_t *mcon, int iteration, const char *file, const char *func, int line); file 136 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.h int __sangomabc_connection_write(sangomabc_connection_t *mcon, sangomabc_event_t *event, const char *file, const char *func, int line); file 137 src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.h int __sangomabc_connection_writep(sangomabc_connection_t *mcon, sangomabc_event_t *event, const char *file, const char *func, int line); file 193 src/include/freetdm.h typedef void (*ftdm_logger_t)(const char *file, const char *func, int line, int level, const char *fmt, ...); file 605 src/include/freetdm.h FT_DECLARE(ftdm_status_t) _ftdm_channel_call_answer(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan); file 611 src/include/freetdm.h FT_DECLARE(ftdm_status_t) _ftdm_channel_call_place(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan); file 617 src/include/freetdm.h FT_DECLARE(ftdm_status_t) _ftdm_channel_call_indicate(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan, ftdm_channel_indication_t indication); file 623 src/include/freetdm.h FT_DECLARE(ftdm_status_t) _ftdm_channel_call_hangup(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan); file 629 src/include/freetdm.h FT_DECLARE(ftdm_status_t) _ftdm_channel_call_hangup_with_cause(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan, ftdm_call_cause_t); file 635 src/include/freetdm.h FT_DECLARE(ftdm_status_t) _ftdm_channel_call_hold(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan); file 641 src/include/freetdm.h FT_DECLARE(ftdm_status_t) _ftdm_channel_call_unhold(const char *file, const char *func, int line, ftdm_channel_t *ftdmchan); file 64 src/include/private/ftdm_config.h #define ftdm_is_file_path(file) (*(file +1) == ':' || *file == '/' || strstr(file, SWITCH_URL_SEPARATOR)) file 70 src/include/private/ftdm_config.h #define ftdm_is_file_path(file) ((*file == '/') || strstr(file, SWITCH_URL_SEPARATOR)) file 82 src/include/private/ftdm_config.h FILE *file; file 350 src/include/private/ftdm_core.h FILE *file; file 360 src/include/private/ftdm_core.h const char *file; file 528 src/include/private/ftdm_core.h FT_DECLARE(ftdm_status_t) ftdm_channel_set_state(const char *file, const char *func, int line, file 634 src/include/private/ftdm_core.h #define ftdm_log_chan_ex(fchan, file, func, line, level, format, ...) ftdm_log(file, func, line, level, "[s%dc%d][%d:%d] " format, fchan->span_id, fchan->chan_id, fchan->physical_span_id, fchan->physical_chan_id, __VA_ARGS__) file 62 src/priserver.c int fd = 0, file = 0, inlen = 0, outlen = 0; file 121 src/priserver.c file = open("sound.raw", O_RDONLY); file 122 src/priserver.c if (file < 0){ file 159 src/priserver.c if(!lead && (outlen = read(file, outframe, len)) <= 0) { file 180 src/priserver.c close(file);