Project

General

Profile

Actions

Bug #6110

closed

modem-to-modem data call establishment failure

Added by fixeria 10 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/22/2023
Due date:
% Done:

100%

Resolution:
Spec Reference:
Tags:
CSD

Description

I am trying to establish a modem-to-modem data call, but somehow it fails even before paging procedure completes. Please see the attached PCAP file, which contains GSMTAP logging of osmo-{msc,bsc}, GSMTAP Um logging of osmo-bts-trx, and all the related signalling between the RAN/CNI components.

osmo-bts-trx 0a2b0a20b3de24b6c93ce2551f0e08c23c2f62db
osmo-bsc 1ad32f74305a36e36be975d9be9e31f94748d010
osmo-msc 482f0bd5a1812838c4ae1a2546dedaddc5fff87d
osmo-mgw af67178581bbbb89cf63ffc5af162b9f82fa6cdd

osmo-msc is configured to use the built-in MNCC.
Both osmo-bsc and osmo-msc are talking to one osmo-mgw instance.

Looking at the PCAP, I would say everything goes as usual until frame 1174:

 1173 13.531659593    127.0.0.1 → 127.0.1.1    GSMTAP 191 (call 80000001) Received message MNCC_RTP_CREATE 
 1174 13.531670651    127.0.0.1 → 127.0.1.1    GSMTAP 194 (call 80000001) Message 'MNCC_RTP_CREATE' unhandled 
 1175 13.531681217    127.0.0.1 → 127.0.1.1    GSMTAP 301 msc_a(IMSI-901700000015843:MSISDN-15843:TMSI-0x7D64D922:GERAN-A-4:CM_SERVICE_REQ)[0x563de7902d30]{MSC_A_ST_COMMUNICATING}: - msc_a_ran_dec: now used by 1 (cc) 
 1176 13.531712766    127.0.0.1 → 127.0.1.1    GSMTAP 257 MGW(mgw) Tx MGCP: r=127.0.0.1:2428<->l=127.0.0.1:2427: len=167 'MDCX 3 rtpbridge/1@mgw MGCP 1.0\r\nC: 2\r\nI: '... 
 1177 13.531719487    127.0.0.1 → 127.0.0.1    MGCP/SDP 209 MDCX 3 rtpbridge/1@mgw MGCP 1.0
 1178 13.531820600    127.0.0.1 → 127.0.0.1    MGCP 54 534 3 FAIL
 1179 13.531867115    127.0.0.1 → 127.0.1.1    GSMTAP 178 MGW(mgw) MGCP client: Rx 534 3 FAIL 
 1180 13.531887548    127.0.0.1 → 127.0.1.1    GSMTAP 237 MGCP_CONN(RTP_TO_RAN)[0x563de79017f0]{ST_MDCX_RESP}: MGW/MDCX: response yields error: 534 FAIL 
 1181 13.531898548    127.0.0.1 → 127.0.1.1    GSMTAP 237 MGCP_CONN(RTP_TO_RAN)[0x563de79017f0]{ST_MDCX_RESP}: Terminating (cause = OSMO_FSM_TERM_ERROR)

osmo-msc sends an MDCX message, which gets rejected by osmo-mgw:

MDCX 3 rtpbridge/1@mgw MGCP 1.0 
C: 2 
I: 27F4102A 
M: sendrecv 

v=0 
o=- 2 23 IN IP4 127.0.0.1 
s=- 
c=IN IP4 127.0.0.1 
t=0 0 
m=audio 4006 RTP/AVP 3 
a=ptime:20 

Below is the related osmo-mgw logging (sorry, I forgot to enable GSMTAP logging for it):

Started Osmocom Media Gateway (MGW).
DLGLOBAL NOTICE telnet_interface.c:88 Available via telnet 127.0.0.1 4243
DLCTRL NOTICE control_if.c:1014 CTRL at 127.0.0.1 4267
DLMGCP NOTICE mgw_main.c:397 Configured for MGCP, listen on 127.0.0.1:2428
DLMGCP INFO mgcp_protocol.c:441 CRCX: executing request handler "CreateConnection" for endpoint resource "rtpbridge/1@mgw" 
DLMGCP NOTICE mgcp_protocol.c:881 endpoint:rtpbridge/1@mgw CRCX: creating new connection ...
DLMGCP NOTICE mgcp_protocol.c:1135 endpoint:rtpbridge/1@mgw CI:1163B083 CRCX: connection successfully created
DLMGCP INFO mgcp_protocol.c:441 CRCX: executing request handler "CreateConnection" for endpoint resource "rtpbridge/1@mgw" 
DLMGCP NOTICE mgcp_protocol.c:881 endpoint:rtpbridge/1@mgw CRCX: creating new connection ...
DLMGCP NOTICE mgcp_protocol.c:1135 endpoint:rtpbridge/1@mgw CI:27F4102A CRCX: connection successfully created
DLMGCP INFO mgcp_protocol.c:441 CRCX: executing request handler "CreateConnection" for endpoint resource "rtpbridge/2@mgw" 
DLMGCP NOTICE mgcp_protocol.c:881 endpoint:rtpbridge/2@mgw CRCX: creating new connection ...
DLMGCP NOTICE mgcp_protocol.c:1135 endpoint:rtpbridge/2@mgw CI:565BD5B6 CRCX: connection successfully created
DLMGCP INFO mgcp_protocol.c:441 MDCX: executing request handler "ModifiyConnection" for endpoint resource "rtpbridge/2@mgw" 
DLMGCP NOTICE mgcp_protocol.c:1169 endpoint:rtpbridge/2@mgw MDCX: modifying existing connection ...
DLMGCP NOTICE mgcp_sdp.c:432 endpoint:rtpbridge/2@mgw CI:565BD5B6 Got media info via SDP: port:16384, addr:127.0.0.1, duration:20, payload-types:120=CLEARMODE 
DLMGCP NOTICE mgcp_protocol.c:1372 endpoint:rtpbridge/2@mgw CI:565BD5B6 MDCX: connection successfully modified
DLMGCP INFO mgcp_protocol.c:441 CRCX: executing request handler "CreateConnection" for endpoint resource "rtpbridge/2@mgw" 
DLMGCP NOTICE mgcp_protocol.c:881 endpoint:rtpbridge/2@mgw CRCX: creating new connection ...
DLMGCP NOTICE mgcp_sdp.c:432 endpoint:rtpbridge/2@mgw CI:92F4A92C Got media info via SDP: port:4002, addr:127.0.0.1, duration:20, payload-types:120=CLEARMODE 
DLMGCP NOTICE mgcp_protocol.c:1135 endpoint:rtpbridge/2@mgw CI:92F4A92C CRCX: connection successfully created
DRTP ERROR mgcp_network.c:978 (rtpbridge/1@mgw I:27F4102A) RTP packet too short (1 < 12)
DLMGCP INFO mgcp_protocol.c:441 MDCX: executing request handler "ModifiyConnection" for endpoint resource "rtpbridge/1@mgw" 
DLMGCP NOTICE mgcp_protocol.c:1169 endpoint:rtpbridge/1@mgw MDCX: modifying existing connection ...
DLMGCP NOTICE mgcp_sdp.c:432 endpoint:rtpbridge/1@mgw CI:27F4102A Got media info via SDP: port:4006, addr:127.0.0.1, duration:20, payload-types:3=GSM 
DLMGCP ERROR mgcp_protocol.c:833 endpoint:rtpbridge/1@mgw CI:27F4102A MDCX: codec negotiation failure
DLMGCP INFO mgcp_protocol.c:441 DLCX: executing request handler "DeleteConnection" for endpoint resource "rtpbridge/1@mgw" 
DLMGCP NOTICE mgcp_protocol.c:1403 endpoint:rtpbridge/1@mgw DLCX: deleting connection(s) ...
DLMGCP NOTICE mgcp_protocol.c:1526 endpoint:rtpbridge/1@mgw DLCX: connection successfully deleted
DLMGCP INFO mgcp_protocol.c:441 DLCX: executing request handler "DeleteConnection" for endpoint resource "rtpbridge/1@mgw" 
DLMGCP NOTICE mgcp_protocol.c:1403 endpoint:rtpbridge/1@mgw DLCX: deleting connection(s) ...
DLMGCP NOTICE mgcp_protocol.c:1526 endpoint:rtpbridge/1@mgw DLCX: connection successfully deleted
DLMGCP INFO mgcp_protocol.c:441 DLCX: executing request handler "DeleteConnection" for endpoint resource "rtpbridge/2@mgw" 
DLMGCP NOTICE mgcp_protocol.c:1403 endpoint:rtpbridge/2@mgw DLCX: deleting connection(s) ...
DLMGCP NOTICE mgcp_protocol.c:1526 endpoint:rtpbridge/2@mgw DLCX: connection successfully deleted
DLMGCP INFO mgcp_protocol.c:441 DLCX: executing request handler "DeleteConnection" for endpoint resource "rtpbridge/2@mgw" 
DLMGCP NOTICE mgcp_protocol.c:1403 endpoint:rtpbridge/2@mgw DLCX: deleting connection(s) ...
DLMGCP NOTICE mgcp_protocol.c:1526 endpoint:rtpbridge/2@mgw DLCX: connection successfully deleted

Files


Related issues

Related to OsmoMSC - Feature #4394: Circuit Switched Data (CSD) Support in osmo-mscResolvedosmith02/13/2020

Actions
Related to OsmoBSC - Feature #4393: Circuit Switched Data (CSD) Support in osmo-bscResolvedosmith02/13/2020

Actions
Blocks OsmoBTS - Feature #1572: Circuit Switched Data (CSD) Support in osmo-btsResolvedfixeria02/23/2016

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)