Project

General

Profile

Actions

Bug #6471

open

SDP parametrs are failed to parsed during call establishement.

Added by anisa.qasim about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/28/2024
Due date:
% Done:

0%

Resolution:
Spec Reference:

Description

hi,
I am working on a simplified GSM network. I'am able to send/receive msg between UE's. I'm using Redmi 11 and 13 UE's with limesdr for that purpose. The issue is when i try to establish a call, I got the following error,

<0027> mgcp_client.c:396 Failed to parse SDP parameter, can't parse codec in rtpmap: "a=rtpmap:96 AMR;GSM-EFR;GSM;"

Note: The session name is also empty in wireshark capture. Attaching the wireshark packets below.


Files

sdp_packet.pcapng sdp_packet.pcapng 620 Bytes wireshark capture anisa.qasim, 05/28/2024 07:10 AM

Related issues

Is duplicate of OsmoMGW - Bug #6081: osmo-mgw fails to parse the semicolon separator in MGCP header like "L: a: GSM-EFR;GSM"Resolvedneels06/30/2023

Actions
Actions #1

Updated by laforge about 1 month ago

What are the exact versions of all your osmo* programs and libosmo* libraries?

Actions #2

Updated by anisa.qasim about 1 month ago

I installed binary packages , they are latest builds available on osmocom.
https://osmocom.org/projects/cellular-infrastructure/wiki/Latest_Builds

Actions #3

Updated by laforge about 1 month ago

Are you sure all the packages are from the latest feed, adn you're not accidentially mixing some packages from the distribution? Please provide the output of @dpkg -l | grep osmo! so we can double-check it

Actions #4

Updated by anisa.qasim about 1 month ago

Below are the programs and all the libosmo libraries i have installed on my system
osmo-stp 1.8.1 , osmo-msc 1.11.1 , osmo-mgw 1.7.0 ,osmo-bsc 1.6.1,

libosmo-abis-dev:amd64 1.0.1-2build3 amd64 Development headers for A-bis interface
libosmo-gsup-client0:amd64 1.7.0 amd64 Osmocom GSUP (General Subscriber Update Protocol) client library
libosmo-mgcp-client12:amd64 1.12.2 amd64 libosmo-mgcp-client: Osmocom's Media Gateway Control Protocol client utilities
libosmo-mgcp-client6:amd64 1.7.0+dfsg1-2build2 amd64 Osmocom's Media Gateway Control Protocol client utilities
libosmo-netif-dev:amd64 1.0.0-4build2 amd64 Development headers for Osmocom network interface
libosmo-ranap7:amd64 1.5.1 amd64 Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
libosmo-sccp-dev:amd64 1.3.0+dfsg1-3build2 amd64 Development files for libsccp, libmtp and libxua
libosmo-sigtran-dev:amd64 1.3.0+dfsg1-3build2 amd64 Development headers for the Osmocom SIGTRAN library
libosmo-sigtran5:amd64 1.3.0+dfsg1-3build2 amd64 Osmocom SIGTRAN library (SCCP, SUA, M3UA and more)
libosmo-sigtran9:amd64 1.8.1 amd64 Osmocom SIGTRAN library (SCCP, SUA, M3UA and more)
libosmoabis13:amd64 1.5.1 amd64 GSM A-bis handling
libosmoabis9:amd64 1.0.1-2build3 amd64 GSM A-bis handling
libosmocodec-doc 1.6.0-3build1 all Documentation for the osmo codec library
libosmocodec0:amd64 1.6.0-3build1 amd64 Osmo codec library
libosmocodec4:amd64 1.9.2 amd64 Osmo codec library
libosmocoding-doc 1.6.0-3build1 all Documentation for the osmo coding library
libosmocoding0:amd64 1.6.0-3build1 amd64 Osmo coding library
libosmocore:amd64 1.6.0-3build1 amd64 Open Source MObile COMmunications CORE library (metapackage)
libosmocore-dev:amd64 1.6.0-3build1 amd64 Development headers for Open Source MObile COMmunications CORE library
libosmocore-doc 1.6.0-3build1 all Documentation for the Osmo Core library
libosmocore-utils 1.6.0-3build1 amd64 Utilities for gsm
libosmocore18:amd64 1.6.0-3build1 amd64 Osmo Core library
libosmocore21:amd64 1.9.2 amd64 Osmo Core library
libosmoctrl-doc 1.6.0-3build1 all Documentation for the Osmocom CTRL library
libosmoctrl0:amd64 1.6.0-3build1 amd64 Osmo control library
libosmogb12:amd64 1.6.0-3build1 amd64 Osmo GPRS GB library
libosmogsm-doc 1.6.0-3build1 all Documentation for the Osmo GSM utility library
libosmogsm17:amd64 1.6.0-3build1 amd64 Osmo GSM utility library
libosmogsm20:amd64 1.9.2 amd64 Osmo GSM utility library
libosmoisdn0:amd64 1.9.2 amd64 Osmo ISDN utility library
libosmomtp0:amd64 1.3.0+dfsg1-3build2 amd64 Message Transfer Part for Signaling System 7
libosmonetif11:amd64 1.4.0 amd64 Common/shared code regarding network interface for OpenBSC
libosmonetif8:amd64 1.0.0-4build2 amd64 Common/shared code regarding network interface for OpenBSC
libosmosccp0:amd64 1.3.0+dfsg1-3build2 amd64 Library for Signalling Connection Control Part (SCCP)
libosmosdr0:amd64 0.1.8.effcaa7-7 amd64 Software defined radio support for OsmoSDR hardware (library)
libosmosim2:amd64 1.6.0-3build1 amd64 Osmo SIM library
libosmotrau2:amd64 1.0.1-2build3 amd64 GSM trau handling
libosmovty-doc 1.6.0-3build1 all Documentation for the Osmo VTY library
libosmovty13:amd64 1.9.2 amd64 Osmo VTY library
libosmovty9:amd64 1.6.0-3build1 amd64 Osmo VTY library
libosmoxua0:amd64 1.3.0+dfsg1-3build2 amd64 Osmocom SCCP support library for generating and parsing messages

Actions #5

Updated by anisa.qasim about 1 month ago

ii osmo-bsc 1.6.1+dfsg1-4build2 amd64 GSM Base Station Controller
ii osmo-bts 1.2.2+dfsg1-2build2 amd64 Base Transceiver Station for GSM
rc osmo-bts-trx 1.7.2 amd64 osmo-bts-trx GSM BTS with osmo-trx
ii osmo-hlr 1.2.1+dfsg1-1build2 amd64 Osmocom Home Location Register
ii osmo-mgw 1.7.0+dfsg1-2build2 amd64 Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks
ii osmo-msc 1.11.1 amd64 OsmoMSC: Osmocom's Mobile Switching Center for 2G and 3G circuit-switched mobile networks
rc osmo-pcu 1.0.0 amd64 Osmocom GPRS/EDGE Packet Control Unit (PCU)
rc osmo-sgsn 1.8.0 amd64 OsmoSGSN: Osmocom's Serving GPRS Support Node for 2G and 3G packet-switched mobile networks
rc osmo-sip-connector 1.6.0 amd64 MNCC to SIP bridge for osmo-nitb
ii osmo-stp:amd64 1.8.1 amd64 Osmocom SIGTRAN STP (Signaling Transfer Point)
ii osmo-trx-lms 1.6.1 amd64 SDR transceiver that implements Layer 1 of a GSM BTS (LimeSuite)
rc osmo-trx-uhd 1.4.0 amd64 SDR transceiver that implements Layer 1 of a GSM BTS (UHD)
ii osmocom-latest 1.0.0 amd64 Dummy package, which conflicts with: osmocom-nightly osmocom-next

Actions #6

Updated by laforge about 1 month ago

On Tue, May 28, 2024 at 08:22:23AM +0000, anisa.qasim wrote:

libosmo-abis-dev:amd64 1.0.1-2build3 amd64 Development headers for A-bis interface
libosmo-mgcp-client6:amd64 1.7.0+dfsg1-2build2 amd64 Osmocom's Media Gateway Control Protocol client utilities

This shows very clearly that you are mixing packages from the latest feed of osmocom with packages provided by
your distribution (or some other source). This is not a asupported configuration. Always use all osmocom packages from one source.

Actions #7

Updated by neels about 1 month ago

according to RFC8866 that rtpmap line is not valid.
https://www.rfc-editor.org/rfc/rfc8866.txt

I wonder where this SDP you mention is coming from, it is certainly not created by osmocom:

a=rtpmap:96 AMR;GSM-EFR;GSM;

A valid rtpmap would have a single codec for each payload type number.
It would look like this:

a=rtpmap:96 AMR/8000
Actions #8

Updated by neels about 1 month ago

Ah, this may actually be caused by this: #6081
You should no longer see this problem from osmo-mgw version 1.12.0.
Related patch: https://gerrit.osmocom.org/c/osmo-mgw/+/33534

Weird: you are running osmo-mgw 1.7.0 and libosmo-mgcp-client 1.12.0; they are from the same source tree, so should both be the same version.

Actions #9

Updated by neels about 1 month ago

  • Is duplicate of Bug #6081: osmo-mgw fails to parse the semicolon separator in MGCP header like "L: a: GSM-EFR;GSM" added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)