From: Brian West Date: Mon, 9 Mar 2009 18:47:37 +0000 (+0000) Subject: fix dialog to skip cs_reporting X-Git-Tag: v1.0.4~1583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cba58fc41844537d339c4966fa8c4141afaf5310;p=thirdparty%2Ffreeswitch.git fix dialog to skip cs_reporting git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12539 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 b878554a66..8f1ae5f6d4 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1103,7 +1103,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * dft_state = "confirmed"; } - if (!strcasecmp(state, "cs_execute") && !strstr(event_status, "hold")) { + if ((!strcasecmp(state, "cs_execute") && !strstr(event_status, "hold")) || !strcasecmp(state, "cs_reporting")) { goto end; }