[Asterisk-code-review] res pjsip/pjsip distributor.c: Add missing off-nominal reque... (asterisk[master])

Jenkins2 asteriskteam at digium.com
Thu May 3 11:32:09 CDT 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/8895 )

Change subject: res_pjsip/pjsip_distributor.c: Add missing off-nominal request response.
......................................................................

res_pjsip/pjsip_distributor.c: Add missing off-nominal request response.

Change-Id: I389579b39c523d1d1e8ce020ef549a8bb5781c9b
---
M res/res_pjsip/pjsip_distributor.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/res/res_pjsip/pjsip_distributor.c b/res/res_pjsip/pjsip_distributor.c
index 33d4bce..8a8a532 100644
--- a/res/res_pjsip/pjsip_distributor.c
+++ b/res/res_pjsip/pjsip_distributor.c
@@ -739,6 +739,7 @@
 					AO2_ALLOC_OPT_LOCK_RWLOCK);
 				if (!unid) {
 					ao2_unlock(unidentified_requests);
+					pjsip_endpt_respond_stateless(ast_sip_get_pjsip_endpoint(), rdata, 500, NULL, NULL, NULL);
 					return PJ_TRUE;
 				}
 				strcpy(unid->src_name, rdata->pkt_info.src_name); /* Safe */

-- 
To view, visit https://gerrit.asterisk.org/8895
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I389579b39c523d1d1e8ce020ef549a8bb5781c9b
Gerrit-Change-Number: 8895
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180503/5c7bb88c/attachment.html>


More information about the asterisk-code-review mailing list