diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-12-20 02:57:56 +0100 |
---|---|---|
committer | gsmevent admin <admin@gsmevent.box> | 2018-12-24 15:45:51 +0100 |
commit | 37944691dedf82c3efe79d8a7aa813db67a4896c (patch) | |
tree | 155c306d0ecdd6702763a91a46bfd06a4db27555 /include/osmocom/msc/msc_mgcp.h | |
parent | c1c4a1320602ce121246e09a399122529c6d9ebc (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/osmocom/msc/msc_mgcp.h')
-rw-r--r-- | include/osmocom/msc/msc_mgcp.h | 1 |
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); |