FS-8737: [mod_kazoo] Add require vars to default filter
This commit is contained in:
parent
5ee745afeb
commit
dee37afbb3
|
@ -369,6 +369,9 @@ switch_hash_t *create_default_filter() {
|
|||
switch_core_hash_insert(filter, "Caller-Callee-ID-Number", "1");
|
||||
switch_core_hash_insert(filter, "Caller-Caller-ID-Name", "1");
|
||||
switch_core_hash_insert(filter, "Caller-Caller-ID-Number", "1");
|
||||
switch_core_hash_insert(filter, "Caller-Screen-Bit", "1");
|
||||
switch_core_hash_insert(filter, "Caller-Privacy-Hide-Name", "1");
|
||||
switch_core_hash_insert(filter, "Caller-Privacy-Hide-Number", "1");
|
||||
switch_core_hash_insert(filter, "Caller-Context", "1");
|
||||
switch_core_hash_insert(filter, "Caller-Controls", "1");
|
||||
switch_core_hash_insert(filter, "Caller-Destination-Number", "1");
|
||||
|
@ -514,6 +517,7 @@ switch_hash_t *create_default_filter() {
|
|||
switch_core_hash_insert(filter, "variable_sip_user_agent", "1");
|
||||
switch_core_hash_insert(filter, "variable_duration", "1");
|
||||
switch_core_hash_insert(filter, "variable_billsec", "1");
|
||||
switch_core_hash_insert(filter, "variable_billmsec", "1");
|
||||
switch_core_hash_insert(filter, "variable_progresssec", "1");
|
||||
switch_core_hash_insert(filter, "variable_progress_uepoch", "1");
|
||||
switch_core_hash_insert(filter, "variable_progress_media_uepoch", "1");
|
||||
|
@ -568,36 +572,40 @@ switch_hash_t *create_default_filter() {
|
|||
switch_core_hash_insert(filter, "variable_fax_doc_database", "1");
|
||||
|
||||
/* Secure headers */
|
||||
/*
|
||||
switch_core_hash_insert(filter, "variable_sdp_secure_savp_only", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_has_crypto", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_secure_media", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_secure_media_confirmed", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_secure_media_confirmed_audio", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_secure_media_confirmed_video", "1");
|
||||
switch_core_hash_insert(filter, "variable_zrtp_secure_media", "1");
|
||||
switch_core_hash_insert(filter, "variable_zrtp_secure_media_confirmed", "1");
|
||||
switch_core_hash_insert(filter, "variable_zrtp_secure_media_confirmed_audio", "1");
|
||||
switch_core_hash_insert(filter, "variable_zrtp_secure_media_confirmed_video", "1");
|
||||
switch_core_hash_insert(filter, "sdp_secure_savp_only", "1");
|
||||
switch_core_hash_insert(filter, "rtp_has_crypto", "1");
|
||||
switch_core_hash_insert(filter, "rtp_secure_media", "1");
|
||||
switch_core_hash_insert(filter, "rtp_secure_media_confirmed", "1");
|
||||
switch_core_hash_insert(filter, "rtp_secure_media_confirmed_audio", "1");
|
||||
switch_core_hash_insert(filter, "rtp_secure_media_confirmed_video", "1");
|
||||
switch_core_hash_insert(filter, "zrtp_secure_media", "1");
|
||||
switch_core_hash_insert(filter, "zrtp_secure_media_confirmed", "1");
|
||||
switch_core_hash_insert(filter, "zrtp_secure_media_confirmed_audio", "1");
|
||||
switch_core_hash_insert(filter, "zrtp_secure_media_confirmed_video", "1");
|
||||
*/
|
||||
switch_core_hash_insert(filter, "variable_sdp_secure_savp_only", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_has_crypto", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_secure_media", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_secure_media_confirmed", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_secure_media_confirmed_audio", "1");
|
||||
switch_core_hash_insert(filter, "variable_rtp_secure_media_confirmed_video", "1");
|
||||
switch_core_hash_insert(filter, "variable_zrtp_secure_media", "1");
|
||||
switch_core_hash_insert(filter, "variable_zrtp_secure_media_confirmed", "1");
|
||||
switch_core_hash_insert(filter, "variable_zrtp_secure_media_confirmed_audio", "1");
|
||||
switch_core_hash_insert(filter, "variable_zrtp_secure_media_confirmed_video", "1");
|
||||
switch_core_hash_insert(filter, "sdp_secure_savp_only", "1");
|
||||
switch_core_hash_insert(filter, "rtp_has_crypto", "1");
|
||||
switch_core_hash_insert(filter, "rtp_secure_media", "1");
|
||||
switch_core_hash_insert(filter, "rtp_secure_media_confirmed", "1");
|
||||
switch_core_hash_insert(filter, "rtp_secure_media_confirmed_audio", "1");
|
||||
switch_core_hash_insert(filter, "rtp_secure_media_confirmed_video", "1");
|
||||
switch_core_hash_insert(filter, "zrtp_secure_media", "1");
|
||||
switch_core_hash_insert(filter, "zrtp_secure_media_confirmed", "1");
|
||||
switch_core_hash_insert(filter, "zrtp_secure_media_confirmed_audio", "1");
|
||||
switch_core_hash_insert(filter, "zrtp_secure_media_confirmed_video", "1");
|
||||
|
||||
/* Device Redirect headers */
|
||||
/*
|
||||
switch_core_hash_insert(filter, "variable_last_bridge_hangup_cause", "1");
|
||||
switch_core_hash_insert(filter, "variable_sip_redirected_by", "1");
|
||||
*/
|
||||
|
||||
switch_core_hash_insert(filter, "variable_last_bridge_hangup_cause", "1");
|
||||
switch_core_hash_insert(filter, "variable_sip_redirected_by", "1");
|
||||
switch_core_hash_insert(filter, "intercepted_by", "1");
|
||||
switch_core_hash_insert(filter, "variable_bridge_uuid", "1");
|
||||
switch_core_hash_insert(filter, "Record-File-Path", "1");
|
||||
|
||||
/* Loopback headers */
|
||||
switch_core_hash_insert(filter, "variable_loopback_bowout_on_execute", "1");
|
||||
switch_core_hash_insert(filter, "variable_loopback_bowout", "1");
|
||||
switch_core_hash_insert(filter, "variable_other_loopback_leg_uuid", "1");
|
||||
switch_core_hash_insert(filter, "variable_loopback_leg", "1");
|
||||
switch_core_hash_insert(filter, "variable_is_loopback", "1");
|
||||
|
||||
// SMS
|
||||
switch_core_hash_insert(filter, "Message-ID", "1");
|
||||
|
|
Loading…
Reference in New Issue