Definition in file mod.h.
#include "../../sr_module.h"
Go to the source code of this file.
Defines | |
| #define | M_NAME "I-CSCF" |
| #define | CSCF_RETURN_BREAK 0 |
| Return and break the execution of routng script. | |
| #define | CSCF_RETURN_TRUE 1 |
| Return true in the routing script. | |
| #define | CSCF_RETURN_FALSE -1 |
| Return false in the routing script. | |
| #define | CSCF_RETURN_ERROR -2 |
| Return error in the routing script. | |
| #define | STR_SHM_DUP(dest, src, txt) |
| #define | STR_PKG_DUP(dest, src, txt) |
| #define | STR_APPEND(dst, src) |
Functions | |
| int | I_add_p_charging_vector (struct sip_msg *msg, char *str1, char *str2) |
| Inserts the P-Charging-Vector header P-Charging-Vector:. | |
| #define CSCF_RETURN_BREAK 0 |
Return and break the execution of routng script.
Definition at line 122 of file mod.h.
Referenced by I_LIA(), I_LIR(), I_scscf_select(), I_UAA(), I_UAR(), P_drop_dialog(), P_enforce_dialog_routes(), P_follows_dialog_routes(), P_is_in_dialog(), P_record_route(), P_release_call_onreply(), P_save_dialog(), P_update_dialog(), S_assign_server(), S_assign_server_unreg(), S_challenge(), S_is_authorized(), S_is_integrity_protected(), S_is_record_routed(), S_record_route(), S_save_dialog(), SAR(), and save_location().
| #define CSCF_RETURN_TRUE 1 |
Return true in the routing script.
Definition at line 124 of file mod.h.
Referenced by apply_privacy_id(), cscf_add_p_charging_vector(), I_LIA(), I_LIR(), I_NDS_check_trusted(), I_NDS_is_trusted(), I_originating(), I_scscf_drop(), I_scscf_select(), I_THIG_add_Path(), I_THIG_add_RR(), I_THIG_decrypt_all_headers(), I_THIG_encrypt_all_headers(), I_THIG_encrypt_header(), I_trans_in_processing(), I_UAA(), P_access_network_info(), P_add_p_visited_network_id(), P_add_path(), P_add_require(), P_add_via_received(), P_assert_called_identity(), P_assert_identity(), P_check_session_expires(), P_check_via_sent_by(), P_drop_dialog(), P_enforce_dialog_routes(), P_enforce_service_routes(), P_enforce_via_list(), P_follows_dialog_routes(), P_follows_service_routes(), P_follows_via_list(), P_is_in_dialog(), P_is_integrity_protected(), P_is_registered(), P_mobile_terminating(), P_NAT_relay(), P_process_notification(), P_record_route(), P_release_call_onreply(), P_remove_ck_ik(), P_remove_route(), P_remove_security_client(), P_remove_security_headers(), P_remove_security_verify(), P_save_dialog(), P_save_location(), P_security_200(), P_security_401(), P_security_relay(), P_subscribe(), P_trans_in_processing(), P_update_dialog(), P_verify_security(), S_add_allow(), S_add_p_asserted_identity(), S_add_p_charging_function_addresses(), S_add_path_service_routes(), S_add_service_route(), S_assign_server(), S_can_subscribe(), S_check_session_expires(), S_check_visited_network_id(), S_drop_dialog(), S_is_authorized(), S_is_in_dialog(), S_is_integrity_protected(), S_is_not_registered(), S_is_record_routed(), S_lookup(), S_mobile_originating(), S_orig_not_registered(), S_orig_registered(), S_orig_unregistered(), S_originating_barred(), S_privacy_hook(), S_record_route(), S_save_dialog(), S_subscribe(), S_term_not_registered(), S_term_registered(), S_term_unregistered(), S_terminating_barred(), S_trans_in_processing(), S_update_dialog(), and SAR().
| #define CSCF_RETURN_FALSE -1 |
Return false in the routing script.
Definition at line 126 of file mod.h.
Referenced by apply_privacy_id(), cscf_add_p_charging_vector(), I_LIR(), I_NDS_check_trusted(), I_NDS_is_trusted(), I_originating(), I_scscf_drop(), I_scscf_select(), I_THIG_add_Path(), I_THIG_add_RR(), I_THIG_decrypt_header(), I_THIG_encrypt_header(), I_trans_in_processing(), I_UAR(), P_422_session_expires(), P_access_network_info(), P_add_integrity_protected(), P_add_p_visited_network_id(), P_assert_called_identity(), P_assert_identity(), P_check_session_expires(), P_check_via_sent_by(), P_drop_dialog(), P_enforce_dialog_routes(), P_enforce_service_routes(), P_enforce_via_list(), P_follows_dialog_routes(), P_follows_service_routes(), P_follows_via_list(), P_is_in_dialog(), P_is_integrity_protected(), P_is_registered(), P_mobile_terminating(), P_NAT_relay(), P_process_notification(), P_release_call_onreply(), P_remove_ck_ik(), P_remove_route(), P_remove_security_headers(), P_save_dialog(), P_SDP_manipulate(), P_security_200(), P_security_401(), P_security_relay(), P_subscribe(), P_trans_in_processing(), P_update_dialog(), P_verify_security(), S_422_session_expires(), S_add_allow(), S_add_p_asserted_identity(), S_add_p_charging_function_addresses(), S_add_path_service_routes(), S_add_service_route(), S_apply_privacy(), S_assign_server(), S_assign_server_unreg(), S_can_subscribe(), S_challenge(), S_check_session_expires(), S_check_visited_network_id(), S_drop_dialog(), S_is_authorized(), S_is_in_dialog(), S_is_integrity_protected(), S_is_not_registered(), S_is_record_routed(), S_lookup(), S_mobile_originating(), S_orig_not_registered(), S_orig_registered(), S_orig_unregistered(), S_originating_barred(), S_save_dialog(), S_subscribe(), S_term_not_registered(), S_term_registered(), S_term_unregistered(), S_terminating_barred(), S_trans_in_processing(), S_update_dialog(), SAR(), and save_location().
| #define CSCF_RETURN_ERROR -2 |
Return error in the routing script.
Definition at line 128 of file mod.h.
Referenced by cscf_add_p_charging_vector(), I_NDS_check_trusted(), I_scscf_select(), I_THIG_add_Path(), I_THIG_add_RR(), I_THIG_decrypt_header(), I_THIG_encrypt_header(), P_add_p_visited_network_id(), P_add_path(), P_add_require(), P_add_via_received(), P_assert_identity(), P_enforce_dialog_routes(), P_enforce_service_routes(), P_follows_via_list(), P_record_route(), P_remove_ck_ik(), P_remove_security_client(), P_remove_security_headers(), P_remove_security_verify(), P_save_location(), P_security_200(), P_security_401(), P_subscribe(), P_update_dialog(), S_assign_server(), S_assign_server_unreg(), S_is_authorized(), S_is_not_registered(), S_is_record_routed(), S_lookup(), S_orig_not_registered(), S_orig_registered(), S_orig_unregistered(), S_originating_barred(), S_save_dialog(), S_term_not_registered(), S_term_registered(), S_term_unregistered(), S_terminating_barred(), S_update_dialog(), and save_location().
| #define STR_SHM_DUP | ( | dest, | |||
| src, | |||||
| txt | ) |
Value:
{\
if ((src).len==0) {\
(dest).s=0;\
(dest).len=0;\
}else {\
(dest).s = shm_malloc((src).len);\
if (!(dest).s){\
LOG(L_ERR,"ERR:"M_NAME":"txt": Error allocating %d bytes\n",(src).len);\
(dest).len = 0;\
goto out_of_memory;\
}else{\
(dest).len = (src).len;\
memcpy((dest).s,(src).s,(src).len);\
}\
}\
}
| #define STR_PKG_DUP | ( | dest, | |||
| src, | |||||
| txt | ) |
Value:
{\
if ((src).len==0) {\
(dest).s=0;\
(dest).len=0;\
}else {\
(dest).s = pkg_malloc((src).len);\
if (!(dest).s){\
LOG(L_ERR,"ERRL:"M_NAME":"txt": Error allocating %d bytes\n",(src).len);\
(dest).len = 0;\
goto out_of_memory;\
}else{\
(dest).len = (src).len;\
memcpy((dest).s,(src).s,(src).len);\
}\
}\
}
| #define STR_APPEND | ( | dst, | |||
| src | ) |
| int I_add_p_charging_vector | ( | struct sip_msg * | msg, | |
| char * | str1, | |||
| char * | str2 | |||
| ) |
Inserts the P-Charging-Vector header P-Charging-Vector:.
| msg | - the SIP message to add to | |
| str1 | - not used | |
| str2 | - not used |
Definition at line 454 of file mod.c.
References cscf_add_p_charging_vector().
00455 { 00456 return cscf_add_p_charging_vector(msg); 00457 }
1.5.2