Project

General

Profile

Bug #2265

OsmoMSC must DLCX after a voice call is done

Added by neels about 1 month ago. Updated 1 day ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
05/16/2017
Due date:
% Done:

50%

Resolution:

Description

embarrassingly enough, we don't yet DLCX and the voice stream channels stay open indefinitely after each voice call (3G calls and soon AoIP).
Add DLCX to openbsc/libmgcp/mgcpgw_client.c and use in osmo-msc when a call disconnects.


Related issues

Related to OsmoNITB - Feature #1712: 3G Voice In Progress 05/14/2016
Related to OsmoMSC - Feature #2289: implement AoverIP (OsmoMSC side) New 05/24/2017
Related to OsmoMSC - Bug #2279: osmo-mgcp-gw: Fix: cleanup of transaction IDs aka port numbers to be used by the MGCP gw Resolved 05/22/2017

History

#1 Updated by neels about 1 month ago

  • Parent task set to #1712

#2 Updated by neels about 1 month ago

  • Parent task deleted (#1712)

#3 Updated by neels about 1 month ago

#4 Updated by neels about 1 month ago

  • Related to Feature #2289: implement AoverIP (OsmoMSC side) added

#5 Updated by dexter 17 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

The mgcp_client now supports the generation of DLCX messages. In msc_ifaces.c (looks like all mgcp related switching stuff is implemented here) I have added the following function, which sends a DLCX to the endpoint that is associated with the given transaction:

void msc_call_release(struct gsm_trans *trans)

For 2G I call this function from gsm_04_08.c. For 3G a suitable place has still to be found, perhaps @neels knows best where to put it.

We also have another big problem: Assume the MSC has crashed and respawned. All ongoing calls will leave an open endpoint on the mgcp gateway. This endpoint will stay open for ever and it can not be re-used. My current hotfix is to send a DLCX to all endpoints at startup. This works fine, but is of course a little ugly. Another solution would be to send a DLCX before we want to seize a new endpoint. If there is still a lingering connection it would be closed then.

#6 Updated by neels 1 day ago

  • Assignee changed from neels to dexter

dexter, please take this issue since you implemented the patches. Can this be resolved now?

#7 Updated by neels 1 day ago

  • Related to Bug #2279: osmo-mgcp-gw: Fix: cleanup of transaction IDs aka port numbers to be used by the MGCP gw added

Also available in: Atom PDF