]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix dialog to skip cs_reporting
authorBrian West <brian@freeswitch.org>
Mon, 9 Mar 2009 18:47:37 +0000 (18:47 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 9 Mar 2009 18:47:37 +0000 (18:47 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12539 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_presence.c

index b878554a66e893e1da900ddccf76841b61566953..8f1ae5f6d48e71bafa03599009a656a26240cb5d 100644 (file)
@@ -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;
                }