Skip to content

Commit

Permalink
registrar lookup(): Return internal error (-3) on missing Call-ID
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed Nov 17, 2022
1 parent 728eff0 commit 4caa2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reg/lookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ lookup_rc lookup(struct sip_msg *req, udomain_t *d, const str *sflags, str *aor_
if (!req->callid) {
LM_ERR("bad %.*s request (missing Call-ID header)\n",
req->REQ_METHOD_S.len, req->REQ_METHOD_S.s);
return -1;
return LOOKUP_ERROR;
}

if (parse_lookup_flags(sflags, &flags, &ua_re, &regexp_flags,
Expand Down

0 comments on commit 4caa2a6

Please sign in to comment.