[Asterisk-code-review] res pjsip: Only invoke unidentified endpoint logic when unid... (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Fri Sep 9 05:42:43 CDT 2016
Joshua Colp has uploaded a new change for review.
https://gerrit.asterisk.org/3863
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-26272 #close
Change-Id: Id8104fc9e3d138d5e8b6f6977ecc08765fd17d4f
---
M res/res_pjsip/pjsip_distributor.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/3863/1
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: newchange
Gerrit-Change-Id: Id8104fc9e3d138d5e8b6f6977ecc08765fd17d4f
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
More information about the asterisk-code-review
mailing list