From: Anthony Minessale Date: Sat, 22 Nov 2008 16:14:56 +0000 (+0000) Subject: fix X-Git-Tag: v1.0.2~418 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a07a71ba4791c52c9dae9e502b572cad5f34d84;p=thirdparty%2Ffreeswitch.git fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10519 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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);