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

Change-Id: I389579b39c523d1d1e8ce020ef549a8bb5781c9b
13.23
Richard Mudgett 7 years ago
parent 42abc9c430
commit 51a6a986f1

@ -729,6 +729,7 @@ static pj_bool_t endpoint_lookup(pjsip_rx_data *rdata)
AO2_ALLOC_OPT_LOCK_RWLOCK); AO2_ALLOC_OPT_LOCK_RWLOCK);
if (!unid) { if (!unid) {
ao2_unlock(unidentified_requests); ao2_unlock(unidentified_requests);
pjsip_endpt_respond_stateless(ast_sip_get_pjsip_endpoint(), rdata, 500, NULL, NULL, NULL);
return PJ_TRUE; return PJ_TRUE;
} }
strcpy(unid->src_name, rdata->pkt_info.src_name); /* Safe */ strcpy(unid->src_name, rdata->pkt_info.src_name); /* Safe */

Loading…
Cancel
Save