Project

General

Profile

Bsc mgcp VTY » History » Version 12

Anonymous, 02/19/2016 10:48 PM

1 12
{{>toc}}
2 1
3
This page is a reference for all VTY commands known for MGCP configuration. They can be used in the MGCP VTY telnet interface.
4
5
6 12
h2. configuration reference
7 1
8 12
9
10
h3. mgcp level
11
12
13 1
This is the configuration of the mgcp
14
15 6
16 12
h4. bts ip A.B.C.D
17
18
19 1
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.
20
21 12
22
h4. local ip A.B.C.D
23
24 6
Use this IP address in responses to CRCX and MDCX when referring to the local address.
25 1
26
27 12
28
h4. bind ip A.B.C.D
29
30 1
Bind the MGCP to the given IP address.
31
32 12
33
h4. bind port NUMBER
34
35 1
Bind the MGCP to this port number. The default is 2427
36 8
37 12
38
h4. bind early <0|1>
39
40 8
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.
41 1
42 12
43
h4. rtp bts-base PORT
44
45 1
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.
46
47 12
48
h4. rtp bts-range START END
49
50 1
The mgw will dynamically allocate a port to be used by the BTS from the range given by START to END (inclusive).
51
52 12
53
h4. rtp net-base PORT
54
55 1
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.
56 8
57 12
58
h4. rtp net-range START END
59
60 8
The mgw will dynamically allocate a port to be used by the Remote from the range given by START to END (inclusive).
61 1
62 12
63
h4. rtp transcoder-base PORT
64
65 1
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.
66
67 12
68
h4. rtp transcoder-range START END
69
70 1
The mgw will dynamically allocate a port to be used by the Transcoder from the range given by START to END (inclusive).
71
72 12
73
h4. rtp ip-dscp TOS
74
75 1
Set the IP Terms Of Service (ToS)  or maybe better known a DSCP attribute on packets leaving the RTP/RTCP socket.
76
77 12
78
h4. number endpoints NUMBER
79
80 1
Configure how many endpoints should be operated by this gateway.
81
82 12
83
h4. sdp audio payload number NUMBER
84
85 1
In responses to CRCX/MDCX messages claim to use this payload NUMBER in the SDP record.
86
87 12
88
h4. sdp audio payload name NAME
89
90 1
In responses to CRCX/MDCX messages claim to use this payload NAME in the SDP record.
91
92 12
93
h4. loop <0|1>
94
95 1
Debug mode. Send audio back to the origin instead of dispatching it to the target
96
97
98 12
h4. call agent ip A.B.C.D
99
100
Set the IP address of the callagent. This is used by the bsc_nat to connect the Gateway socket to the MSC MGCP [[CallAgent]].
101
102
103
h4. transcoder-mgw A.B.C.D
104
105 1
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.
106
107 12
108
h4. transcoder-remote-base PORT
109
110 4
Set the base port where the transcoder is listening. It is assumed that one can calculate the remote port based on the endpoint.
111
112 5
113 6
114 12
h2. Additionall Commands
115
116
117
118
h3. show mgcp
119
120 10
Show status on all endpoints including the local/remote IP, number of packets coming from both sides.
121 11
122 12
123
h3. free-endpoint HEX_NUMBER
124
125 11
Free the endpoint. The endpoint can be specified as hexadecimal without a leading 0x.
126
127 12
128
h3. tap-call ENDPOINT (bts-in|bts-out|net-in|net-out) IP PORT
129
130 11
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.
131
132 12
133
h3. loop-endpoint HEX_NUMBER
134
135 11
Loop audio data for a given endpoint. This will only work for an active endpoint and will be reset when the endpoint is freed.
Add picture from clipboard (Maximum size: 48.8 MB)