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

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


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


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/93/8893/1

diff --git a/res/res_pjsip/pjsip_distributor.c b/res/res_pjsip/pjsip_distributor.c
index e056b60..8a45ddb 100644
--- a/res/res_pjsip/pjsip_distributor.c
+++ b/res/res_pjsip/pjsip_distributor.c
@@ -729,6 +729,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/8893
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I389579b39c523d1d1e8ce020ef549a8bb5781c9b
Gerrit-Change-Number: 8893
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/d63649a9/attachment.html>


More information about the asterisk-code-review mailing list