summaryrefslogtreecommitdiffstats
path: root/lcradmin.c
diff options
context:
space:
mode:
authorAndreas Eversberg2010-11-28 08:53:32 +0100
committerAndreas Eversberg2010-11-28 08:53:32 +0100
commitdec6fabc354cdfe7188340623afb192b4a3fb062 (patch)
treecc6d61a9f745473156ad1372dfeb050bff01c0a9 /lcradmin.c
parentMake LCR compile with the latest OpenBSC master branch (diff)
downloadlcr-dec6fabc354cdfe7188340623afb192b4a3fb062.tar.gz
lcr-dec6fabc354cdfe7188340623afb192b4a3fb062.tar.xz
lcr-dec6fabc354cdfe7188340623afb192b4a3fb062.zip
Fixed channel selection on outgoing calls on NT-mode multipoint
On a multipoint bus, it is required to assign a channel with no other alternative allowed. This is required, because an individual phone on the bus may not choose a different channel, while other phones accept the indicated channel. Also an individual phone does not have the information about other available channels. On a point-to-point configuration it is possible anyway. In this multipoint case, the channel assignment is now forced automatically, even if the 'force' keyword is not specified in the "out-channel" of interface.conf. Additionally "lcradmin portinfo" shows the channel selection settings now.
Diffstat (limited to 'lcradmin.c')
-rw-r--r--lcradmin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lcradmin.c b/lcradmin.c
index 882105b..2483a9b 100644
--- a/lcradmin.c
+++ b/lcradmin.c
@@ -1301,6 +1301,8 @@ const char *admin_portinfo(int sock, int argc, char *argv[])
else
printf("\t status = unblocked\n");
printf("\t mode = %s %s%s%s\n", (m[i].u.i.ntmode)?"NT-mode":"TE-mode", (m[i].u.i.ptp)?"ptp":"ptmp", (m[i].u.i.l1hold)?" l1hold":"", (m[i].u.i.l2hold)?" l2hold":"");
+ printf("\t out-channel = %s\n", m[i].u.i.out_channel);
+ printf("\t in-channel = %s\n", m[i].u.i.in_channel);
if (m[i].u.i.l1link < 0)
printf("\t l1 link = unknown\n");
else