Home
last modified time | relevance | path

Searched refs:spandsp_globals (Results 1 – 5 of 5) sorted by relevance

/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_spandsp/
H A Dmod_spandsp.c47 struct spandsp_globals spandsp_globals = { 0 }; variable
498 if (spandsp_globals.tones) { in load_configuration()
518 spandsp_globals.verbose = 0; in load_configuration()
519 spandsp_globals.use_ecm = 1; in load_configuration()
521 spandsp_globals.prepend_string = switch_core_strdup(spandsp_globals.config_pool, "fax"); in load_configuration()
522 spandsp_globals.spool = switch_core_strdup(spandsp_globals.config_pool, "/tmp"); in load_configuration()
666 spandsp_globals.spool = switch_core_strdup(spandsp_globals.config_pool, value); in load_configuration()
816 memset(&spandsp_globals, 0, sizeof(spandsp_globals)); in SWITCH_MODULE_LOAD_FUNCTION()
817 spandsp_globals.pool = pool; in SWITCH_MODULE_LOAD_FUNCTION()
913 if (spandsp_globals.tones) { in SWITCH_MODULE_SHUTDOWN_FUNCTION()
[all …]
H A Dmod_spandsp_fax.c220 switch_thread_cond_wait(spandsp_globals.cond, spandsp_globals.cond_mutex); in timer_thread_run()
265 switch_mutex_lock(spandsp_globals.mutex); in counter_increment()
266 spandsp_globals.total_sessions++; in counter_increment()
267 switch_mutex_unlock(spandsp_globals.mutex); in counter_increment()
1084 enabled = spandsp_globals.enable_t38; in negotiate_t38()
1174 enabled = spandsp_globals.enable_t38; in request_t38()
1277 pvt->use_ecm = spandsp_globals.use_ecm; in pvt_init()
1448 spool = spandsp_globals.spool; in mod_spandsp_fax_process_fax()
1707 switch_mutex_init(&spandsp_globals.mutex, SWITCH_MUTEX_NESTED, spandsp_globals.pool); in mod_spandsp_fax_load()
1710 switch_mutex_init(&spandsp_globals.cond_mutex, SWITCH_MUTEX_NESTED, spandsp_globals.pool); in mod_spandsp_fax_load()
[all …]
H A Dmod_spandsp.h64 struct spandsp_globals { struct
100 extern struct spandsp_globals spandsp_globals; argument
H A Dmod_spandsp_dsp.c784 ldetector->debug = spandsp_globals.tonedebug; in tone_detector_create()
860 switch_mutex_lock(spandsp_globals.mutex); in callprogress_detector_start()
862 descriptor = switch_core_hash_find(spandsp_globals.tones, name); in callprogress_detector_start()
865 switch_mutex_unlock(spandsp_globals.mutex); in callprogress_detector_start()
871 switch_mutex_unlock(spandsp_globals.mutex); in callprogress_detector_start()
H A Dmod_spandsp_modem.c297 …snprintf(modem->devlink, sizeof(modem->devlink), "%s/FS%d", spandsp_globals.modem_directory, modem…
341 if (spandsp_globals.modem_verbose) {
985 spandsp_globals.modem_dialplan,
993 spandsp_globals.modem_context,
1409 globals.SOFT_MAX_MODEMS = spandsp_globals.modem_count;