test
[diplomippbx.git] / 1 / misdn.conf
blob8957e2fa62438c1e174d5ba635a06596fce2f297
2 ; chan_misdn sample config
5 ; general section:
7 ; for debugging and general setup, things that are not bound to port groups
10 [general] 
12 ; set debugging flag: 
13 ;   0 - No Debug
14 ;   1 - mISDN Messages and * - Messages, and * - State changes
15 ;   2 - Messages + Message specific Informations (e.g. bearer capability)
16 ;   3 - very Verbose, the above + lots of Driver specific infos
17 ;   4 - even more Verbose than 3
19 ; default value: 0
21 debug=0
23 ; the big trace
25 ; default value: [not set]
27 ;tracefile=/var/log/misdn.trace
29 ; single call trace files
30 ; set to true if you want to have them
31 ; they depend on debug level
33 ; default values: trace_calls : false
34 ;                 trace_dir   : /var/log/
36 trace_calls=false
37 trace_dir=/var/log/
39 ; set to yes if you want mISDN_dsp to bridge the calls in HW
41 ; default value: yes
43 bridging=yes
45 ; stops dialtone after getting first digit on nt Port
47 ; default value: yes
49 stop_tone_after_first_digit=yes
51 ; wether to append overlapdialed Digits to Extension or not 
53 ; default value: yes
55 append_digits2exten=yes
57 ; set this to yes if you have jollys mISDN which sends correct L1 Infos
59 ; default value: yes
61 l1_info_ok=yes
63 ; set this to yes if you want to clear the l3 in case the l2 deactivates
64 ; some environments have a flickering l2 which causes this option to 
65 ; damage active calls .. highly experimental
66
67 ; default value: no
69 clear_l3=no
71 ; set the method to use for channel selection:
72 ;   standard    - always choose the first free channel with the lowest number
73 ;   round_robin - use the round robin algorithm to select a channel. use this
74 ;                 if you want to balance your load.
76 ; default value: standard
78 method=standard
80 ;;; CRYPTION STUFF
82 ; Wether to look for dynamic crypting attempt
84 ; default value: no
86 dynamic_crypt=no
88 ; crypt_prefix, what is used for crypting Protocol
90 ; default value: [not set]
92 crypt_prefix=**
94 ; Keys for cryption, you reference them in the dialplan
95 ; later also in dynamic encr.
97 ; default value: [not set]
99 crypt_keys=test,muh
101 ; users sections:
103 ; name your sections as you which but not "general" ! 
104 ; the secions are Groups, you can dial out in extensions.conf
105 ; with Dial(mISDN/g:extern/101) where extern is a section name, 
106 ; chan_misdn tries every port in this section to find a 
107 ; new free channel
110 ; The default section is not a group section, it just contains config elements
111 ; which are inherited by group sections.
114 [default]
116 ; define your default context here
118 ; default value: default
120 context=misdn
122 ; language
124 ; default value: en
126 language=en
128 ; Prefixes for national and international, those are put before the 
129 ; oad if an according dialplan is set by the other end. 
131 ; default values: nationalprefix      : 0
132 ;                 internationalprefix : 00
134 nationalprefix=0
135 internationalprefix=00
137 ; set rx/tx gains between -8 and 8 to change the RX/TX Gain
139 ; default values: rxgain: 0
140 ;                 txgain: 0
142 rxgain=0
143 txgain=0
145 ; some telcos espacially in NL seem to need this set to yes, also in 
146 ; switzerland this seems to be important
148 ; default value: no
150 te_choose_channel=no
152 ; dialplan options: 
154 ; 0 - unknown
155 ; 1 - National
156 ; 2 - International
157 ; 4 - Subscriber
159 ; This setting is used for outgoing calls
161 ; default value: 0
163 dialplan=0
165 ; This is only for asterisk head and will result in only considering 
166 ; misdn.confs and misdn_set_opts callingpresentation informations if set to no.
167 ; Otherwise asterisks callingpresentation overwrites misdn.confs settings.
169 ; default value: yes
171 use_callingpres=yes
173 ; uncomment the following to get into s extension at extension conf
174 ; there you can use DigitTimeout if you can't or don't want to use
175 ; isdn overlap dial. 
176 ; note: This will jump into the s exten for every exten!
178 ; default value: no
180 ;always_immediate=no
182 ; uncomment the following if you want callers which called exactly the 
183 ; base number (so no extension is set) jump to the s extension.
184 ; if the user dials something more it jumps to the correct extension 
185 ; instead
187 ; default value: no
189 ;immediate=no
191 ; uncomment the following to have hold and retrieve support
193 ; default value: no
195 ;hold_allowed=yes
197 ; Pickup and Callgroup
199 ; deafult values: not set = 0
201 ;callgroup=1
202 ;pickupgroup=1
204 ; Allows/Screens Callerid
206 ; possible values: allowed,not_screened
208 ; be aware, if you set to allowed you need to set a correct 
209 ; callerid in the dialplan or set it here in the misdn.conf
210 ; Some Telcos don't care about wrong callerids, others do !
212 ; default value: allowed
214 ;presentation=not_screened
216 ; this enables echocancellation, with the given number of taps
217 ; be aware, move this setting only to outgoing portgroups!
218 ; A value of zero turns echocancellation off.
220 ; possible values are: 0,32,64,128,256,yes(=128),no(=0)
222 ; default value: no
224 ;echocancel=no
226 ; this disables echocancellation when the call is bridged between 
227 ; mISDN channels
229 ; default value: no
231 echocancelwhenbridged=no
233 ; Set this to no to disable echotraining
235 ; default value: yes
237 echotraining=yes
239 [intern]
240 ; define your ports, e.g. 1,2 (depends on mISDN-driver loading order) 
241 ports=1,2
242 ; context where to go to when incoming Call on one of the above ports
243 context=Intern
245 [internPP]
246 ; if you want to have pp Protocol on one nt Port, you need 
247 ; to add a ptp directly after the portnumber, you can still add 
248 ; more ports and multiple ptp adds in your config.
249 ports=3ptp
250         
251 [first_extern]
252 ; again port defs
253 ports=4
254 ; again a context for incomming calls
255 context=Extern1
256 ; msns for te ports, listen on those numbers on the above ports, and 
257 ; indicate the incoming calls to asterisk
258 ; here you can give a comma seperated list or simply an '*' for 
259 ; any msn. 
260 msns=*
262 ; here an example with given msns
263 [second_extern]
264 ports=5
265 context=Extern2
266 callerid=15
267 msns=102,144,101,104