aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-20 02:57:56 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2019-01-04 16:24:59 +0000
commitb16259f9adec102ab8c2cea4a2109b4f1cf392b9 (patch)
tree86a59eb25c0a39799712dc7d0f130b1cbdd235db /include
parent7916ca1c2d53c7447608700705fae9ef49c81c28 (diff)
remove code dup: add msc_mgcp_try_call_assignment()
Various places in the code check a flag whether assignment was started and launch it. To fix incoming-call-during-ongoing-call, I will tweak that logic. To be able to do that only in one place, remove code dup. Cosmetic preparation for I1f8746e7babfcd3028a4d2c0ba260c608c686c76 and I0ba216b737909e92080a722db26e3577726c63cb/ Depends: I11b182a03f5ecb6df7cd8f260757d3626c8e945d (libosmocore: LOGPFSMSL) Change-Id: I11c0b7dc3f1a747028629b48e522bb3b864884ba
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/msc/msc_mgcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/msc/msc_mgcp.h b/include/osmocom/msc/msc_mgcp.h
index 9d8b01dd1..f7cc93287 100644
--- a/include/osmocom/msc/msc_mgcp.h
+++ b/include/osmocom/msc/msc_mgcp.h
@@ -57,6 +57,7 @@ struct mgcp_ctx {
mgcp_trans_id_t mgw_pending_trans;
};
+int msc_mgcp_try_call_assignment(struct gsm_trans *trans);
int msc_mgcp_call_assignment(struct gsm_trans *trans);
int msc_mgcp_ass_complete(struct ran_conn *conn, uint16_t port, char *addr);
int msc_mgcp_call_complete(struct gsm_trans *trans, uint16_t port, char *addr);