From 8ceb262b9e75f7d4cf68dbad3756d535f8409fb3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 20 Sep 2013 10:20:01 -0500 Subject: [PATCH] FS-5806 please test HEAD --- src/mod/endpoints/mod_sofia/sofia_presence.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index f8cd9a6ede..11228355bf 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -2122,7 +2122,9 @@ static void _send_presence_notify(sofia_profile_t *profile, cparams += 3; } - path = sofia_glue_get_path_from_contact((char *) o_contact); + if (!switch_stristr("fs_nat=yes", o_contact)) { + path = sofia_glue_get_path_from_contact((char *) o_contact); + } tmp = (char *)o_contact; o_contact_dup = sofia_glue_get_url_from_contact(tmp, 1);