From 83d2d38a3c348168873a9d977641ee4381b01fa3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 9 Jun 2011 17:37:04 +0200 Subject: bsc: Inspect a CC Setup message and attempt to reroute the traffic Inspect the CC Setup messages and if the dialed number is matching the regexp of the local MSC the connection will be rerouted. The original MSC will get a GSM0808 CLEAR REQUEST, a new connection with a CC Setup message will be opened. --- openbsc/include/openbsc/osmo_msc_data.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'openbsc/include/openbsc/osmo_msc_data.h') diff --git a/openbsc/include/openbsc/osmo_msc_data.h b/openbsc/include/openbsc/osmo_msc_data.h index 0bda66225..6eebcdd41 100644 --- a/openbsc/include/openbsc/osmo_msc_data.h +++ b/openbsc/include/openbsc/osmo_msc_data.h @@ -27,6 +27,8 @@ #include +#include + struct osmo_bsc_rf; struct gsm_network; @@ -49,6 +51,11 @@ struct osmo_msc_data { int allow_emerg; int type; + /* local call routing */ + char *local_pref; + regex_t local_pref_reg; + + /* Connection data */ char *bsc_token; int ping_timeout; -- cgit v1.2.3