|
Asterisk - The Open Source Telephony Project GIT-master-9647a4f
|
Structure for an IP identification matching object. More...

Public Member Functions | |
| SORCERY_OBJECT (details) | |
| Sorcery object details. | |
Data Fields | |
| struct ast_string_field_mgr | __field_mgr |
| struct ast_string_field_pool * | __field_mgr_pool |
| Stringfields. | |
| const ast_string_field | endpoint_name |
| struct ao2_container * | hosts |
| Hosts to be resolved when applying configuration. | |
| unsigned int | is_header_regex:1 |
| unsigned int | is_request_uri_regex:1 |
| const ast_string_field | match_header |
| const ast_string_field | match_header_name |
| const ast_string_field | match_header_value |
| const ast_string_field | match_request_uri |
| struct ast_ha * | matches |
| Networks or addresses that should match this. | |
| regex_t | regex_header_buf |
| regex_t | regex_request_uri_buf |
| unsigned int | srv_lookups |
| Perform SRV resolution of hostnames. | |
Structure for an IP identification matching object.
Definition at line 165 of file res_pjsip_endpoint_identifier_ip.c.
| SORCERY_OBJECT | ( | details | ) |
Sorcery object details.
| struct ast_string_field_mgr __field_mgr |
Definition at line 180 of file res_pjsip_endpoint_identifier_ip.c.
| struct ast_string_field_pool* __field_mgr_pool |
Stringfields.
The name of the endpoint
If matching by request, the value to match against
If matching by header, the header/value to match against
SIP header name of the match_header string
SIP header value of the match_header string
Definition at line 180 of file res_pjsip_endpoint_identifier_ip.c.
| const ast_string_field endpoint_name |
Definition at line 180 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by cli_print_body(), ip_identify_apply(), and send_identify_ami_event().
| struct ao2_container* hosts |
Hosts to be resolved when applying configuration.
Definition at line 188 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by ip_identify_apply(), ip_identify_destroy(), and ip_identify_match_handler().
| unsigned int is_header_regex |
Non-zero if match_header has a regular expression (i.e., regex_header_buf is valid)
Definition at line 192 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by header_identify_match_check(), ip_identify_apply(), and ip_identify_destroy().
| unsigned int is_request_uri_regex |
Non-zero if match_header or match_request has a regular expression (i.e., regex_request_uri_buf is valid)
Definition at line 194 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by ip_identify_apply(), ip_identify_destroy(), and request_identify_match_check().
| const ast_string_field match_header |
Definition at line 180 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by cli_print_body(), header_identify_match_check(), and ip_identify_apply().
| const ast_string_field match_header_name |
Definition at line 180 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by header_identify_match_check().
| const ast_string_field match_header_value |
Definition at line 180 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by header_identify_match_check().
| const ast_string_field match_request_uri |
Definition at line 180 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by cli_print_body(), ip_identify_apply(), and request_identify_match_check().
| struct ast_ha* matches |
Networks or addresses that should match this.
Definition at line 186 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by cli_print_body(), ip_identify_apply(), ip_identify_destroy(), ip_identify_match_check(), ip_identify_match_handler(), ip_identify_match_host_lookup(), match_to_str(), and match_to_var_list().
| regex_t regex_header_buf |
Compiled match_header regular expression when is_header_regex is non-zero
Definition at line 182 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by header_identify_match_check(), ip_identify_apply(), and ip_identify_destroy().
| regex_t regex_request_uri_buf |
Compiled match_request_uri regular expression when is_request_uri_regex is non-zero
Definition at line 184 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by ip_identify_apply(), ip_identify_destroy(), and request_identify_match_check().
| unsigned int srv_lookups |
Perform SRV resolution of hostnames.
Definition at line 190 of file res_pjsip_endpoint_identifier_ip.c.
Referenced by ip_identify_apply().