From 02accfe5a8799f99ccc2d5a26d7b9289d393f661 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 24 Oct 2007 01:27:58 +0000 Subject: [PATCH] worth a shot git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6043 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index ba18d40222..8d8769a21a 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -532,6 +532,8 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * } to = switch_mprintf("sip:%s@%s", user, host); + tmp = contact; + contact = sofia_glue_get_url_from_contact(tmp, 0); pl = switch_mprintf("\r\n" "nua, NULL, TAG_END()); - tmp = contact; - contact = sofia_glue_get_url_from_contact(tmp, 0); + nua_notify(nh, NUTAG_NEWSUB(1),