blob: 797fdeaa30bb5e90859247eb9e5f2ac565f80f19 [file] [log] [blame]
Philipp Maier6e2795b2020-11-26 17:50:01 +01001== MGCP Endpoints
2
3MGCP organizes the switching resources in so called endpoints. Each endpoint is
4referenced by its unique identifier. While RFC 3435 specifies a naming scheme, the
5actual identifier naming is subject to the implementation and configuration.
6
7=== RTP proxy / RTP bridge endpoints
8
9OsmoMGW implements a freely configurable number of `rtpbridge` endpoints. Those
10endpoints are able to host two connections at a time to model the functionality
11of a tandem switch.
12
13RTP bridge endpoint identifiers are referenced by the string `rtpbridge/`, a
14hexadecimal number without leading zeros and a domain name (configurable).
15
16----
17rtpbridge/<number>@<domain>
18----
19
20.Example: List of virtual endpoints
21----
22rtpbridge/1@mgw
23rtpbridge/2@mgw
24rtpbridge/3@mgw
25rtpbridge/4@mgw
26rtpbridge/5@mgw
27rtpbridge/6@mgw
28rtpbridge/7@mgw
29rtpbridge/8@mgw
30rtpbridge/9@mgw
31rtpbridge/a@mgw
32rtpbridge/b@mgw
33rtpbridge/c@mgw
34rtpbridge/d@mgw
35rtpbridge/e@mgw
36rtpbridge/f@mgw
37rtpbridge/10@mgw
38----
39
40=== E1/T1 endpoints
41
42OsmoMGW supports E1 subslot multiplexing as specified by I.460. All possible
43subslot combinations are mapped on individual endpoints. The endpoint names
44are prefixed with `ds/e1-` followed by the trunk number and the E1 timeslot.
45The subslot is defined by a bit rate and a bit offset.
46
47----
48ds/e1-<trunk>/s-<timeslot>/su<bitrate>-<bitoffset>@<domain>
49----
50
51.Example: List of endpoints on E1 trunk 0 at E1 timeslot 2
52----
53ds/e1-0/s-2/su64-0@mgw
54ds/e1-0/s-2/su32-0@mgw
55ds/e1-0/s-2/su32-4@mgw
56ds/e1-0/s-2/su16-0@mgw
57ds/e1-0/s-2/su16-2@mgw
58ds/e1-0/s-2/su16-4@mgw
59ds/e1-0/s-2/su16-6@mgw
60ds/e1-0/s-2/su8-0@mgw
61ds/e1-0/s-2/su8-1@mgw
62ds/e1-0/s-2/su8-2@mgw
63ds/e1-0/s-2/su8-3@mgw
64ds/e1-0/s-2/su8-4@mgw
65ds/e1-0/s-2/su8-5@mgw
66ds/e1-0/s-2/su8-6@mgw
67ds/e1-0/s-2/su8-7@mgw
68----
69
70When creating connections on endpoints that reside in one E1 timeslot the call
71agent must make sure that no overlapping endpoints are used. It is for example
72not possible to use `ds/e1-0/s-2/su16-2@mgw` and `ds/e1-0/s-2/su8-3@mgw` at the
73same time because they overlap.
74
75.Subslot overlapping
76[options="header"]
77|===
78| Bit offset 4+| Subslots
79| 0 | 8k .2+| 16k .4+| 32k .8+| 64k
80| 1 | 8k
81| 2 | 8k .2+| 16k
82| 3 | 8k
83| 4 | 8k .2+| 16k .4+| 32k
84| 5 | 8k
85| 6 | 8k .2+| 16k
86| 7 | 8k
87|===
88
89NOTE: The current implementation (December 2020) only implements TRAU frame
90encoding/decoding for 16K and 8K subslots. Endpoints with other bitrates are
91not yet useable.
92
93NOTE: the VTY command "show mgcp" can be used to get a list of all available
94endpoints (including identifiers)