From: Anthony Minessale Date: Wed, 24 Oct 2007 01:27:58 +0000 (+0000) Subject: worth a shot X-Git-Tag: v1.0-beta2~327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02accfe5a8799f99ccc2d5a26d7b9289d393f661;p=thirdparty%2Ffreeswitch.git worth a shot git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6043 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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),