Home
last modified time | relevance | path

Searched refs:SWITCH_TRUE (Results 1 – 25 of 243) sorted by relevance

12345678910

/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_rayo/test/
H A Dtest_iks.c193 fst_check(SWITCH_TRUE == iks_attrib_is_dtmf_digit("1")); in FST_TEST_BEGIN()
194 fst_check(SWITCH_TRUE == iks_attrib_is_dtmf_digit("A")); in FST_TEST_BEGIN()
195 fst_check(SWITCH_TRUE == iks_attrib_is_dtmf_digit("a")); in FST_TEST_BEGIN()
196 fst_check(SWITCH_TRUE == iks_attrib_is_dtmf_digit("D")); in FST_TEST_BEGIN()
197 fst_check(SWITCH_TRUE == iks_attrib_is_dtmf_digit("d")); in FST_TEST_BEGIN()
198 fst_check(SWITCH_TRUE == iks_attrib_is_dtmf_digit("*")); in FST_TEST_BEGIN()
199 fst_check(SWITCH_TRUE == iks_attrib_is_dtmf_digit("#")); in FST_TEST_BEGIN()
204 fst_check(SWITCH_TRUE == validate_optional_attrib(iks_attrib_is_dtmf_digit, "A")); in FST_TEST_BEGIN()
205 fst_check(SWITCH_TRUE == validate_optional_attrib(iks_attrib_is_dtmf_digit, "1")); in FST_TEST_BEGIN()
208 fst_check(SWITCH_TRUE == validate_optional_attrib(iks_attrib_is_dtmf_digit, NULL)); in FST_TEST_BEGIN()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/
H A Dfs_tts.c125 verbose = SWITCH_TRUE; in main()
156 switch_loadable_module_load_module("", "CORE_PCM_MODULE", SWITCH_TRUE, &err); in main()
157 switch_loadable_module_load_module("", "CORE_SPEEX_MODULE", SWITCH_TRUE, &err); in main()
158 switch_loadable_module_load_module("", "CORE_SOFTTIMER_MODULE", SWITCH_TRUE, &err); in main()
159 …switch_loadable_module_load_module((char *) SWITCH_GLOBAL_dirs.mod_dir, "mod_console", SWITCH_TRUE in main()
162 …ule_load_module((char *) SWITCH_GLOBAL_dirs.mod_dir, extra_modules[i], SWITCH_TRUE, &err) != SWITC… in main()
168 …module_load_module((char *) SWITCH_GLOBAL_dirs.mod_dir, "mod_sndfile", SWITCH_TRUE, &err) != SWITC… in main()
173 …le_module_load_module((char *) SWITCH_GLOBAL_dirs.mod_dir, "mod_ssml", SWITCH_TRUE, &err) != SWITC… in main()
179 …e_module_load_module((char *) SWITCH_GLOBAL_dirs.mod_dir, "mod_polly", SWITCH_TRUE, &err) != SWITC… in main()
186 …_module_load_module((char *) SWITCH_GLOBAL_dirs.mod_dir, "mod_gcloud", SWITCH_TRUE, &err) != SWITC… in main()
H A Dswitch_xml_config.c203 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
245 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
285 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
290 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
303 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
332 newval = SWITCH_TRUE; in switch_xml_config_parse_event()
347 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
373 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
392 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
407 changed = SWITCH_TRUE; in switch_xml_config_parse_event()
[all …]
H A Dfs_encode.c129 verbose = SWITCH_TRUE; in main()
158 switch_loadable_module_load_module("", "CORE_PCM_MODULE", SWITCH_TRUE, &err); in main()
159 switch_loadable_module_load_module("", "CORE_SPEEX_MODULE", SWITCH_TRUE, &err); in main()
160 switch_loadable_module_load_module("", "CORE_SOFTTIMER_MODULE", SWITCH_TRUE, &err); in main()
163 …module((char *) SWITCH_GLOBAL_dirs.mod_dir, (char *) extra_modules[i], SWITCH_TRUE, &err) != SWITC… in main()
169 …ad_module((char *) SWITCH_GLOBAL_dirs.mod_dir, (char *) "mod_spandsp", SWITCH_TRUE, &err) != SWITC… in main()
174 …ad_module((char *) SWITCH_GLOBAL_dirs.mod_dir, (char *) "mod_sndfile", SWITCH_TRUE, &err) != SWITC… in main()
179 …odule((char *) SWITCH_GLOBAL_dirs.mod_dir, (char *) "mod_native_file", SWITCH_TRUE, &err) != SWITC… in main()
H A Dswitch.c545 nc = SWITCH_TRUE; in main()
675 nf = SWITCH_TRUE; in main()
683 reincarnate = SWITCH_TRUE; in main()
708 waste = SWITCH_TRUE; in main()
714 waste = SWITCH_TRUE; in main()
759 do_kill = SWITCH_TRUE; in main()
763 nc = SWITCH_TRUE; in main()
767 nc = SWITCH_TRUE; in main()
768 do_wait = SWITCH_TRUE; in main()
820 log_set = SWITCH_TRUE; in main()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/tests/unit/
H A Dswitch_xml.c54 switch_xml_t xml = switch_xml_parse_str_dynamic((char *)text, SWITCH_TRUE); in FST_SUITE_BEGIN()
62 xml = switch_xml_parse_str_dynamic((char *)text, SWITCH_TRUE); in FST_SUITE_BEGIN()
74 switch_xml_t xml = switch_xml_parse_str_dynamic((char *)text, SWITCH_TRUE); in FST_SUITE_BEGIN()
90 xml = switch_xml_parse_str_dynamic((char *)text, SWITCH_TRUE); in FST_SUITE_BEGIN()
106 xml = switch_xml_parse_str_dynamic((char *)text, SWITCH_TRUE); in FST_SUITE_BEGIN()
H A Dswitch_core_db.c99 switch_sql_queue_manager_push_confirm(qm, "DROP TABLE IF EXISTS t;", 0, SWITCH_TRUE); in FST_SUITE_BEGIN()
100 switch_sql_queue_manager_push_confirm(qm, "CREATE TABLE t (col1 INT);", 0, SWITCH_TRUE); in FST_SUITE_BEGIN()
103 switch_sql_queue_manager_push(qm, "INSERT INTO t (col1) VALUES (1);", 0, SWITCH_TRUE); in FST_SUITE_BEGIN()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_voicemail_ivr/
H A Divr.c56 cMatch = SWITCH_TRUE; in match_dtmf()
58 cMatch = SWITCH_TRUE; in match_dtmf()
61 cMatch = SWITCH_TRUE; in match_dtmf()
63 cMatch = SWITCH_TRUE; in match_dtmf()
66 is_invalid[j] = SWITCH_TRUE; in match_dtmf()
109 loc->audio_stopped = SWITCH_TRUE; in cb_on_dtmf()
197 loc->audio_stopped = SWITCH_TRUE; in ivre_playback()
225 loc->recorded_audio = SWITCH_TRUE; in ivre_record()
H A Dmenu.c299 skip_header = SWITCH_TRUE; in vmivr_menu_navigator()
311 msg_deleted = SWITCH_TRUE; in vmivr_menu_navigator()
323 msg_undeleted = SWITCH_TRUE; in vmivr_menu_navigator()
329 msg_saved = SWITCH_TRUE; in vmivr_menu_navigator()
430 forward_msg = SWITCH_TRUE; in vmivr_menu_forward()
438 forward_msg = SWITCH_TRUE; in vmivr_menu_forward()
542 profile->authorized = SWITCH_TRUE; in vmivr_menu_authenticate()
574 profile->authorized = SWITCH_TRUE; in vmivr_menu_authenticate()
810 play_instruction = SWITCH_TRUE; in vmivr_menu_record()
846 listen_recording = SWITCH_TRUE; in vmivr_menu_record()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/endpoints/mod_skinny/
H A Dskinny_protocol.c489 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_keep_alive_ack()
516 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_register_ack()
539 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_speed_dial_stat_res()
562 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_start_tone()
580 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_stop_tone()
603 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_set_ringer()
635 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_forward_stat()
656 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_set_lamp()
672 return skinny_send_reply_quiet(listener, message, SWITCH_TRUE); in perform_send_set_speaker_mode()
690 return skinny_send_reply(listener, message, SWITCH_TRUE); in perform_send_srvreq_response()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_rayo/
H A Diks_helpers.c327 return SWITCH_TRUE; in iks_attrib_is_bool()
342 return SWITCH_TRUE; in iks_attrib_is_not_negative()
358 return SWITCH_TRUE; in iks_attrib_is_positive()
374 return SWITCH_TRUE; in iks_attrib_is_positive_or_neg_one()
387 return SWITCH_TRUE; in iks_attrib_is_any()
400 return SWITCH_TRUE; in iks_attrib_is_decimal_between_zero_and_one()
435 return SWITCH_TRUE; in iks_attrib_is_dtmf_digit()
449 return SWITCH_TRUE; in validate_optional_attrib()
/dports/net/mod_amd/mod_amd-60daa7e/
H A Dmod_amd.c210 return SWITCH_TRUE; in amd_handle_silence_frame()
223 return SWITCH_TRUE; in amd_handle_silence_frame()
255 return SWITCH_TRUE; in amd_handle_voiced_frame()
268 return SWITCH_TRUE; in amd_handle_voiced_frame()
281 return SWITCH_TRUE; in amd_handle_voiced_frame()
405 complete = SWITCH_TRUE; in SWITCH_STANDARD_APP()
416 complete = SWITCH_TRUE; in SWITCH_STANDARD_APP()
426 switch_core_session_reset(session, SWITCH_FALSE, SWITCH_TRUE); in SWITCH_STANDARD_APP()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_lcr/
H A Dmod_lcr.c475 ret = SWITCH_TRUE; in db_check()
488 return SWITCH_TRUE; in set_db_random()
492 return SWITCH_TRUE; in set_db_random()
810 if (lcr_skipped == SWITCH_TRUE) { in route_add_callback()
838 cbt->intrastate = SWITCH_TRUE; in intrastatelata_callback()
840 cbt->intralata = SWITCH_TRUE; in intrastatelata_callback()
936 if (cb_struct->intralata == SWITCH_TRUE && profile->profile_has_intralata == SWITCH_TRUE) { in lcr_do_lookup()
1482 routes.intrastate = SWITCH_TRUE; in lcr_outgoing_channel()
1507 pop_limit = SWITCH_TRUE; in lcr_outgoing_channel()
1585 routes.intrastate = SWITCH_TRUE; in SWITCH_STANDARD_DIALPLAN()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_conference/
H A Dconference_loop.c175 conference_video_vmute_snap(member, SWITCH_TRUE); in conference_loop_conference_video_vmute_snapoff()
342 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_energy_up()
383 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_energy_equ_conf()
423 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_energy_dn()
456 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_volume_talk_up()
488 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_volume_talk_zero()
519 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_volume_talk_dn()
550 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_volume_listen_up()
581 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_volume_listen_zero()
613 conference_member_play_file(member, msg, 0, SWITCH_TRUE); in conference_loop_volume_listen_dn()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_odbc_cdr/
H A Dmod_odbc_cdr.c154 field->quote = SWITCH_TRUE; in load_table()
289 skip_leg = SWITCH_TRUE;
293 skip_leg = SWITCH_TRUE;
323 if (started == SWITCH_TRUE) {
336 started = SWITCH_TRUE;
343 if (globals.debug_sql == SWITCH_TRUE) {
347 insert_fail = SWITCH_TRUE;
352 if (insert_fail == SWITCH_TRUE) {
360 } else if (globals.write_csv == ODBC_CDR_CSV_ON_FAIL && insert_fail == SWITCH_TRUE) {
439 globals.debug_sql = SWITCH_TRUE;
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_cidlookup/
H A Dmod_cidlookup.c171 do_config(SWITCH_TRUE); in event_handler()
183 retval = SWITCH_TRUE; in cidlookup_execute_sql_callback()
299 success = SWITCH_TRUE; in set_cache()
310 success = SWITCH_TRUE; in set_cache()
321 success = SWITCH_TRUE; in set_cache()
575 save_cache = SWITCH_TRUE; in do_lookup()
592 save_cache = SWITCH_TRUE; in do_lookup()
673 skipurl = SWITCH_TRUE; in SWITCH_STANDARD_APP()
675 skipcitystate = SWITCH_TRUE; in SWITCH_STANDARD_APP()
776 skipurl = SWITCH_TRUE; in SWITCH_STANDARD_API()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_limit/
H A Dmod_limit.c52 …le_module_load_module((char *) SWITCH_GLOBAL_dirs.mod_dir, "mod_hash", SWITCH_TRUE, &err) != SWITC… in SWITCH_MODULE_LOAD_FUNCTION()
60 …if (switch_loadable_module_load_module((char *) SWITCH_GLOBAL_dirs.mod_dir, "mod_db", SWITCH_TRUE,… in SWITCH_MODULE_LOAD_FUNCTION()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/codecs/mod_amr/
H A Damr_be.c92 return SWITCH_TRUE; in switch_amr_pack_be()
116 return SWITCH_TRUE; in switch_amr_unpack_be()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/codecs/mod_amrwb/
H A Damrwb_be.c93 return SWITCH_TRUE; in switch_amrwb_pack_be()
119 return SWITCH_TRUE; in switch_amrwb_unpack_be()
/dports/net/gstreamer1-plugins-srtp/gst-plugins-bad-1.16.2/tests/check/elements/
H A Davwait.c33 SWITCH_TRUE = 1 enumerator
292 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
318 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
348 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
378 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
420 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
/dports/net/gstreamer1-plugins-libmms/gst-plugins-bad-1.16.2/tests/check/elements/
H A Davwait.c33 SWITCH_TRUE = 1 enumerator
292 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
318 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
348 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
378 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
420 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
/dports/multimedia/gstreamer1-plugins-openh264/gst-plugins-bad-1.16.2/tests/check/elements/
H A Davwait.c33 SWITCH_TRUE = 1 enumerator
292 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
318 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
348 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
378 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
420 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
/dports/multimedia/gstreamer1-plugins-msdk/gst-plugins-bad-1.16.2/tests/check/elements/
H A Davwait.c33 SWITCH_TRUE = 1 enumerator
292 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
318 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
348 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
378 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
420 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
/dports/multimedia/gstreamer1-plugins-rtmp/gst-plugins-bad-1.16.2/tests/check/elements/
H A Davwait.c33 SWITCH_TRUE = 1 enumerator
292 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
318 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
348 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
378 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
420 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
/dports/multimedia/gstreamer1-plugins-resindvd/gst-plugins-bad-1.16.2/tests/check/elements/
H A Davwait.c33 SWITCH_TRUE = 1 enumerator
292 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
318 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
348 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
378 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()
420 switch_after_2s = SWITCH_TRUE; in GST_START_TEST()

12345678910