Home
last modified time | relevance | path

Searched refs:switch_file_exists (Results 1 – 24 of 24) sorted by relevance

/dports/net/freeswitch/freeswitch-1.10.3.-release/src/
H A Dswitch_core_cert.c202 if (switch_file_exists(rsa, NULL) != SWITCH_STATUS_SUCCESS) { in switch_core_cert_gen_fingerprint()
261 if (switch_file_exists(pem, NULL) == SWITCH_STATUS_SUCCESS) { in switch_core_gen_certs()
273 …if (switch_file_exists(pvt, NULL) == SWITCH_STATUS_SUCCESS || switch_file_exists(rsa, NULL) == SWI… in switch_core_gen_certs()
H A Dswitch_msrp.c151 if (switch_file_exists(globals.cert, NULL) != SWITCH_STATUS_SUCCESS) { in msrp_init_ssl()
163 if (switch_file_exists(globals.key, NULL) != SWITCH_STATUS_SUCCESS) { in msrp_init_ssl()
199 if ( switch_file_exists(globals.key, globals.pool) != SWITCH_STATUS_SUCCESS ) { in load_config()
H A Dswitch_core_file.c386 …if ((flags & SWITCH_FILE_FLAG_WRITE) && !is_stream && (status = switch_file_exists(file_path, fh->… in switch_core_perform_file_open()
H A Dswitch_apr.c510 SWITCH_DECLARE(switch_status_t) switch_file_exists(const char *filename, switch_memory_pool_t *pool) in switch_file_exists() function
H A Dswitch_core_video.c1878 if (switch_file_exists(new_handle->font_family, new_handle->pool) != SWITCH_STATUS_SUCCESS) { in switch_img_txt_handle_create()
H A Dswitch_rtp.c3759 if (switch_file_exists(dtls->pem, rtp_session->pool) == SWITCH_STATUS_SUCCESS) { in switch_rtp_add_dtls()
3827 if (!zstr(dtls->ca) && switch_file_exists(dtls->ca, rtp_session->pool) == SWITCH_STATUS_SUCCESS in switch_rtp_add_dtls()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/loggers/mod_logfile/
H A Dmod_logfile.c156 if (switch_file_exists(to_filename, pool) == SWITCH_STATUS_SUCCESS) { in mod_logfile_rotate()
172 if (switch_file_exists(to_filename, pool) == SWITCH_STATUS_SUCCESS) { in mod_logfile_rotate()
200 if (switch_file_exists(filename, pool) == SWITCH_STATUS_SUCCESS) { in mod_logfile_rotate()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_random/
H A Dmod_random.c61 if (switch_file_exists(random_device_files[i], pool) == SWITCH_STATUS_SUCCESS) { in SWITCH_MODULE_LOAD_FUNCTION()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/asr_tts/mod_pocketsphinx/
H A Dmod_pocketsphinx.c166 if (switch_file_exists(dic, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { in pocketsphinx_asr_load_grammar()
171 if (switch_file_exists(model, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { in pocketsphinx_asr_load_grammar()
176 if (switch_file_exists(jsgf, ah->memory_pool) != SWITCH_STATUS_SUCCESS) { in pocketsphinx_asr_load_grammar()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_rayo/
H A Drayo_fax_components.c132 if (switch_file_exists(fax_document, NULL) != SWITCH_STATUS_SUCCESS) { in start_sendfax_component()
394 …if (is_rxfax && RECEIVEFAX_COMPONENT(component)->http_put_after_receive && switch_file_exists(RECE… in on_execute_complete_event()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/asr_tts/mod_tts_commandline/
H A Dmod_tts_commandline.c215 if (switch_file_exists(info->file, NULL) == SWITCH_STATUS_SUCCESS) { in tts_commandline_speech_flush_tts()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_voicemail/
H A Dmod_voicemail.c1234 …if (switch_file_exists(file_path, switch_core_session_get_pool(session)) == SWITCH_STATUS_SUCCESS)… in create_file()
1638 …if (switch_file_exists(cbt->file_path, switch_core_session_get_pool(session)) == SWITCH_STATUS_SUC… in listen_file()
2892 if (insert_db && switch_file_exists(file_path, pool) == SWITCH_STATUS_SUCCESS) { in deliver_vm()
3144 if (!insert_db && file_path && switch_file_exists(file_path, pool) == SWITCH_STATUS_SUCCESS) { in deliver_vm()
3530 …if (switch_file_exists(greet_path, switch_core_session_get_pool(session)) == SWITCH_STATUS_SUCCESS… in voicemail_leave_main()
5125 if (switch_file_exists(file_path, pool) != SWITCH_STATUS_SUCCESS) { in SWITCH_STANDARD_API()
5134 if (switch_file_exists(final_file_path, pool) == SWITCH_STATUS_SUCCESS) { in SWITCH_STANDARD_API()
5275 if (switch_file_exists(file_path, pool) != SWITCH_STATUS_SUCCESS) { in SWITCH_STANDARD_API()
5294 if (switch_file_exists(file_path, pool) != SWITCH_STATUS_SUCCESS) { in SWITCH_STANDARD_API()
5824 if (file_path && switch_file_exists(file_path, pool) == SWITCH_STATUS_SUCCESS) { in SWITCH_STANDARD_API()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_httapi/
H A Dmod_httapi.c482 if (switch_stristr("://", resp) || switch_file_exists(resp, NULL) == SWITCH_STATUS_SUCCESS) { in parse_playback()
1111 …if (!http && !zstr(tmp_record_path) && switch_file_exists(tmp_record_path, client->pool) == SWITCH… in parse_record()
1398 if (switch_file_exists(hp->value, client->pool) == SWITCH_STATUS_SUCCESS) { in cleanup_attachments()
2403 …if (switch_file_exists(context->meta_file, context->pool) == SWITCH_STATUS_SUCCESS && ((fd = open(… in load_cache_data()
2826 …if (switch_file_exists(context->cache_file, context->pool) != SWITCH_STATUS_SUCCESS && unreachable… in locate_url_file()
2867 if (switch_file_exists(context->cache_file, context->pool) == SWITCH_STATUS_SUCCESS) { in locate_url_file()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/include/
H A Dswitch_apr.h881 SWITCH_DECLARE(switch_status_t) switch_file_exists(const char *filename, switch_memory_pool_t *pool…
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/formats/mod_sndfile/
H A Dmod_sndfile.c323 if (switch_file_exists(path, handle->memory_pool) != SWITCH_STATUS_SUCCESS) { in sndfile_perform_open()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/xml_int/mod_xml_rpc/
H A Dmod_xml_rpc.c764 if (switch_file_exists(tmp, NULL) == SWITCH_STATUS_SUCCESS) { in auth_hook()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_signalwire/
H A Dmod_signalwire.c572 if (switch_file_exists(tokenpath, NULL) != SWITCH_STATUS_SUCCESS) { in mod_signalwire_load_or_generate_token()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/endpoints/mod_verto/
H A Dmod_verto.c197 if (switch_file_exists(profile->chain, NULL) != SWITCH_STATUS_SUCCESS) { in verto_init_ssl()
208 if (switch_file_exists(profile->cert, NULL) != SWITCH_STATUS_SUCCESS) { in verto_init_ssl()
220 if (switch_file_exists(profile->key, NULL) != SWITCH_STATUS_SUCCESS) { in verto_init_ssl()
1561 if (switch_file_exists(path, NULL) == SWITCH_STATUS_SUCCESS && in http_static_handler()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/formats/mod_local_stream/
H A Dmod_local_stream.c377 if (switch_file_exists(png_buf, temp_pool) == SWITCH_STATUS_SUCCESS) { in read_stream_thread()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_http_cache/
H A Dmod_http_cache.c733 } else if (switch_file_exists(u->filename, pool) != SWITCH_STATUS_SUCCESS) { in url_cache_get()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_dptools/
H A Dmod_dptools.c5827 if (switch_file_exists(cm->path, cm->pool) != SWITCH_STATUS_SUCCESS) { in call_monitor_thread()
6023 if (switch_file_exists(path, switch_core_session_get_pool(session)) == SWITCH_STATUS_SUCCESS) { in SWITCH_STANDARD_APP()
6116 if (switch_file_exists(path, NULL) == SWITCH_STATUS_SUCCESS) { in SWITCH_STANDARD_API()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/endpoints/mod_sofia/
H A Dsofia.c6081 if (switch_file_exists(key, profile->pool) != SWITCH_STATUS_SUCCESS) key = NULL; in config_sofia()
6083 if (switch_file_exists(cert, profile->pool) != SWITCH_STATUS_SUCCESS) cert = NULL; in config_sofia()
6086 if ( switch_file_exists(key, profile->pool) != SWITCH_STATUS_SUCCESS ) { in config_sofia()
6094 if (switch_file_exists(key, profile->pool) != SWITCH_STATUS_SUCCESS) key = NULL; in config_sofia()
6095 if (switch_file_exists(ca, profile->pool) != SWITCH_STATUS_SUCCESS) ca = NULL; in config_sofia()
6098 if ( switch_file_exists(key, profile->pool) != SWITCH_STATUS_SUCCESS ) { in config_sofia()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_spandsp/
H A Dmod_spandsp_fax.c1429 …if ((switch_file_exists(pvt->filename, switch_core_session_get_pool(session)) != SWITCH_STATUS_SUC… in mod_spandsp_fax_process_fax()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_commands/
H A Dmod_commands.c7101 if (switch_file_exists(cmd, pool) == SWITCH_STATUS_SUCCESS) { in SWITCH_STANDARD_API()