/dports/net/freeswitch/freeswitch-1.10.3.-release/src/ |
H A D | switch_speex.c | 176 if (switch_true(arg)) { in switch_speex_fmtp_parse() 516 default_codec_settings.enhancement = switch_true(value); in load_configuration() 519 default_codec_settings.vad = switch_true(value); in load_configuration() 522 default_codec_settings.vbr = switch_true(value); in load_configuration() 541 default_codec_settings.dtx = switch_true(value); in load_configuration() 544 default_codec_settings.preproc = switch_true(value); in load_configuration() 547 default_codec_settings.pp_vad = switch_true(value); in load_configuration() 550 default_codec_settings.pp_agc = switch_true(value); in load_configuration() 561 default_codec_settings.pp_denoise = switch_true(value); in load_configuration() 564 default_codec_settings.pp_dereverb = switch_true(value); in load_configuration()
|
H A D | switch_core.c | 1589 ok = switch_true(type); in switch_load_network_lists() 2172 if (switch_true(val)) { in switch_load_core_config() 2178 if (switch_true(val)) { in switch_load_core_config() 2184 if (switch_true(val)) { in switch_load_core_config() 2190 if (switch_true(val)) { in switch_load_core_config() 2208 if (switch_true(val)) { in switch_load_core_config() 2241 if (switch_true(val)) { in switch_load_core_config() 2261 int v = switch_true(val); in switch_load_core_config() 2271 int v = switch_true(val); in switch_load_core_config() 2344 if (switch_true(val)) { in switch_load_core_config() [all …]
|
H A D | switch_ivr_bridge.c | 474 if (switch_true(silence_var)) { in audio_bridge_thread() 506 bridge_filter_dtmf = switch_true(switch_channel_get_variable(chan_a, "bridge_filter_dtmf")); in audio_bridge_thread() 1208 if (switch_true(switch_channel_get_variable(channel, "uuid_bridge_continue_on_cancel"))) { in uuid_bridge_on_soft_execute() 1210 } else if (switch_true(switch_channel_get_variable(channel, "uuid_bridge_park_on_cancel"))) { in uuid_bridge_on_soft_execute() 1263 if (switch_true(switch_channel_get_variable(channel, SWITCH_PARK_AFTER_BRIDGE_VARIABLE))) { in uuid_bridge_on_soft_execute() 1451 … if (switch_true(switch_channel_get_variable(other_channel, SWITCH_PARK_AFTER_BRIDGE_VARIABLE))) { in signal_bridge_on_hangup() 1462 … switch_true(switch_channel_get_variable(other_channel, SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE))) { in signal_bridge_on_hangup() 1940 if (switch_true(hup)) { in switch_ivr_multi_threaded_bridge() 2289 if ((var = switch_channel_get_variable(channel, "intercept_unbridged_only")) && switch_true(var)) { in switch_ivr_intercept_session() 2296 …if ((var = switch_channel_get_variable(channel, "intercept_unanswered_only")) && switch_true(var))… in switch_ivr_intercept_session() [all …]
|
H A D | switch_ivr_originate.c | 420 } else if (switch_true(var)) { in inherit_codec() 2114 if (switch_true(proxy_media)) { in switch_ivr_originate() 2122 if (switch_true(zrtp_passthru)) { in switch_ivr_originate() 2139 if (switch_true(bypass_media)) { in switch_ivr_originate() 2418 oglobals.early_ok = switch_true(var); in switch_ivr_originate() 2444 hangup_on_single_reject = switch_true(var); in switch_ivr_originate() 2452 if (switch_true(var)) { in switch_ivr_originate() 2469 if (switch_true(var_val)) { in switch_ivr_originate() 2476 if (switch_true(var_val)) { in switch_ivr_originate() 3046 local_clobber = switch_true(lc); in switch_ivr_originate() [all …]
|
H A D | switch_xml_config.c | 331 if (value && switch_true(value)) { in switch_xml_config_parse_event() 386 newval = switch_true(value); in switch_xml_config_parse_event() 405 int8_t newval = value ? !!switch_true(value) : (int8_t) ((intptr_t) item->defaultvalue); in switch_xml_config_parse_event()
|
H A D | switch_core_state_machine.c | 63 if (switch_true(switch_channel_get_variable(session->channel, "log_audio_stats_on_hangup"))) { in switch_core_standard_on_hangup() 856 …if (switch_true(switch_channel_get_variable(session->channel, SWITCH_SESSION_IN_HANGUP_HOOK_VARIAB… in switch_core_session_hangup_state() 910 } else if (!switch_true(var)) { in switch_core_session_reporting_state() 940 …if (switch_true(switch_channel_get_variable(session->channel, SWITCH_SESSION_IN_HANGUP_HOOK_VARIAB… in switch_core_session_reporting_state() 950 if (switch_true(switch_channel_get_variable(session->channel, "hangup_complete_with_xml"))) { in switch_core_session_reporting_state()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_spandsp/ |
H A D | mod_spandsp.c | 562 if (switch_true(value)) { in load_configuration() 585 if (switch_true(value)) in load_configuration() 590 if (switch_true(value)) in load_configuration() 595 if (switch_true(value)) in load_configuration() 600 if (switch_true(value)) in load_configuration() 605 if (switch_true(value)) in load_configuration() 610 if (switch_true(value)) in load_configuration() 615 if (switch_true(value)) in load_configuration() 620 if (switch_true(value)) { in load_configuration() 626 if (switch_true(value)) { in load_configuration() [all …]
|
H A D | mod_spandsp_fax.c | 1082 enabled = switch_true(v); in negotiate_t38() 1142 insist = switch_true(v); in negotiate_t38() 1172 enabled = switch_true(v); in request_t38() 1179 enabled = switch_true(v); in request_t38() 1187 insist = switch_true(v); in request_t38() 1275 pvt->use_ecm = switch_true(tmp); in pvt_init() 1281 pvt->enable_tep = switch_true(tmp); in pvt_init() 1287 pvt->disable_v17 = switch_true(tmp); in pvt_init() 1317 pvt->verbose = switch_true(tmp); in pvt_init() 1323 if (switch_true(tmp)) { in pvt_init() [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/xml_int/mod_xml_cdr/ |
H A D | mod_xml_cdr.c | 214 if (!switch_true(force_cdr)) { 221 prefix_a = switch_true(prefix_a_var); 539 globals.log_http_and_disk = switch_true(val); 551 globals.log_b = switch_true(val); 553 globals.prefix_a = switch_true(val); 554 } else if (!strcasecmp(var, "disable-100-continue") && switch_true(val)) { 562 globals.encode = switch_true(val) ? ENCODING_DEFAULT : ENCODING_NONE; 567 globals.rotate = switch_true(val); 588 } else if (!strcasecmp(var, "enable-cacert-check") && switch_true(val)) { 600 } else if (!strcasecmp(var, "enable-ssl-verifyhost") && switch_true(val)) {
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_hiredis/ |
H A D | hiredis_utils.c | 59 ignore_connect_fail = switch_true(switch_xml_attr_soft(param, "value")); in mod_hiredis_do_config() 61 ignore_error = switch_true(switch_xml_attr_soft(param, "value")); in mod_hiredis_do_config() 65 delete_when_zero = switch_true(switch_xml_attr_soft(param, "value")); in mod_hiredis_do_config()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/endpoints/mod_sofia/ |
H A D | sofia.c | 1277 lazy = switch_true(val); in sofia_update_callee_id() 1282 att = switch_true(val); in sofia_update_callee_id() 4154 if (switch_true(alias)) { in parse_domain_tag() 4162 if (switch_true(parse)) { in parse_domain_tag() 4458 if (switch_true(val)) { in config_sofia() 5900 if(switch_true(val)) { in config_sofia() 5906 if(switch_true(val)) { in config_sofia() 5912 if(switch_true(val)) { in config_sofia() 5918 if(switch_true(val)) { in config_sofia() 5924 if(switch_true(val)) { in config_sofia() [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_json_cdr/ |
H A D | mod_json_cdr.c | 454 if (!switch_true(force_cdr)) { 607 globals.log_http_and_disk = switch_true(val); 613 globals.log_b = switch_true(val); 615 globals.prefix_a = switch_true(val); 616 } else if (!strcasecmp(var, "disable-100-continue") && switch_true(val)) { 622 globals.encode = switch_true(val) ? ENCODING_DEFAULT : ENCODING_NONE; 627 globals.rotate = switch_true(val); 654 } else if (!strcasecmp(var, "enable-cacert-check") && switch_true(val)) { 666 } else if (!strcasecmp(var, "enable-ssl-verifyhost") && switch_true(val)) { 686 globals.encode_values = switch_true(val) ? ENCODING_DEFAULT : ENCODING_NONE;
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_kazoo/ |
H A D | kazoo_ei_config.c | 176 kazoo_globals.ei_shortname = switch_true(val); in kazoo_ei_config() 187 kazoo_globals.nat_map = switch_true(val); in kazoo_ei_config() 190 kazoo_globals.send_all_headers = switch_true(val); in kazoo_ei_config() 193 kazoo_globals.send_all_private_headers = switch_true(val); in kazoo_ei_config() 215 kazoo_globals.event_stream_keepalive = switch_true(val); in kazoo_ei_config() 241 kazoo_globals.legacy_events = switch_true(val); in kazoo_ei_config() 244 kazoo_globals.expand_headers_on_fetch = switch_true(val); in kazoo_ei_config() 272 int i, v = switch_true(default_tweaks) ? 1 : 0; in kazoo_ei_config() 282 if(switch_true(val)) { in kazoo_ei_config()
|
H A D | kazoo_endpoints.c | 197 call_fwd_is_substitute = switch_true(val); in kz_endpoint_outgoing_channel() 199 call_fwd_is_failover = switch_true(val); in kz_endpoint_outgoing_channel() 201 call_fwd_direct_calls_only = switch_true(val); in kz_endpoint_outgoing_channel()
|
H A D | kazoo_config.c | 309 cur->out_type_as_array = switch_true(as_array); in kazoo_config_field() 313 cur->exclude_prefix = switch_true(exclude_prefix); in kazoo_config_field() 383 root->verbose = switch_true(verbose); in kazoo_config_fields()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/loggers/mod_console/ |
H A D | mod_console.c | 198 if (!strcasecmp(var, "colorize") && switch_true(val)) { in config_logger() 210 } else if (!strcasecmp(var, "uuid") && switch_true(val)) { in config_logger() 212 } else if (!strcasecmp(var, "json") && switch_true(val)) { in config_logger() 425 COLORIZE = switch_true(argv[1]); in SWITCH_STANDARD_API() 439 log_uuid = switch_true(argv[1]); in SWITCH_STANDARD_API() 452 json_log = switch_true(argv[1]); in SWITCH_STANDARD_API()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_format_cdr/ |
H A D | mod_format_cdr.c | 226 if (!switch_true(force_cdr)) { 604 profile->log_http_and_disk = switch_true(val); 616 profile->log_b = switch_true(val); 618 profile->prefix_a = switch_true(val); 619 } else if (!strcasecmp(var, "disable-100-continue") && switch_true(val)) { 629 profile->encode = switch_true(val) ? ENCODING_DEFAULT : ENCODING_NONE; 634 profile->rotate = switch_true(val); 663 } else if (!strcasecmp(var, "enable-cacert-check") && switch_true(val)) { 675 } else if (!strcasecmp(var, "enable-ssl-verifyhost") && switch_true(val)) { 695 profile->encode_values = switch_true(val) ? ENCODING_DEFAULT : ENCODING_NONE;
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_sms/ |
H A D | mod_sms.c | 81 if (switch_true(check_failure)) { in event_handler() 91 } else if ( check_nonblocking && switch_true(check_nonblocking) ) { in event_handler() 239 int xinline = switch_true(inline_); in parse_exten() 285 int xinline = switch_true(inline_); in parse_exten() 419 if (proceed && !switch_true(cont)) { in chatplan_hunt()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_avmd/ |
H A D | mod_avmd.c | 910 avmd_globals.settings.debug = switch_true(value) ? 1 : 0; in avmd_load_xml_configuration() 913 avmd_globals.settings.report_status = switch_true(value) ? 1 : 0; in avmd_load_xml_configuration() 916 avmd_globals.settings.fast_math = switch_true(value) ? 1 : 0; in avmd_load_xml_configuration() 940 avmd_globals.settings.inbound_channnel = switch_true(value) ? 1 : 0; in avmd_load_xml_configuration() 1263 settings->debug = (uint8_t) switch_true(val); in avmd_parse_cmd_data_one_entry() 1265 settings->report_status = (uint8_t) switch_true(val); in avmd_parse_cmd_data_one_entry() 1267 settings->fast_math = (uint8_t) switch_true(val); in avmd_parse_cmd_data_one_entry() 1269 settings->require_continuous_streak = (uint8_t) switch_true(val); in avmd_parse_cmd_data_one_entry() 1285 settings->simplified_estimation = (uint8_t) switch_true(val); in avmd_parse_cmd_data_one_entry() 1287 settings->inbound_channnel = (uint8_t) switch_true(val); in avmd_parse_cmd_data_one_entry() [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_amqp/ |
H A D | mod_amqp_command.c | 157 profile->passive = switch_true(val); in mod_amqp_command_create() 159 profile->durable = switch_true(val); in mod_amqp_command_create() 161 profile->exclusive = switch_true(val); in mod_amqp_command_create() 163 profile->auto_delete = switch_true(val); in mod_amqp_command_create()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/dialplans/mod_dialplan_xml/ |
H A D | mod_dialplan_xml.c | 148 req_nest = switch_true(req_nesta); in parse_exten() 464 int xinline = switch_true(inline_); in parse_exten() 518 int xinline = switch_true(inline_); in parse_exten() 672 if ((hunt = switch_channel_get_variable(channel, "auto_hunt")) && switch_true(hunt)) { in SWITCH_STANDARD_DIALPLAN() 701 if (proceed && !switch_true(cont)) { in SWITCH_STANDARD_DIALPLAN()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/endpoints/mod_loopback/ |
H A D | mod_loopback.c | 455 …ch_channel_get_variable(tech_pvt->channel, "loopback_bowout_on_execute")) && switch_true(bowout)) { in channel_on_execute() 879 if ((!vetoa || switch_true(vetoa)) && (!vetob || switch_true(vetob))) { in channel_write_frame() 1653 tech_pvt->pre_answer = switch_true(pre_answer); in null_channel_outgoing_channel() 1659 tech_pvt->enable_auto_answer = switch_true(enable_auto_answer); in null_channel_outgoing_channel() 1766 loopback_globals.early_set_loopback_id = switch_true(value); in load_loopback_configuration() 1768 loopback_globals.fire_bowout_event_bridge = switch_true(value); in load_loopback_configuration() 1770 loopback_globals.ignore_channel_ready = switch_true(value); in load_loopback_configuration() 1774 loopback_globals.bowout_controlled_hangup = switch_true(value); in load_loopback_configuration() 1776 loopback_globals.bowout_transfer_recordings = switch_true(value); in load_loopback_configuration() 1778 loopback_globals.bowout_disable_on_inner_bridge = switch_true(value); in load_loopback_configuration()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/xml_int/mod_xml_curl/ |
H A D | mod_xml_curl.c | 409 } else if (!strcasecmp(var, "disable-100-continue") && !switch_true(val)) { in do_config() 420 } else if (!strcasecmp(var, "enable-cacert-check") && switch_true(val)) { in do_config() 432 } else if (!strcasecmp(var, "enable-ssl-verifyhost") && switch_true(val)) { in do_config() 436 } else if (!strcasecmp(var, "use-dynamic-url") && switch_true(val)) { in do_config()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_cdr_csv/ |
H A D | mod_cdr_csv.c | 378 globals.debug = switch_true(val); 392 globals.rotate = switch_true(val); 396 globals.masterfileonly = switch_true(val);
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_httapi/ |
H A D | mod_httapi.c | 278 if (switch_true(check)) { in parse_voicemail() 284 if (switch_true(auth)) { in parse_voicemail() 369 if (switch_true(clean)) { in parse_log() 899 if (conf && switch_true(conf)) { in parse_answer() 1726 globals.debug = switch_true(val); in do_config() 2079 if (switch_true(val)) profile->perms.dial.enabled = SWITCH_TRUE; in do_config() 2082 if (switch_true(val)) profile->perms.dial.enabled = SWITCH_TRUE; in do_config() 2085 if (switch_true(val)) profile->perms.dial.enabled = SWITCH_TRUE; in do_config() 2088 if (switch_true(val)) profile->perms.dial.enabled = SWITCH_TRUE; in do_config() 2091 if (switch_true(val)) profile->perms.dial.enabled = SWITCH_TRUE; in do_config() [all …]
|