aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/osmo_msc_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-27 14:20:24 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-27 18:12:03 +0100
commit1dde661dd6653f21ddb003f203f8a23f201d68c9 (patch)
tree268560908c700e5cd20ab6dc589b7dbbbea3c337 /openbsc/include/openbsc/osmo_msc_data.h
parent122b6331927dd65d716d71cdf8fcb728cc2475f9 (diff)
osmo-bsc: Add configurable option to spawn + respawn osmo-bsc_mgcplaforge/mgcp-rework
If it is configured in the config file or on the VTY, osmo-bsc will fork+exec osmo-bsc_mgcp. Furthermore, if osmo-bsc_mgcp dies, osmo-bsc will re-spawn it. This also means that we can now send a SIGHUP to osmo-bsc_mgcp in the event of a Msc (re)connect, causing it to send RSIP, which in turn is required by certain call agents that forget to send a AUEP on startup to determine the endpoint state of the media gateway[s].
Diffstat (limited to 'openbsc/include/openbsc/osmo_msc_data.h')
-rw-r--r--openbsc/include/openbsc/osmo_msc_data.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_msc_data.h b/openbsc/include/openbsc/osmo_msc_data.h
index 59b75c303..cc997ff8c 100644
--- a/openbsc/include/openbsc/osmo_msc_data.h
+++ b/openbsc/include/openbsc/osmo_msc_data.h
@@ -69,6 +69,13 @@ struct osmo_msc_data {
/* ussd welcome text */
char *ussd_welcome_txt;
+
+ /* osmo-bsc_mgcp related */
+ struct {
+ char *path;
+ char *config_path;
+ pid_t pid;
+ } bsc_mgcp;
};
int osmo_bsc_msc_init(struct gsm_network *network);