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.
https://github.com/kamailio/kamailio/pull/84
—
Reply to this email directly or view it on GitHub.