[sr-dev] [kamailio] registrar : add lookup_to_dset optional uri param as in lookup (#84)

lazedo notifications at github.com
Fri Feb 13 05:12:14 CET 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150212/ca607f6b/attachment.html>


More information about the sr-dev mailing list