Feature #3783

Make conn-timeout compatible with LCLS

Added by osmith 5 months ago. Updated about 14 hours ago.

In Progress
Target version:
Start date:
Due date:
% Done:



In #3429, a watchdog was implemented. The watchdog gets kicked whenever RTP traffic or a MDCX (MGCP) message arrives.

It is incompatible with LCLS (Local Call Local Switch), because the connections get allocated, but no RTP traffic flows through it. Hence it will hit the timeout sooner or later.

The best solution so far seems to be sending keep-alive messages while doing LCLS, that kicks the watchdog, as neels wrote:

We could also tell the MGW that the endpoint is still in use by sending no-op MDCX to the MGW once a minute;
or investigate for some other keep-alive message in MGCP.

Related issues

Related to OsmoMGW - Feature #3429: idea: auto-cleanup endpoints after long period of inactivity?Resolved07/28/2018

Related to OsmoBSC - Bug #3659: LCLS directly between BTSsStalled10/17/2018


#1 Updated by osmith 5 months ago

  • Related to Feature #3429: idea: auto-cleanup endpoints after long period of inactivity? added

#2 Updated by osmith 5 months ago

The best solution so far seems to be sending keep-alive messages while doing LCSLS

I've meant to write LCLS there. Seems like I don't have permissions to edit that message.

#3 Updated by neels 5 months ago

  • Description updated (diff)

#4 Updated by msuraev 4 months ago

  • Related to Bug #3659: LCLS directly between BTSs added

#5 Updated by osmith 8 days ago

  • Status changed from New to In Progress

#6 Updated by osmith 1 day ago

  • % Done changed from 0 to 30

I found out, that there is already a keep-alive mechanism, "rtp keep-alive". It was initially made for NAT connections, but it should equally keep connections alive where the conn-timeout watchdog is configured. To make sure that this is the case, I'm writing a TTCN3 test for MGW, where conn-timeout is set and rtp keep-alive packages are sent.

#7 Updated by osmith about 14 hours ago

  • % Done changed from 30 to 90

Test case submitted for "conn-timeout", which shows that the connection stays active as long as RTP traffic is flowing in. This does not send specific keep alive packets like I've planned earlier, but that would require major changes in RTP_Emulation.ttcn, which don't seem feasible right now.

I've also updated the description of the conn-timeout option. Instead of saying that it does not work with LCLS, it says now, that keep-alive needs to be enabled when used with LCLS.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)