[asterisk-commits] res pjsip: Only invoke unidentified endpoint logic when unid... (asterisk[13])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 9 11:09:11 CDT 2016
Joshua Colp has submitted this change and it was merged.
Change subject: res_pjsip: Only invoke unidentified endpoint logic when unidentified.
......................................................................
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
---
M res/res_pjsip/pjsip_distributor.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
George Joseph: Looks good to me, approved
Joshua Colp: Verified
Matthew Fredrickson: Looks good to me, but someone else must approve
diff --git a/res/res_pjsip/pjsip_distributor.c b/res/res_pjsip/pjsip_distributor.c
index ea3fff6..7900611 100644
--- a/res/res_pjsip/pjsip_distributor.c
+++ b/res/res_pjsip/pjsip_distributor.c
@@ -583,7 +583,7 @@
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;
--
To view, visit https://gerrit.asterisk.org/3863
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id8104fc9e3d138d5e8b6f6977ecc08765fd17d4f
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Matthew Fredrickson <creslin at digium.com>
More information about the asterisk-commits
mailing list