mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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:
@@ -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