diff options
author | Joshua Colp <jcolp@digium.com> | 2016-09-09 10:39:51 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-09-09 10:43:58 +0000 |
commit | 7580a736bb30577d7557aac9165894dc9f9583e6 (patch) | |
tree | 54a6ec40bc5821440667c4e404ea0f2d26c76bfc /res/res_pjsip | |
parent | efcfc4c1eeecb5b05b3387d23a1e020514aad527 (diff) |
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
Diffstat (limited to 'res/res_pjsip')
-rw-r--r-- | res/res_pjsip/pjsip_distributor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip/pjsip_distributor.c b/res/res_pjsip/pjsip_distributor.c index ea3fff69b..79006110a 100644 --- a/res/res_pjsip/pjsip_distributor.c +++ b/res/res_pjsip/pjsip_distributor.c @@ -583,7 +583,7 @@ static pj_bool_t endpoint_lookup(pjsip_rx_data *rdata) rdata->endpt_info.mod_data[endpoint_mod.id] = endpoint; - if (!is_ack) { + if ((endpoint == artificial_endpoint) && !is_ack) { char name[AST_UUID_STR_LEN] = ""; pjsip_uri *from = rdata->msg_info.from->uri; |