mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 11:44:14 +00:00
Enact the 'No device left behind' act. All stupid sip params that only help broken things *MUST* be prefixed with NDLB-
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5228 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f0b58efbac
commit
db5ab42c12
4 files changed
+20
-3
No files matched your search
@@ -365,7 +365,7 @@ uint8_t sofia_reg_handle_register(nua_t * nua, sofia_profile_t *profile, nua_han
|
||||
}
|
||||
|
||||
if (v_event && *v_event && (v_contact_str = switch_event_get_header(*v_event, "force-contact"))) {
|
||||
if (!strcasecmp(v_contact_str, "nat-connectile-dysfunction")) {
|
||||
if (!strcasecmp(v_contact_str, "nat-connectile-dysfunction") || !strcasecmp(v_contact_str, "NDLB-connectile-dysfunction")) {
|
||||
if (contact->m_url->url_params) {
|
||||
snprintf(contact_str, sizeof(contact_str), "%s <sip:%s@%s:%d;%s>",
|
||||
display, contact->m_url->url_user, network_ip, network_port, contact->m_url->url_params);
|
||||
|
||||
Reference in new issue
Block a user