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

Richard Mudgett asteriskteam at digium.com
Tue May 1 17:23:23 CDT 2018


Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/8894


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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/94/8894/1

diff --git a/res/res_pjsip/pjsip_distributor.c b/res/res_pjsip/pjsip_distributor.c
index 7f512d1..a250748 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/8894
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I389579b39c523d1d1e8ce020ef549a8bb5781c9b
Gerrit-Change-Number: 8894
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180501/d3156a0b/attachment.html>


More information about the asterisk-code-review mailing list