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/+/21364 ) Change subject: mgcp_vty: add missing VTY commands for E1 trunks ...................................................................... mgcp_vty: add missing VTY commands for E1 trunks The E1 trunk lacks the VTY commands force-realloc and rtp-accept-all. However, the function that write the E1 trunk config includes those commands. Also they would be applicable, so lets add those two commands also for E1 trunks. Change-Id: Ief2bc7502bb8d1e0f9c784d42edbe1aed5ffb728 --- M src/libosmo-mgcp/mgcp_vty.c 1 file changed, 26 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/64/21364/1 diff --git a/src/libosmo-mgcp/mgcp_vty.c b/src/libosmo-mgcp/mgcp_vty.c index 681ca99..4022efb 100644 --- a/src/libosmo-mgcp/mgcp_vty.c +++ b/src/libosmo-mgcp/mgcp_vty.c @@ -1056,6 +1056,32 @@ return CMD_SUCCESS; } +DEFUN_USRATTR(cfg_trunk_force_realloc, + cfg_trunk_force_realloc_cmd, + X(MGW_CMD_ATTR_NEWCONN), + "force-realloc (0|1)", + "Force endpoint reallocation when the endpoint is still seized\n" + "Don't force reallocation\n" "force reallocation\n") +{ + struct mgcp_trunk *trunk = vty->index; + OSMO_ASSERT(trunk); + trunk->force_realloc = atoi(argv[0]); + return CMD_SUCCESS; +} + +DEFUN_ATTR(cfg_trunk_rtp_accept_all, + cfg_trunk_rtp_accept_all_cmd, + "rtp-accept-all (0|1)", + "Accept all RTP packets, even when the originating IP/Port does not match\n" + "enable filter\n" "disable filter\n", + CMD_ATTR_IMMEDIATE) +{ + struct mgcp_trunk *trunk = vty->index; + OSMO_ASSERT(trunk); + trunk->rtp_accept_all = atoi(argv[0]); + return CMD_SUCCESS; +} + DEFUN_USRATTR(cfg_trunk_sdp_payload_send_ptime, cfg_trunk_sdp_payload_send_ptime_cmd, X(MGW_CMD_ATTR_NEWCONN), -- To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/21364 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Change-Id: Ief2bc7502bb8d1e0f9c784d42edbe1aed5ffb728 Gerrit-Change-Number: 21364 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/20201125/c95749d8/attachment.htm>