[OpenSIPS-Devel] [OpenSIPS/opensips] fe5424: Fix function get_local_contact() to add transport

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Apr 19 06:07:32 EDT 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fe542451142930d695b6b9cac447b4e04dbd4b16
      https://github.com/OpenSIPS/opensips/commit/fe542451142930d695b6b9cac447b4e04dbd4b16
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

  Changed paths:
    M modules/presence/doc/presence_admin.xml
    M modules/presence/notify.c
    M modules/presence/subscribe.c
    M modules/presence/utils_func.h

  Log Message:
  -----------
  Fix function get_local_contact() to add transport

to have consistency over b2b and presence module, fix the get_local_contact() to also add the transport indication in the URI it builds. This will simplify the code in presence (as we do not have to add the transport param later, from several parts of the code) and also fixes the b2b code where the transport was not added at all in the URIs.

Credits go to @arttemk for identifing the problem and suggesting the fix.
Fix for  #1275

(cherry picked from commit eb50b9b1516599316752ad5a4d037d10f625bc60)




More information about the Devel mailing list