Philipp Maier
6fbbeec064
The function mgcp_trunk_by_num() is used to directly pick a specific trunk that is known by its id number (sometimes called "index"). Traditionally the virtual trunk will reside under id number 0 and all consecutively created E1 trunks will be created under number 1 to 64. This works fine, but puts a limitation on us should we ever introduce an aditional trunk type (e.g. T1). Since the numbers must be unique regardless of the trunk type one could not have an E1 trunk number 1 and e.g. a T1 trunk number 1 at the same time. So we should pick the trunk not only by its number, but also by its type to allow different trunk types to carry the same number. The trunks will still be distinguishable by its type along with the respective endpoint prefix. Change-Id: I7af1e9ce601babd4a51e88201a98319e03945f83 Related: OS#2659 |
||
---|---|---|
.. | ||
mgcp | ||
mgcp_client | ||
Makefile.am | ||
atlocal.in | ||
testsuite.at |