Module: kamailio Branch: master Commit: 10834bc77188a8cbcc174429fee8f99d6e94752f URL: https://github.com/kamailio/kamailio/commit/10834bc77188a8cbcc174429fee8f99d6e94752f
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2023-06-13T09:45:13+02:00 cdp: log message when cleaning up inside auth_client_statefull_sm_process() --- Modified: src/modules/cdp/authstatemachine.c --- Diff: https://github.com/kamailio/kamailio/commit/10834bc77188a8cbcc174429fee8f99d6e94752f.diff Patch: https://github.com/kamailio/kamailio/commit/10834bc77188a8cbcc174429fee8f99d6e94752f.patch --- diff --git a/src/modules/cdp/authstatemachine.c b/src/modules/cdp/authstatemachine.c index 65157fabdfb..4a8d6f12ed9 100644 --- a/src/modules/cdp/authstatemachine.c +++ b/src/modules/cdp/authstatemachine.c @@ -353,9 +353,14 @@ int auth_client_statefull_sm_process( LM_DBG("In state AUTH_ST_PENDING and received " "AUTH_EV_RECV_ANS_UNSUCCESS - nothing to do but " "clean up session\n"); + cdp_session_cleanup(s, NULL); + s = 0; + break; case AUTH_EV_SESSION_TIMEOUT: case AUTH_EV_SERVICE_TERMINATED: case AUTH_EV_SESSION_GRACE_TIMEOUT: + LM_DBG("in state %d received event %d - clean up session", + x->state, event); cdp_session_cleanup(s, NULL); s = 0; break; _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org