Bug #2874
closed
MGCP originates not from IETF standard port 2427
Added by laforge over 6 years ago.
Updated over 5 years ago.
Description
RFC 3435 states that a call agent has a default port of 2427, but we appear to be sending MGCP from a random source port.
From what I can see this problem would be easy to fix by just setting #define MGCP_CLIENT_LOCAL_PORT_DEFAULT 0 to 2427, but then we can never run the mgw on the same host which holds the call agent. We then need to separate those two by the ip-addresses. I think that would brake a lot of things.
Also the VTY has a way to configure the local port to a fixed value (mgw local-port <0-65535>). I think we should leave it as it is since if this spec violation turns out to be a real world problem, then one could always set the port to fix it.
On Wed, Jul 25, 2018 at 10:25:40AM +0000, dexter [REDMINE] wrote:
From what I can see this problem would be easy to fix by just setting
#define MGCP_CLIENT_LOCAL_PORT_DEFAULT 0 to 2427, but then we can
never run the mgw on the same host which holds the call agent.
Why? MGCP specifies a different port number for Call Agent and MGW. So
a single CA and a single MGW on a given machine/IP is not a problem.
The problem would only start if you want to run multiple Call Agents on
the same machine/IP, such as OsmoBSC + OsmoMSC.
Also the VTY has a way to configure the local port to a fixed value (mgw local-port <0-65535>). I think we should leave it as it is since if this spec violation turns out to be a real world problem, then one could always set the port to fix it.
I think the big problem here is that for at least half, if not almost an
entire year we still don't have an osmo-mgw manual or any other
documentation that would actually mean users can find this setting
easily.
- Status changed from New to In Progress
- % Done changed from 0 to 100
To me this problem seems to be resolved. We now should decide if we want to upgrade the example configuration of osmo-bsc and osmo-msc. I don't think this is really necessary.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF