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

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


Richard Mudgett has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/95/8895/1

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: newchange
Gerrit-Change-Id: I389579b39c523d1d1e8ce020ef549a8bb5781c9b
Gerrit-Change-Number: 8895
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/1c838d7a/attachment.html>


More information about the asterisk-code-review mailing list