IMPORTANT NOTICE: This page contains information about a of the Osmocom software. This legacy version is . If you use it, don't be surprised if it doesn't work. It was your choice to ignore man-years worth of developments, improvements and fixes. Please migrate to the active/supported software (Osmocom CNI, consisting of OsmoBSC, OsmoMSC, OsmoHLR - a NITB style setup is described at Osmocom_Network_In_The_Box).
- Table of contents
- configuration reference
- mgcp level
- bts ip A.B.C.D
- local ip A.B.C.D
- bind ip A.B.C.D
- bind port NUMBER
- bind early <0|1>
- rtp bts-base PORT
- rtp bts-range START END
- rtp net-base PORT
- rtp net-range START END
- rtp transcoder-base PORT
- rtp transcoder-range START END
- rtp ip-dscp TOS
- number endpoints NUMBER
- sdp audio payload number NUMBER
- sdp audio payload name NAME
- loop <0|1>
- call agent ip A.B.C.D
- transcoder-mgw A.B.C.D
- transcoder-remote-base PORT
- mgcp level
- Additionall Commands
This page is a reference for all VTY commands known for MGCP configuration. They can be used in the MGCP VTY telnet interface.
This is the configuration of the mgcp
bts ip A.B.C.D¶
Inform the MGCP which peer is to be considered the BTS. When receiving a packet from a unknown peer (e.g. not the other media gateway) the IP will be compared to the one provided here and then packets will be forwarded from the other media gateway to this IP and port.
local ip A.B.C.D¶
Use this IP address in responses to CRCX and MDCX when referring to the local address.
bind ip A.B.C.D¶
Bind the MGCP to the given IP address.
bind port NUMBER¶
Bind the MGCP to this port number. The default is 2427
bind early <0|1>¶
Allocate all to be used RTP/RTCP ports at startup. The benefit of this is that there can be no resources problems when all ports allocated at startup.
rtp bts-base PORT¶
The mgw is statically allocating a linear space of ports to be used by the BTS. This option determines the lowest to be used port.
rtp bts-range START END¶
The mgw will dynamically allocate a port to be used by the BTS from the range given by START to END (inclusive).
rtp net-base PORT¶
The mgw is statically allocating a linear space of ports to be used by the Network. This option determines the lowest to be used port.
rtp net-range START END¶
The mgw will dynamically allocate a port to be used by the Remote from the range given by START to END (inclusive).
rtp transcoder-base PORT¶
The mgw is statically allocating a linear space of ports to be used by the transcoder. This option determines the lowest to be used port.
rtp transcoder-range START END¶
The mgw will dynamically allocate a port to be used by the Transcoder from the range given by START to END (inclusive).
rtp ip-dscp TOS¶
Set the IP Terms Of Service (ToS) or maybe better known a DSCP attribute on packets leaving the RTP/RTCP socket.
number endpoints NUMBER¶
Configure how many endpoints should be operated by this gateway.
sdp audio payload number NUMBER¶
In responses to CRCX/MDCX messages claim to use this payload NUMBER in the SDP record.
sdp audio payload name NAME¶
In responses to CRCX/MDCX messages claim to use this payload NAME in the SDP record.
Debug mode. Send audio back to the origin instead of dispatching it to the target
call agent ip A.B.C.D¶
Set the IP address of the callagent. This is used by the bsc_nat to connect the Gateway socket to the MSC MGCP CallAgent.
Set the IP of the transcoder. If it is set all data from the BTS will be routed through the transcoder and then send to the network.
Set the base port where the transcoder is listening. It is assumed that one can calculate the remote port based on the endpoint.
Show status on all endpoints including the local/remote IP, number of packets coming from both sides.
Free the endpoint. The endpoint can be specified as hexadecimal without a leading 0x.
tap-call ENDPOINT (bts-in|bts-out|net-in|net-out) IP PORT¶
Forward data of a given endpoint (in hex without the 0x) audio from any of bts-in|bts-out|net-in|net-out to the specified IP and PORT. This will be reset when the endpoint is freed.
Loop audio data for a given endpoint. This will only work for an active endpoint and will be reset when the endpoint is freed.