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

FreeSWITCH SVN anthm at freeswitch.org
Sat Nov 22 08:14:57 PST 2008


Author: anthm
Date: Sat Nov 22 11:14:56 2008
New Revision: 10519

Log:
fix

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c

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	Sat Nov 22 11:14:56 2008
@@ -336,6 +336,10 @@
 	if (status && !strcasecmp(status, "n/a")) {
 		status = NULL;
 	}
+	
+	if (switch_stristr("CS_", status)) {
+		status = NULL;
+	}
 
 	if (rpid) {
 		rpid = sofia_presence_translate_rpid(rpid, status);



More information about the Freeswitch-svn mailing list