[Freeswitch-svn] [commit] r6045 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
anthm at freeswitch.org
Tue Oct 23 21:39:52 EDT 2007
Author: anthm
Date: Tue Oct 23 21:39:52 2007
New Revision: 6045
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
Log:
worth a shot
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c Tue Oct 23 21:39:52 2007
@@ -508,11 +508,16 @@
char *to;
char *open;
char *tmp;
+ char *prpid = rpid;
if (!rpid) {
rpid = "unknown";
}
+ if (!prpid) {
+ prpid = "onthephone";
+ }
+
if (in) {
note = switch_mprintf("<dm:note>%s</dm:note>", status);
open = "open";
@@ -554,7 +559,7 @@
"</tuple>\r\n"
"<dm:person id='p06360c4a'>\r\n"
"<rpid:activities>\r\n" "<rpid:%s/>\r\n" "</rpid:activities>%s</dm:person>\r\n" "</presence>", id,
- id, profile->url, note, rpid,
+ id, profile->url, status, prpid,
open, rpid, note);
More information about the Freeswitch-svn
mailing list