Project

General

Profile

Actions

Feature #3783

closed

Make conn-timeout compatible with LCLS

Added by osmith about 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
02/06/2019
Due date:
% Done:

100%

Spec Reference:

Description

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?Resolvedosmith07/28/2018

Actions
Related to OsmoBSC - Feature #3659: handover during LCLS directly between BTSsStalleddexter10/17/2018

Actions
Actions #1

Updated by osmith about 5 years ago

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

Updated by osmith about 5 years 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.

Actions #3

Updated by neels about 5 years ago

  • Description updated (diff)
Actions #4

Updated by msuraev about 5 years ago

  • Related to Feature #3659: handover during LCLS directly between BTSs added
Actions #5

Updated by osmith over 4 years ago

  • Status changed from New to In Progress
Actions #6

Updated by osmith over 4 years 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.

Actions #7

Updated by osmith over 4 years 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.

https://gerrit.osmocom.org/q/topic:conn-timeout-test

Actions #8

Updated by osmith over 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)