diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-06-26 18:21:30 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-06-26 18:34:24 +0200 |
commit | 116e05e91d83ffee2ed714975f4942f5e3e918c5 (patch) | |
tree | 33099808e3cb64d47d66a108ce68f60d0cf0e1c2 /include | |
parent | 9eea6a9d0584c3f0a7f12fd7af55308e6546f07b (diff) |
lcls: set codec info when performing MGW operation
While GSCON is setting the codec info when operating on the MGW, LCLS
is not doing that yet. This means that the MDCX messages that are
sent by LCLS do not contain any payload type and also no ptime or
rtpmap fields. This also causes the following TTCN3 tests to fail:
TC_lcls_connect_break
TC_lcls_connect_clear
TC_lcls_gcr_bway_connect
TC_lcls_gcr_bway_dont_connect_csc
- Make mgcp_pick_codec() public as bsc_subscr_pick_codec()
- use bsc_subscr_pick_codec() to set codec info in osmo_bsc_lcls.c
Change-Id: I383d55fa602cda0926dd701ee517a299db578260
Closes: OS#3358
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/bsc_subscr_conn_fsm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bsc_subscr_conn_fsm.h b/include/osmocom/bsc/bsc_subscr_conn_fsm.h index e8226f443..9e56f6b47 100644 --- a/include/osmocom/bsc/bsc_subscr_conn_fsm.h +++ b/include/osmocom/bsc/bsc_subscr_conn_fsm.h @@ -66,6 +66,9 @@ enum gscon_fsm_event { struct gsm_subscriber_connection; struct gsm_network; +struct mgcp_conn_peer; /* Allocate a subscriber connection and its associated FSM */ struct gsm_subscriber_connection *bsc_subscr_con_allocate(struct gsm_network *net); + +void bsc_subscr_pick_codec(struct mgcp_conn_peer *conn_peer, struct gsm_subscriber_connection *conn); |