]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Skinny: ib_calls stats
authorMathieu Parent <math.parent@gmail.com>
Tue, 27 Jul 2010 21:46:18 +0000 (23:46 +0200)
committerMathieu Parent <math.parent@gmail.com>
Tue, 27 Jul 2010 21:48:21 +0000 (23:48 +0200)
src/mod/endpoints/mod_skinny/skinny_server.c

index 02103338255c64609c67d1fcf3d1748b3d36f200..b0f622c2124d6a0b6e692673e863530cd3993b85 100644 (file)
@@ -177,10 +177,12 @@ error:
                switch_core_session_destroy(&nsession);
        }
 
+       listener->profile->ib_failed_calls++;
        return SWITCH_STATUS_FALSE;
 
 done:
        *session = nsession;
+       listener->profile->ib_calls++;
        return SWITCH_STATUS_SUCCESS;
 }