| 269 | |
| 270 | |
| 271 | int 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 |
nothing calls this directly
no test coverage detected