summaryrefslogtreecommitdiffstats
path: root/lcrsocket.h
diff options
context:
space:
mode:
authorAndreas Eversberg2010-11-28 08:53:32 +0100
committerAndreas Eversberg2010-11-28 08:53:32 +0100
commitdec6fabc354cdfe7188340623afb192b4a3fb062 (patch)
treecc6d61a9f745473156ad1372dfeb050bff01c0a9 /lcrsocket.h
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 'lcrsocket.h')
-rw-r--r--lcrsocket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lcrsocket.h b/lcrsocket.h
index 7ecf7ad..931afb8 100644
--- a/lcrsocket.h
+++ b/lcrsocket.h
@@ -83,6 +83,8 @@ struct admin_response_interface {
char busy[256]; /* if port is idle(0) busy(1) */
unsigned int port[256]; /* current port */
int mode[256];
+ char out_channel[256];
+ char in_channel[256];
};
struct admin_response_remote {