diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-12 11:39:41 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-18 17:50:09 +0200 |
commit | 7a36bbad99e4cdbd5c081a5db62663aca3aee191 (patch) | |
tree | f144aedf986a84428ecec5bb44c7eff6fb3601ef /openbsc/src/libmgcp/mgcpgw_client.c | |
parent | 41c0e21364974d4dca2a28c3c70dec76a1c9269e (diff) |
mgcp: Make sure endpoint is free on CRCX
The MSC is aware of the assigned endpoints at all times, so it
will not assign an occupied endpoint to someone else. However,
if it has just restarted, there maybe lingering open endpoints.
This patch introduces a fairly simple soultion. Before a new
endpoint is seized (CRCX), a DLCX is send in advance. If the
endpoint was still occupied with a dead connection, it will
be freed. If it was free anyway, the DLCX will just have no
effect.
Diffstat (limited to 'openbsc/src/libmgcp/mgcpgw_client.c')
0 files changed, 0 insertions, 0 deletions