lookup function has an optional uri param for looking up based on that param.
lookup_to_dset is used if we don't want to overwritte the Request-URI but there is
option to lookup based on a uri.
during tests i noticed that the append_branch was being called when i did a
lookup_to_dset("location", "$fu") and kamailio exited because of
that.
i made the append_branch to depend on the _mode ( 0 = lookup ) which seemed to fixed.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/84
-- Commit Summary --
* registrar : add lookup_to_dset optional uri param as in lookup
-- File Changes --
M modules/registrar/lookup.c (34)
M modules/registrar/reg_mod.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/84.patch
https://github.com/kamailio/kamailio/pull/84.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/84