diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-14 21:24:45 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 20:06:50 +0100 |
commit | b79c3c97a2772fcee1d78b16af96b81287b2be7f (patch) | |
tree | d530353ff145440f273300480436f88b41b7283e /openbsc/src/bsc | |
parent | 620c2e678ac00831a425310194c8c8450318c134 (diff) |
bsc: The ip.access rtp-payload has no useful meaning
Sending this as the RTP_PAYLOAD2 will produce a MDCX NACK
as we send the RTP_PAYLOAD in the CRCX. It does not seem to
be necessary to send anything != 0 for the RTP_PAYLOAD2.
Diffstat (limited to 'openbsc/src/bsc')
-rw-r--r-- | openbsc/src/bsc/osmo_bsc_vty.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/openbsc/src/bsc/osmo_bsc_vty.c b/openbsc/src/bsc/osmo_bsc_vty.c index a76a7e103..6e24e1523 100644 --- a/openbsc/src/bsc/osmo_bsc_vty.c +++ b/openbsc/src/bsc/osmo_bsc_vty.c @@ -63,8 +63,6 @@ static int config_write_msc(struct vty *vty) if (data->core_mcc != -1) vty_out(vty, " core-mobile-country-code %d%s", data->core_mcc, VTY_NEWLINE); - vty_out(vty, " ip.access rtp-payload %d%s", - data->rtp_payload, VTY_NEWLINE); vty_out(vty, " ip.access rtp-base %d%s", data->rtp_base, VTY_NEWLINE); vty_out(vty, " ip %s%s", data->msc_ip, VTY_NEWLINE); vty_out(vty, " port %d%s", data->msc_port, VTY_NEWLINE); @@ -125,18 +123,6 @@ DEFUN(cfg_net_bsc_mcc, return CMD_SUCCESS; } -DEFUN(cfg_net_bsc_rtp_payload, - cfg_net_bsc_rtp_payload_cmd, - "ip.access rtp-payload <0-255>", - IPA_STR - "Set the rtp-payload for the RTP stream\n" - "RTP payload number\n") -{ - struct osmo_msc_data *data = osmo_msc_data(vty); - data->rtp_payload = atoi(argv[0]); - return CMD_SUCCESS; -} - DEFUN(cfg_net_bsc_rtp_base, cfg_net_bsc_rtp_base_cmd, "ip.access rtp-base <1-65000>", @@ -283,7 +269,6 @@ int bsc_vty_init_extra(void) install_element(MSC_NODE, &cfg_net_bsc_token_cmd); install_element(MSC_NODE, &cfg_net_bsc_ncc_cmd); install_element(MSC_NODE, &cfg_net_bsc_mcc_cmd); - install_element(MSC_NODE, &cfg_net_bsc_rtp_payload_cmd); install_element(MSC_NODE, &cfg_net_bsc_rtp_base_cmd); install_element(MSC_NODE, &cfg_net_bsc_codec_list_cmd); install_element(MSC_NODE, &cfg_net_msc_ip_cmd); |