MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / alias_db_find

Function alias_db_find

modules/alias_db/alookup.c:271–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269
270
271int alias_db_find(struct sip_msg* _msg, str* _table, str* _in_s, pv_spec_t* _out,
272 void* flags)
273{
274 struct sip_uri puri;
275
276 if (parse_uri(_in_s->s, _in_s->len, &puri)<0) {
277 LM_ERR("failed to parse uri %.*s\n",_in_s->len,_in_s->s);
278 return -1;
279 }
280
281 return alias_db_query(_msg, _table, &puri, (unsigned long)flags,
282 set_alias_to_pvar, _out);
283}
284

Callers

nothing calls this directly

Calls 2

parse_uriFunction · 0.85
alias_db_queryFunction · 0.85

Tested by

no test coverage detected