[OpenSIPS-Devel] [OpenSIPS/opensips] eb50b9: Fix function get_local_contact() to add transport
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Apr 19 05:43:34 EDT 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: eb50b9b1516599316752ad5a4d037d10f625bc60
https://github.com/OpenSIPS/opensips/commit/eb50b9b1516599316752ad5a4d037d10f625bc60
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
More information about the Devel
mailing list