Skip to content

Commit 4caa2a6

Browse files
committed
registrar lookup(): Return internal error (-3) on missing Call-ID
1 parent 728eff0 commit 4caa2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reg/lookup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ lookup_rc lookup(struct sip_msg *req, udomain_t *d, const str *sflags, str *aor_
6767
if (!req->callid) {
6868
LM_ERR("bad %.*s request (missing Call-ID header)\n",
6969
req->REQ_METHOD_S.len, req->REQ_METHOD_S.s);
70-
return -1;
70+
return LOOKUP_ERROR;
7171
}
7272

7373
if (parse_lookup_flags(sflags, &flags, &ua_re, &regexp_flags,

0 commit comments

Comments
 (0)