From: Anthony Minessale Date: Mon, 4 Apr 2011 16:39:39 +0000 (-0500) Subject: FS-2877 After further review I can concede the point that we should always say partia... X-Git-Tag: v1.2-rc1~120^2~5^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7eae7f375b31d928da9ffee6cd55a30eb90aaa03;p=thirdparty%2Ffreeswitch.git FS-2877 After further review I can concede the point that we should always say partial considering how we do things. With this commit we should at least be sending separate partial updates for each existing dialog to everyone with a subscription. If we need to introduce more data, consolidate them etc. We need to do it in small chunks and keep things sane. --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index a9a762e00e..cbc45024e1 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1506,9 +1506,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * stream.write_function(&stream, "\n" "\n", - version, - zstr(uuid) ? "partial" : "full", clean_id); + "version=\"%s\" state=\"partial\" entity=\"%s\">\n", version, clean_id); + + } //if (strcasecmp(event_status, "Registered")) {