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.
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 20df909..82fd004 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -870,6 +870,12 @@
       "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;