diff options
author | Harald Welte <laforge@netfilter.org> | 2009-12-20 13:51:01 +0100 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-12-20 14:35:56 +0100 |
commit | fe03f0d002b146370542f9d59a344dd0c3bcf78d (patch) | |
tree | 86732e246ebb43e04cd8d96e2824c5758d2ac1f5 | |
parent | edbc0f7aea00a6441adc05e904fb2351c99ad7b5 (diff) |
don't enable handover unless RTP Proxy is enabled
We cannot support in-call handover of calls without a RTP proxy,
since at the time of the handover the SSRC, sequence number and
timestamp of the RTP frames change.
-rw-r--r-- | openbsc/src/vty_interface.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c index 20df9091d..82fd00472 100644 --- a/openbsc/src/vty_interface.c +++ b/openbsc/src/vty_interface.c @@ -870,6 +870,12 @@ DEFUN(cfg_net_handover, cfg_net_handover_cmd, "handover (0|1)", "Whether or not to use in-call handover") { + if (ipacc_rtp_direct) { + vty_out(vty, "%% Cannot enable handover unless RTP Proxy mode " + "is enabled by using the -P command line option%s", + VTY_NEWLINE); + return CMD_WARNING; + } gsmnet->handover.active = atoi(argv[0]); return CMD_SUCCESS; |