worth a shot
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6043 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e9d13f33f4
commit
02accfe5a8
|
@ -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("<?xml version='1.0' encoding='UTF-8'?>\r\n"
|
||||
"<presence xmlns='urn:ietf:params:xml:ns:pidf'\r\n"
|
||||
"xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model'\r\n"
|
||||
|
@ -558,8 +560,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||
|
||||
|
||||
nh = nua_handle(profile->nua, NULL, TAG_END());
|
||||
tmp = contact;
|
||||
contact = sofia_glue_get_url_from_contact(tmp, 0);
|
||||
|
||||
|
||||
nua_notify(nh,
|
||||
NUTAG_NEWSUB(1),
|
||||
|
|
Loading…
Reference in New Issue