for 'domain *', mgw should echo the domain of the MGCP client
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
CRCX 3 rtpbridge/*@bsc
OK 3 rtpbridge/23@bsc
And a feature was added to allow arbitrary domains with
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.