From 1a07a71ba4791c52c9dae9e502b572cad5f34d84 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 22 Nov 2008 16:14:56 +0000 Subject: [PATCH] fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10519 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 39958d6b93..8451c6e190 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -336,6 +336,10 @@ static void actual_sofia_presence_event_handler(switch_event_t *event) if (status && !strcasecmp(status, "n/a")) { status = NULL; } + + if (switch_stristr("CS_", status)) { + status = NULL; + } if (rpid) { rpid = sofia_presence_translate_rpid(rpid, status);