Osmocom library for A-bis (E1/IP) interface
Go to file
Vadim Yanitskiy 5277965190 e1line_dump_vty(): dump keepalive state and params
There is currently no obvious way to know if the keepalive is enabled
and which parameters are in use.  Executing 'show running-config'
command in the VTY would not always reveal the current configuration,
because it tends to omit parameters with default values.

Let's print the keepalive state and params in the output of the
'show e1_line' command.  Below is a few examples:

! keepalive is disabled
OsmoBSC# show e1_line
E1 Line Number 0, Name , Driver ipa
Keepalive: disabled
IPA Keepalive: disabled

! TCP Keepalive is enabled (default)
OsmoBSC# show e1_line
E1 Line Number 0, Name , Driver ipa
Keepalive: enabled
  Number of probes: (driver's default)
  Idle timeout: (driver's default)
  Probe interval: (driver's default)
IPA Keepalive: disabled

! TCP and IPA keepalive enabled (custom params)
OsmoBSC# show e1_line
E1 Line Number 0, Name , Driver ipa
Keepalive: enabled
  Number of probes: 2
  Idle timeout: 1s
  Probe interval: 3s
IPA Keepalive: enabled
  Interval: 2s
  Timeout: 10s

Note that in the case of TCP keepalive with default parameters
we cannot retrieve the actual defaults because that would be a
layering violation.  Thus we say "(driver's default)".

Change-Id: I17bd991850333ee794ab216f474b5e045fb01fa3
Related: OS#6375, SYS#6801
2024-03-18 17:19:53 +07:00
contrib Bump version: → 1.5.0 2023-09-12 13:39:09 +02:00
debian Bump version: → 1.5.1 2024-01-28 18:04:12 +07:00
include Add support for sending and receiving Sa bits, as well as some line signals 2024-02-12 18:06:25 +00:00
m4 add missing m4 directory 2011-06-05 18:36:27 +02:00
src e1line_dump_vty(): dump keepalive state and params 2024-03-18 17:19:53 +07:00
tests trau_pcu_ericsson: add testvectors for MCS1-MCS8 2023-02-27 10:32:43 +01:00
.gitignore .gitignore: add new trau_{pcu_ericsson,sync} tests 2023-05-05 23:08:34 +07:00
.gitreview Add gerrit settings 2016-12-22 14:06:57 +00:00
AUTHORS add AUTHORS and COPYING files 2011-07-02 17:42:31 +02:00
COPYING add AUTHORS and COPYING files 2011-07-02 17:42:31 +02:00
Makefile.am build: include git-version-gen into the release tarball 2024-01-26 23:46:22 +07:00
README.md update git URLs (git -> https; gitea) 2022-06-17 23:12:04 +02:00
TODO-RELEASE Bump version: → 1.5.0 2023-09-12 13:39:09 +02:00
configure.ac trau/osmo_ortp: support building without OrtpMemoryFunctions API 2024-01-08 20:11:36 +07:00
git-version-gen git-version-gen: Check first for new tag format 2018-05-02 19:36:36 +02:00
libosmoabis.pc.in pkgconf: require libosmocore 2022-08-10 16:19:12 +07:00
libosmotrau.pc.in pkgconf: require libosmocore 2022-08-10 16:19:12 +07:00


libosmo-abis - Osmocom Abis interface library

This repository contains a set of C-language libraries that form the A-bis interface library of Osmocom Open Source Mobile Communications projects such as OpenBSC / OsmoBSC.

Historically, a lot of this code was developed as part of the OpenBSC project, but which are of a more generic nature and thus useful to (at least) other programs that we develop in the sphere of Free Software / Open Source mobile communications.

The libosmo-abis.git repository build multiple libraries:

  • libosmoabis contains some abstraction layer over E1/T1 and IP based ETSI/3GPP A-bis interface. It can use mISDN and DAHDI as underlying driver/hardware.
  • libosmotrau contains routines related to A-bis TRAU frame handling


The official homepage of the project is https://osmocom.org/projects/libosmo-abis

GIT Repository

You can clone from the official libosmo-abis.git repository using

git clone https://gitea.osmocom.org/osmocom/libosmo-abis

There is a web interface at https://gitea.osmocom.org/osmocom/libosmo-abis


There is no Doxygen-generated API documentation yet for this library. It would be great to some day have it, comparable to libosmocore.

Mailing List

Discussions related to libosmo-abis are happening on the openbsc@lists.osmocom.org mailing list, please see https://lists.osmocom.org/mailman/listinfo/openbsc for subscription options and the list archive.

Please observe the Osmocom Mailing List Rules when posting.


Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards

We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details

The current patch queue for libosmo-abis can be seen at https://gerrit.osmocom.org/#/q/project:libosmo-abis+status:open