This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
dexter gerrit-no-reply at lists.osmocom.orgdexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/25219 ) Change subject: mgcp_ratectr: remove unusued rate counters ...................................................................... mgcp_ratectr: remove unusued rate counters The change I19f67db1c56473f47338b56114f6bbae8981d067 removes the policy_cb and change_cb callback funtions, but it does not remove the related ratecounters. Change-Id: I53aa3c890555055466e86b09a359375a10d3be7b --- M include/osmocom/mgcp/mgcp_ratectr.h M src/libosmo-mgcp/mgcp_ratectr.c 2 files changed, 0 insertions(+), 10 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/19/25219/1 diff --git a/include/osmocom/mgcp/mgcp_ratectr.h b/include/osmocom/mgcp/mgcp_ratectr.h index 48abc27..c03c4e1 100644 --- a/include/osmocom/mgcp/mgcp_ratectr.h +++ b/include/osmocom/mgcp/mgcp_ratectr.h @@ -22,7 +22,6 @@ MGCP_CRCX_FAIL_ALLOC_CONN, MGCP_CRCX_FAIL_NO_REMOTE_CONN_DESC, MGCP_CRCX_FAIL_START_RTP, - MGCP_CRCX_FAIL_REJECTED_BY_POLICY, MGCP_CRCX_FAIL_NO_OSMUX, MGCP_CRCX_FAIL_INVALID_CONN_OPTIONS, MGCP_CRCX_FAIL_CODEC_NEGOTIATION, @@ -45,8 +44,6 @@ MGCP_MDCX_FAIL_INVALID_CONN_OPTIONS, MGCP_MDCX_FAIL_NO_REMOTE_CONN_DESC, MGCP_MDCX_FAIL_START_RTP, - MGCP_MDCX_FAIL_REJECTED_BY_POLICY, - MGCP_MDCX_DEFERRED_BY_POLICY, MGCP_MDCX_FAIL_AVAIL, }; @@ -57,8 +54,6 @@ MGCP_DLCX_FAIL_INVALID_CALLID, MGCP_DLCX_FAIL_INVALID_CONNID, MGCP_DLCX_FAIL_UNHANDLED_PARAM, - MGCP_DLCX_FAIL_REJECTED_BY_POLICY, - MGCP_DLCX_DEFERRED_BY_POLICY, MGCP_DLCX_FAIL_AVAIL, }; diff --git a/src/libosmo-mgcp/mgcp_ratectr.c b/src/libosmo-mgcp/mgcp_ratectr.c index 3bf079b..040dbb5 100644 --- a/src/libosmo-mgcp/mgcp_ratectr.c +++ b/src/libosmo-mgcp/mgcp_ratectr.c @@ -62,7 +62,6 @@ [MGCP_CRCX_FAIL_NO_REMOTE_CONN_DESC] = { "crcx:no_remote_conn_desc", "no opposite end specified for connection." }, [MGCP_CRCX_FAIL_START_RTP] = { "crcx:start_rtp_failure", "failure to start RTP processing." }, - [MGCP_CRCX_FAIL_REJECTED_BY_POLICY] = { "crcx:conn_rejected", "connection rejected by policy." }, [MGCP_CRCX_FAIL_NO_OSMUX] = { "crcx:no_osmux", "no osmux offered by peer." }, [MGCP_CRCX_FAIL_INVALID_CONN_OPTIONS] = { "crcx:conn_opt", "connection options invalid." }, [MGCP_CRCX_FAIL_CODEC_NEGOTIATION] = { "crcx:codec_nego", "codec negotiation failure." }, @@ -94,8 +93,6 @@ [MGCP_MDCX_FAIL_NO_REMOTE_CONN_DESC] = { "mdcx:no_remote_conn_desc", "no opposite end specified for connection." }, [MGCP_MDCX_FAIL_START_RTP] = { "mdcx:start_rtp_failure", "failure to start RTP processing." }, - [MGCP_MDCX_FAIL_REJECTED_BY_POLICY] = { "mdcx:conn_rejected", "connection rejected by policy." }, - [MGCP_MDCX_DEFERRED_BY_POLICY] = { "mdcx:conn_deferred", "connection deferred by policy." }, [MGCP_MDCX_FAIL_AVAIL] = { "mdcx:unavailable", "endpoint unavailable." }, }; @@ -115,8 +112,6 @@ [MGCP_DLCX_FAIL_INVALID_CONNID] = { "dlcx:connid", "connection ID specified in DLCX command does not exist on endpoint." }, [MGCP_DLCX_FAIL_UNHANDLED_PARAM] = { "dlcx:unhandled_param", "unhandled parameter in DLCX command." }, - [MGCP_DLCX_FAIL_REJECTED_BY_POLICY] = { "dlcx:rejected", "connection deletion rejected by policy." }, - [MGCP_DLCX_DEFERRED_BY_POLICY] = { "dlcx:deferred", "connection deletion deferred by policy." }, [MGCP_DLCX_FAIL_AVAIL] = { "dlcx:unavailable", "endpoint unavailable." }, }; -- To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/25219 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Change-Id: I53aa3c890555055466e86b09a359375a10d3be7b Gerrit-Change-Number: 25219 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210823/ebcbf780/attachment.htm>