aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-msc
diff options
context:
space:
mode:
authorKeith Whyte <keith@rhizomatica.org>2019-08-08 15:43:40 +0200
committerkeith <keith@rhizomatica.org>2019-09-03 11:47:13 +0000
commit991bb422d417d24b25c40dbca5b312c385a5a668 (patch)
tree923c5aa77b7f625c76c442dfc7703f3a9dfbd91e /src/osmo-msc
parent7c8df44adce23e36d32562fd6a74d842ff5c492b (diff)
Implement a global switch on the network to disable call waiting.
Add a network -> callwaiting VTY command as boolean. When this is enabled (default) there is no change to operation previous to this commit. When this switch is disabled with "no call-waiting" in vty then when a call arrives, we will check if we have an active call transaction for this subscriber, no matter if it is establishing, established, or alerting, in any of these cases we will return USER BUSY to the calling party. Change-Id: I3eb6f23f7103e3002874fb5d3a30c9de952202ae
Diffstat (limited to 'src/osmo-msc')
-rw-r--r--src/osmo-msc/msc_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index 1083271a9..3860589e7 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -216,6 +216,7 @@ struct gsm_network *msc_network_alloc(void *ctx,
mgcp_client_conf_init(&net->mgw.conf);
net->mgw.tdefs = g_mgw_tdefs;
+ net->call_waiting = true;
return net;
}