aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-20 02:57:56 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-21 01:46:36 +0100
commit2615c175f11d1254990997b4ae78c972e7e39583 (patch)
tree460ef1c0dc4a03daea8133ab63647ab37934d466 /include
parent732848a05d48d47f0eed243962e4a1a8f17901db (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/ 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);