[Freeswitch-svn] [commit] r6042 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Tue Oct 23 21:20:04 EDT 2007


Author: anthm
Date: Tue Oct 23 21:20:04 2007
New Revision: 6042

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:20:04 2007
@@ -538,13 +538,22 @@
 						"xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'\r\n"
 						"xmlns:c='urn:ietf:params:xml:ns:pidf:cipid'\r\n"
 						"entity='pres:%s'>\r\n"
+						"<presentity uri=\"%s;method=SUBSCRIBE\"/>\r\n"
+						"<atom id=\"1002\">\r\n"
+						"<address uri=\"%s\" priority=\"0.800000\">\r\n"
+						"<status status=\"inuse\"/>\r\n"
+						"<msnsubstatus substatus=\"%s\"/>\r\n"
+						"</address>\r\n"
+						"</atom>\r\n"
 						"<tuple id='t6a5ed77e'>\r\n"
 						"<status>\r\n"
 						"<basic>%s</basic>\r\n"
 						"</status>\r\n"
 						"</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, open, rpid, note);
+						"<rpid:activities>\r\n" "<rpid:%s/>\r\n" "</rpid:activities>%s</dm:person>\r\n" "</presence>", id, 
+						id, contact, rpid,
+						open, rpid, note);
 
 
 



More information about the Freeswitch-svn mailing list