[sr-dev] [kamailio] nathelper: contact_only option (#31)

Victor Seva notifications at github.com
Tue Jan 13 11:22:35 CET 2015


without this patch nathelper build request-uri from received
if it's set and falls back to contact.

Now we have an option to send the Contact (that has the username part) no matter what.

We used this in order to fix problems with FritzBox subscribers but seeing https://www.mail-archive.com/sr-users@lists.sip-router.org/msg13081.html maybe this is useful for everybody

with @sipwise hat on
You can merge this Pull Request by running:

  git pull https://github.com/linuxmaniac/kamailio vseva/nathelper_contact_only

Or you can view, comment on it, or merge it online at:

  https://github.com/kamailio/kamailio/pull/31

-- Commit Summary --

  * usrloc: add GAU_OPT_ONLY_CONTACT option and get_all_ucontacts_opt() in order to use it
  * nathelper: add contact_only option to ignore "received" field from usrloc and use contact info for building the ping message

-- File Changes --

    M modules/nathelper/doc/nathelper_admin.xml (20)
    M modules/nathelper/nathelper.c (12)
    M modules/usrloc/dlist.c (34)
    M modules/usrloc/dlist.h (14)
    M modules/usrloc/usrloc.c (1)
    M modules/usrloc/usrloc.h (6)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/31.patch
https://github.com/kamailio/kamailio/pull/31.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/31
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150113/3784a636/attachment.html>


More information about the sr-dev mailing list