From cba58fc41844537d339c4966fa8c4141afaf5310 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 9 Mar 2009 18:47:37 +0000 Subject: [PATCH] fix dialog to skip cs_reporting git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12539 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }