mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
res_pjsip: Only invoke unidentified endpoint logic when unidentified.
The code was incorrectly invoking the unidentified logic when an endpoint had actually been identified, causing log messages to be output. ASTERISK-26349 #close Change-Id: Id8104fc9e3d138d5e8b6f6977ecc08765fd17d4f
This commit is contained in:
committed by
George Joseph
parent
ec0088f7fb
commit
54a182b3ec
@@ -583,7 +583,7 @@ static pj_bool_t endpoint_lookup(pjsip_rx_data *rdata)
|
|||||||
|
|
||||||
rdata->endpt_info.mod_data[endpoint_mod.id] = endpoint;
|
rdata->endpt_info.mod_data[endpoint_mod.id] = endpoint;
|
||||||
|
|
||||||
if (!is_ack) {
|
if ((endpoint == artificial_endpoint) && !is_ack) {
|
||||||
char name[AST_UUID_STR_LEN] = "";
|
char name[AST_UUID_STR_LEN] = "";
|
||||||
pjsip_uri *from = rdata->msg_info.from->uri;
|
pjsip_uri *from = rdata->msg_info.from->uri;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user