f9b167ff919cc534e04d6475601ab045504ccc16
[lcr.git] / default / interface.conf
1 # interface.conf
2 ################
3
4
5 # Example of an ISDN interface on port 0 used for external calls.
6
7 #[Ext]
8 #extern
9 #portnum 0
10
11 # Example of a multilink ISDN interface (Anlagenanschluss) on port 2
12 # and 3
13
14 #[Ext]
15 #extern
16 #portnum 2
17 #portnum 3
18
19
20 # Example of an PTP ISDN interface on port 0
21 # Layer-2-Hold is required to keep link alive.
22
23 #[Ext]
24 #extern
25 #portnum 0
26 #ptp
27 #layer2hold yes
28
29
30 # Example of an internal ISDN interface on port 1, which accepts all extensions
31
32 #[Int]
33 #extension
34 #portnum 1
35 #nt
36
37
38 # Example of an ISDN interface on port 1, which accepts only extensions
39 # 201, 202 and 203
40
41 #[Int]
42 #extension
43 #msn 201,202,203
44 #portnum 1
45 #nt
46
47
48 # Example of three ISDN interfaces on port 1, 2 and 3, which accept
49 # extension 201 on all interfaces, and extension 202 and 203 on the first port
50 # only.
51 # Hint: To make extension ring on all three interfaces parallel, use
52 # "interface Int1,Int2,In3" in extension's settings file.
53
54 #[Int1]
55 #extension
56 #msn 201,202,203
57 #portnum 1
58 #nt
59
60 #[Int2]
61 #extension
62 #msn 201
63 #portnum 2
64 #nt
65
66 #[Int3]
67 #extension
68 #msn 201
69 #portnum 3
70 #nt
71
72
73 # Example of an ISDN interface on port 0 that requires screening of caller IDs.
74 # This is required if the connected line doesn't screen caller IDs.
75 # Also this interface will connect bchannel during call setup, so tones are
76 # required.
77
78 #[Ext]
79 #extern
80 #screen-out unknown 300  national 21250993300
81 #screen-out unknown 2%  national 212509932%
82 #tones yes
83 #portnum 0
84
85
86 # Example of an ISDN PRI interface on port 0 that has directed channels.
87 # 10 channels (channel 1-10) are incomming only.
88 # 10 channels (channel 11-15,17-21) are outgoing only.
89 # 10 channels (channel 22-31) are both way.
90 # We prefer to use directed channels first, then we request any channel.
91 # Outgoing calls on both-way-channels shall be indicated as "any channel".
92 # (Siemens EWSD will select bot-way-channels when indicated that way.)
93
94 #[Ext]
95 #extern
96 #portnum 0
97 #layer2hold
98 #channel-in 1,2,3,4,5,6,7,8,9,10,22,23,24,25,26,27,28,29,30,31
99 #channel-out force,11,12,13,14,15,17,18,19,20,21,any
100
101
102 # Example of an ISDN interface that runs in NT-mode, but provides tones during
103 # setup. Also we provide tones during setup also.
104 # This is usefull to interconnect to another PBX.
105 # Additinally the timeout values for the different call states are adjusted to 60 seconds.
106 # They are: setup, dialing, proceeding, alerting, disconnect
107
108 #[PBX]
109 #portnum 4
110 #nt
111 #layer2hold yes
112 #earlyb yes
113 #tones yes
114 #timeouts 60 60 60 60 60
115
116
117 # Example of an interface on port 0 connected to another LCR
118 # This can be done by direct cross cable (terminated of course) or via L1oIP.
119 # Since the remote side (NT-mode) normally doesn't accept informations like
120 # redirected number or display facility, use 'te-special' to even transmit that
121 # against the ISDN specifications. A remote LCR can handle that.
122 # Now all information elements can be transmitted in both directions.
123
124 #[Ext]
125 #extern
126 #portnum 0
127 #te-special
128
129
130 # Alternatively give port name. You will find the name with 'isdninfo' tool.
131
132 #[Int2]
133 #portname hfc-s_usb.1
134 #nt
135
136
137 # The remote switch may reject extreamly large numbers to be dialed during
138 # setup message. Define a limit of maximum numbers to dial. The rest of
139 # digits will be dialed after setup via overlap dialing.
140
141 #[Ext]
142 #extern
143 #portnum 0
144 #dialmax 20
145
146
147 # Example of an ISDN interface on port 1, with alternate tones-dir to use.
148 # In this case, the tones are "german" tones generated by mISDN_dsp.ko.
149 # It is possible to give different sample sets, like "tones_german".
150
151 #[Int]
152 #extension
153 #msn 201,202,203
154 #tones-dir german
155 #portnum 1
156 #nt
157
158
159 # A special case for GSM Network interface.
160 # optionally give "gsm-bs <name of network instance>".
161 # You may add 'extension' and 'msn' keywords to turn all your subscribers
162 # in you GSM network to internal 'extensions'.
163 # The MSN numbers will equal the subscriber number.
164 #[GSM]
165 #gsm-bs
166 #hr
167 #tones yes
168 #earlyb no
169
170
171 # A special case for GSM Mobile Station interface.
172 # give "gsm-ms <name of mobile instance>".
173 # You may add 'extern' to make this interface the external line by default.
174 #[GSM]
175 #gsm-ms 1
176 #tones no
177 #earlyb yes
178 ##extern
179
180
181 # Use chan_lcr (Asterisk PBX interface) as external interface.
182 #[Ext]
183 #remote asterisk
184 #exten from-lcr
185 #extern
186 #earlyb yes
187 #tones no
188
189
190 # Use chan_lcr (Asterisk PBX interface) as internal interface.
191 # The caller ID is used as extension, if "extension" parameter is given.
192 # Use "screen-in % xxx" to modify any caller id to xxx.
193 # An internal extension does not receive tones ("earlyb"), but sends them. 
194 #[ast]
195 #remote asterisk
196 #exten from-lcr
197 ##note: The following keyword means that this interface is an LCR internal extension
198 #extension
199 ##screen-in % 209
200 #earlyb no
201 #tones yes
202
203
204 # Use Sofia-SIP as SIP point-to-point interface
205 #[sip]
206 #sip <local ip>[:<local port>] <remote ip>[:<remote port>]
207 #sip 10.0.0.12 10.0.0.34
208 #earlyb no
209 #tones no
210
211
212 # Hint: Enter "lcr interface" for quick help on interface options.
213
214
215 # Add your interfaces here:
216
217
218 [Ext]
219 extern
220 portnum 0
221
222
223 [Int]
224 extension
225 msn 200,201,202,203
226 portnum 1
227 nt
228
229