Module: kamailio Branch: master Commit: 287ae3585e65748b201ffce6538a421a649a3f50 URL: https://github.com/kamailio/kamailio/commit/287ae3585e65748b201ffce6538a421a649a3f50
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2025-10-14T09:31:19+02:00 kex: added stats for OPTIONS replies --- Modified: src/modules/kex/core_stats.c --- Diff: https://github.com/kamailio/kamailio/commit/287ae3585e65748b201ffce6538a421a649a3f50.diff Patch: https://github.com/kamailio/kamailio/commit/287ae3585e65748b201ffce6538a421a649a3f50.patch --- diff --git a/src/modules/kex/core_stats.c b/src/modules/kex/core_stats.c index 42c172b6cc2..849f55a487d 100644 --- a/src/modules/kex/core_stats.c +++ b/src/modules/kex/core_stats.c @@ -132,6 +132,7 @@ DECLARE_STAT_VARS(message); DECLARE_STAT_VARS(prack); DECLARE_STAT_VARS(update); DECLARE_STAT_VARS(refer); +DECLARE_STAT_VARS(options); /* clang-format off */ /*! exported core statistics */ @@ -205,6 +206,7 @@ stat_export_t core_stats[] = { DECLARE_STATS(prack), DECLARE_STATS(update), DECLARE_STATS(refer), + DECLARE_STATS(options), {0, 0, 0} }; /* clang-format on */ @@ -330,6 +332,9 @@ static int km_cb_rpl_stats_by_method( case METHOD_REFER: update_stat(VAR_NAME(refer)[group], 1); break; + case METHOD_OPTIONS: + update_stat(VAR_NAME(options)[group], 1); + break; } } _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
