mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 06:26:41 +00:00
Revert "res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address."
This reverts PR #602 Resolves: #GHSA-qqxj-v78h-hrf9
This commit is contained in:
committed by
asterisk-org-access-app[bot]
parent
115d7c01e3
commit
85241bd229
@@ -565,14 +565,6 @@
|
||||
but simply allowed by this configuration option.
|
||||
</para>
|
||||
</enum>
|
||||
<enum name="transport">
|
||||
<para>Matches the endpoint based on the destination IP
|
||||
address.
|
||||
</para>
|
||||
<para>This method of identification is not configured here
|
||||
but simply allowed by this configuration option.
|
||||
</para>
|
||||
</enum>
|
||||
</enumlist>
|
||||
</description>
|
||||
</configOption>
|
||||
|
||||
@@ -426,9 +426,6 @@ static const char *sip_endpoint_identifier_type2str(enum ast_sip_endpoint_identi
|
||||
case AST_SIP_ENDPOINT_IDENTIFY_BY_REQUEST_URI:
|
||||
str = "request_uri";
|
||||
break;
|
||||
case AST_SIP_ENDPOINT_IDENTIFY_BY_TRANSPORT:
|
||||
str = "transport";
|
||||
break;
|
||||
}
|
||||
return str;
|
||||
}
|
||||
@@ -456,8 +453,6 @@ static int sip_endpoint_identifier_str2type(const char *str)
|
||||
method = AST_SIP_ENDPOINT_IDENTIFY_BY_HEADER;
|
||||
} else if (!strcasecmp(str, "request_uri")) {
|
||||
method = AST_SIP_ENDPOINT_IDENTIFY_BY_REQUEST_URI;
|
||||
} else if (!strcasecmp(str, "transport")) {
|
||||
method = AST_SIP_ENDPOINT_IDENTIFY_BY_TRANSPORT;
|
||||
} else {
|
||||
method = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user