aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/msc/msc_mgcp.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-19 17:05:13 +0100
committergsmevent admin <admin@gsmevent.box>2018-12-24 15:45:51 +0100
commit4fdefe537d23639aab33192f2c3bd4dbc61c4392 (patch)
tree79e2570dbfa1d011628a5b06473971b0014b8cd4 /include/osmocom/msc/msc_mgcp.h
parentaed4b1579dcbe5d52c990aaa13b4487158781122 (diff)
abort assignment on Assignment Failure
If Assignment fails in the BSC, trigger an EV_TEARDOWN_ERROR in the mgcp_ctx FSM instance, so that the call gets torn down immediately. Before this, the non-call would idle around without anything happening. Related: OS#3236 Depends: I11b182a03f5ecb6df7cd8f260757d3626c8e945d (libosmocore) Change-Id: I358cfbaf0f44f25148e8b9bafcb9257b1952b35a
Diffstat (limited to 'include/osmocom/msc/msc_mgcp.h')
-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 f7cc93287..304e96706 100644
--- a/include/osmocom/msc/msc_mgcp.h
+++ b/include/osmocom/msc/msc_mgcp.h
@@ -60,5 +60,6 @@ struct mgcp_ctx {
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_ass_fail(struct ran_conn *conn);
int msc_mgcp_call_complete(struct gsm_trans *trans, uint16_t port, char *addr);
int msc_mgcp_call_release(struct gsm_trans *trans);