Project

General

Profile

Bug #4432

for 'domain *', mgw should echo the domain of the MGCP client

Added by neels 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/04/2020
Due date:
% Done:

0%


Description

Traditionally, OsmoMGW expects a domain of 'mgw' in rtpbridge endpoints, as in

CRCX 3 rtpbridge/*@mgw 
OK 3 rtpbridge/23@mgw

At some point we made the domain configurable as in

mgcp
domain bsc
CRCX 3 rtpbridge/*@bsc
OK 3 rtpbridge/23@bsc

And a feature was added to allow arbitrary domains with

mgcp
domain *
CRCX 3 rtpbridge/*@arbitrary
OK 3 rtpbridge/23@arbitrary

However, osmo-mgw currently replies with

OK 3 rtpbridge/23@*

This fails to process in mgcp_client.c

DLMGCP ERROR Cannot parse MGCP response (head parameters) (mgcp_client.c:664)

Instead, the OK response should always take the domain that was received in the CRCX request, not pass '*' out to the client, ever.
Currently a 'domain *' setting is actually unusable.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)