diff --git a/src/mod/endpoints/mod_skinny/skinny_server.c b/src/mod/endpoints/mod_skinny/skinny_server.c index 0210333825..b0f622c212 100644 --- a/src/mod/endpoints/mod_skinny/skinny_server.c +++ b/src/mod/endpoints/mod_skinny/skinny_server.c @@ -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; }