osmo-bsc/openbsc/src
Holger Hans Peter Freyther 7b7eef62c1 nat: Change MGCP DLCX handling and send dummy MDCX to the BTS.
When setting a new MSC timeslot to a SCCP connection check if
any of the existing connections have this timeslot, if so we will
send a DLCX down the stream to make sure it is closed there, when
we will CRCX this new timeslot we will happily reallocate it.

When the SCCP connection goes away, or we get a DLCX from the
network, or the BSC is gone we will send a DLCX message down the
stream as well.

When we receive a CRCX from the network we will forward the CRCX
as usual and send a dummy MDCX after it.

For the DLCX and the dummy MDCX we send a custom MGCP message
that will not provoke an answer. Even if the downstream MGCP GW
will answer we will ignore it due the dummy transaction id that
is not used anywhere else.

This change should make sure that we close the dowstream endpoint
all the time, even when the DLCX arrives after the SCCP connection
is torndown.
2010-06-15 20:24:16 +08:00
..
gprs [GPRS] Add comment on GTP being defined in 29.060 / 09.060 2010-06-14 17:00:51 +02:00
input [GPRS] Add Frame Relay in GRE encapsulation for NS 2010-05-19 14:38:50 +02:00
ipaccess ipa-proxy: Remove printf debugging. 2010-06-10 18:27:20 +08:00
mgcp misc: Fix the return type of the go back vty function... 2010-06-09 21:40:44 +08:00
nat nat: Change MGCP DLCX handling and send dummy MDCX to the BTS. 2010-06-15 20:24:16 +08:00
sccp [sccp] Add method to create a dt1 packet. 2010-05-17 04:08:57 +08:00
Makefile.am bsc_api: Create osmo_msc, and initialize the MSC API in the bsc_init. 2010-06-15 12:04:34 +08:00
abis_nm.c OML: Introduce minimal VTY command set to interact with OML managed objects 2010-05-31 16:40:40 +02:00
abis_nm_vty.c OML: Introduce minimal VTY command set to interact with OML managed objects 2010-05-31 16:40:40 +02:00
abis_rsl.c abis_rsl: Allow to specify the release mode for a given channel. 2010-06-08 12:16:17 +08:00
auth.c auth: Add support for XOR test A3A8 algo (and vty commands) 2010-06-14 20:43:53 +02:00
bs11_config.c bs11_config.c: Forward declare BTS init function 2010-05-23 21:05:01 +08:00
bsc_api.c bsc_api: Implement transparent RLL establishment and SAPI n REJECT 2010-06-15 12:04:34 +08:00
bsc_hack.c misc: Fix the return type of the go back vty function... 2010-06-09 21:40:44 +08:00
bsc_init.c bsc_api: Create osmo_msc, and initialize the MSC API in the bsc_init. 2010-06-15 12:04:34 +08:00
bsc_msc.c nat: Attempt to handle exceptions on the fd and trat them as connection loss 2010-06-15 20:24:13 +08:00
bsc_rll.c bsc_rll: Stop using lchan refcounts, use the lchan signal to stop the timer 2010-06-10 17:59:31 +08:00
bsc_version.c VTY: pass program name, version and copyright to vty_init() 2010-05-16 19:20:24 +02:00
bsc_vty.c OML: Introduce minimal VTY command set to interact with OML managed objects 2010-05-31 16:40:40 +02:00
bts_ipaccess_nanobts.c split 'libosmocore' from openbsc codebase 2010-02-20 16:27:23 +01:00
bts_siemens_bs11.c split 'libosmocore' from openbsc codebase 2010-02-20 16:27:23 +01:00
bts_unknown.c split 'libosmocore' from openbsc codebase 2010-02-20 16:27:23 +01:00
chan_alloc.c chan_alloc: Stop the channel timers in the reset 2010-06-08 12:16:17 +08:00
common_vty.c misc: Fix the return type of the go back vty function... 2010-06-09 21:40:44 +08:00
db.c db: Fix typo in sync_lastauthtuples SQL UPDATE stmt 2010-06-14 20:43:51 +02:00
debug.c debug: Make GPRS params non-const to avoid compiler warning 2010-05-23 20:59:55 +08:00
e1_config.c split 'libosmocore' from openbsc codebase 2010-02-20 16:27:23 +01:00
e1_input.c e1_input: Stop the timer when deleting the signalling link on the TS 2010-04-25 23:13:26 +08:00
gsm_04_08.c gsm48: Split LU Reject sending and generation into two. 2010-06-15 19:40:05 +08:00
gsm_04_08_utils.c gsm48: Split LU Reject sending and generation into two. 2010-06-15 19:40:05 +08:00
gsm_04_11.c gsm_04_11: Place subscr_put_channel whenever being done with SMS. 2010-06-15 12:53:08 +08:00
gsm_04_80.c bsc_api: Move most of GSM0408 to the DTAP API... 2010-06-15 13:57:40 +08:00
gsm_data.c [rsl] Introduce an error state for the lchan and set it on release 2010-05-31 21:39:23 +08:00
gsm_subscriber.c add (and use) new subscr_name() function to get name or IMSI 2009-12-24 14:50:24 +01:00
gsm_subscriber_base.c lchan: Create a structure for MSC data of the lchan 2010-03-25 09:07:28 +01:00
handover_decision.c split 'libosmocore' from openbsc codebase 2010-02-20 16:27:23 +01:00
handover_logic.c [rsl] Set the right state when asking for the activation. 2010-04-10 00:16:04 +02:00
isdnsync.c move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
meas_rep.c meas_rep: utility function for processing of measurement reports 2009-12-21 13:33:10 +01:00
mgcp.cfg [mgcp] Make the number of endpoints configurable... 2009-11-20 14:05:17 +01:00
mncc.c lchan: Change transaction to work on the GSM Subscriber Connection 2010-03-25 09:07:28 +01:00
openbsc.cfg.1-1 [BS11] don't put invalid channel combination into the config file 2009-12-04 11:23:12 +05:30
openbsc.cfg.1-2 [network] Make use of T3113 for paging 2009-11-22 05:28:24 +01:00
openbsc.cfg.2-2 [BS11] don't put invalid channel combination into the config file 2009-12-04 11:23:12 +05:30
openbsc.cfg.nanobts update openbsc.cfg examples for new gprs syntax 2010-04-18 21:33:00 +02:00
openbsc.cfg.nanobts.multitrx multi-trx config: Don't configure CCCH on 2nd TRX ;) 2010-05-04 07:15:01 +02:00
osmo_msc.c bsc_api: Switch gsm_04_08.c to use the clear request of the API. 2010-06-15 13:16:52 +08:00
paging.c [misc] Remove spaces, fix indention. 2010-04-30 13:34:15 +08:00
rest_octets.c [GPRS] Make sure SI13 rest octets look like those of the ip.access BSC 2010-05-31 12:55:11 +02:00
rrlp.c [signal] Differentiate paging success from expiration in SS_PAGING 2010-01-07 10:37:40 +01:00
rs232.c [misc] Remove whitespace from the end of the line. 2010-03-29 08:47:44 +02:00
rtp_proxy.c ipaccess: Send RTP Payload IE for CRCX & MDCX 2010-04-12 19:58:57 +02:00
silent_call.c lchan: Create a structure for MSC data of the lchan 2010-03-25 09:07:28 +01:00
socket.c [GPRS] Add Frame Relay in GRE encapsulation for NS 2010-05-19 14:38:50 +02:00
subchan_demux.c split 'libosmocore' from openbsc codebase 2010-02-20 16:27:23 +01:00
system_information.c [GPRS] Change SI13 to NMO_II, as some phones (like G1) dislike NMO_III 2010-06-02 12:19:21 +02:00
talloc_ctx.c gsm_04_08: Add a operation to enable ciphering on a lchan 2010-06-14 20:43:51 +02:00
token_auth.c split 'libosmocore' from openbsc codebase 2010-02-20 16:27:23 +01:00
transaction.c lchan: Change transaction to work on the GSM Subscriber Connection 2010-03-25 09:07:28 +01:00
trau_frame.c logging: introduce log levels at caller site 2009-12-17 23:10:46 +01:00
trau_mux.c split 'libosmocore' from openbsc codebase 2010-02-20 16:27:23 +01:00
ussd.c lchan: Create a structure for MSC data of the lchan 2010-03-25 09:07:28 +01:00
vty_interface_layer3.c auth: Add support for XOR test A3A8 algo (and vty commands) 2010-06-14 20:43:53 +02:00