2 ; chan_misdn sample config
7 ; for debugging and general setup, things that are not bound to port groups
12 ; Sets the Path to the misdn-init.conf (for nt_ptp mode checking)
14 misdn_init=/etc/misdn-init.conf
18 ; 1 - mISDN Messages and * - Messages, and * - State changes
19 ; 2 - Messages + Message specific Informations (e.g. bearer capability)
20 ; 3 - very Verbose, the above + lots of Driver specific infos
21 ; 4 - even more Verbose than 3
29 ; set debugging file and flags for mISDNuser (NT-Stack)
31 ; flags can be or'ed with the following values:
39 ; DBGM_L3DATA 0x00000080
41 ; DBGM_TONE 0x00000200
42 ; DBGM_BCDATA 0x00000400
44 ; DBGM_APPL 0x00002000
45 ; DBGM_ISDN 0x00004000
46 ; DBGM_SOCK 0x00010000
47 ; DBGM_CONN 0x00020000
48 ; DBGM_CDATA 0x00040000
49 ; DBGM_DDATA 0x00080000
50 ; DBGM_SOUND 0x00100000
51 ; DBGM_SDATA 0x00200000
52 ; DBGM_TOPLEVEL 0x40000000
57 ntdebugfile=/var/log/misdn-nt.log
60 ; some pbx systems do cut the L1 for some milliseconds, to avoid
61 ; dropping running calls, we can set this flag to yes and tell
62 ; mISDNuser not to drop the calls on L2_RELEASE
67 ; default value: [not set]
69 ;tracefile=/var/log/asterisk/misdn.log
72 ; set to yes if you want mISDN_dsp to bridge the calls in HW
80 ; watches the L1s of every port. If one l1 is down it tries to
81 ; get it up. The timeout is given in seconds. with 0 as value it
82 ; does not watch the l1 at all
86 ; this option is only read at loading time of chan_misdn,
87 ; which means you need to unload and load chan_misdn to change the
88 ; value, an asterisk restart should do the trick
92 ; stops dialtone after getting first digit on nt Port
96 stop_tone_after_first_digit=yes
98 ; whether to append overlapdialed Digits to Extension or not
102 append_digits2exten=yes
106 ; Whether to look for dynamic crypting attempt
112 ; crypt_prefix, what is used for crypting Protocol
114 ; default value: [not set]
118 ; Keys for cryption, you reference them in the dialplan
119 ; later also in dynamic encr.
121 ; default value: [not set]
127 ; name your sections as you which but not "general" !
128 ; the sections are Groups, you can dial out in extensions.conf
129 ; with Dial(mISDN/g:extern/101) where extern is a section name,
130 ; chan_misdn tries every port in this section to find a
134 ; The default section is not a group section, it just contains config elements
135 ; which are inherited by group sections.
140 ; define your default context here
142 ; default value: default
153 ; sets the musiconhold class
158 ; Either if we should produce DTMF Tones ourselves
163 ; If we should generate Ringing for chan_sip and others
169 ; Here you can list which bearer capabilities should be allowed:
170 ; all - allow any bearer capability
171 ; speech - allow speech
172 ; 3_1khz - allow 3.1KHz audio
173 ; digital_unrestricted - allow unrestricted digital
174 ; digital_restricted - allow restricted digital
175 ; video - allow video
178 ; allowed_bearers=speech,3_1khz
182 ; Prefixes for national and international, those are put before the
183 ; oad if an according dialplan is set by the other end.
185 ; default values: nationalprefix : 0
186 ; internationalprefix : 00
189 internationalprefix=00
191 ; set rx/tx gains between -8 and 8 to change the RX/TX Gain
193 ; default values: rxgain: 0
199 ; some telcos especially in NL seem to need this set to yes, also in
200 ; switzerland this seems to be important
209 ; This option defines, if chan_misdn should check the L1 on a PMP
210 ; before making a group call on it. The L1 may go down for PMP Ports
211 ; so we might need this.
212 ; But be aware! a broken or plugged off cable might be used for a group call
213 ; as well, since chan_misdn has no chance to distinguish if the L1 is down
214 ; because of a lost Link or because the Provider shut it down...
222 ; in PMP this option defines which cause should be sent out to
223 ; the 3. caller. chan_misdn does not support callwaiting on TE
224 ; PMP side. This allows to modify the RELEASE_COMPLETE cause
231 ; Send Setup_Acknowledge on incoming calls anyway (instead of PROCEEDING),
232 ; this requests additional Infos, so we can waitfordigits
233 ; without much issues. This works only for PTP Ports
241 ; set this to yes if you want to disconnect calls when a timeout occurs
242 ; for example during the overlapdial phase
246 ; set the method to use for channel selection:
247 ; standard - always choose the first free channel with the lowest number
248 ; round_robin - use the round robin algorithm to select a channel. use this
249 ; if you want to balance your load.
251 ; default value: standard
256 ; specify if chan_misdn should collect digits before going into the
257 ; dialplan, you can choose yes=4 Seconds, no, or specify the amount
258 ; of seconds you need;
263 ; dialplan means Type Of Number in ISDN Terms (for outgoing calls)
265 ; there are different types of the dialplan:
267 ; dialplan -> outgoing Number
268 ; localdialplan -> callerid
269 ; cpndialplan -> connected party number
278 ; This setting is used for outgoing calls
289 ; turn this to no if you don't mind correct handling of Progress Indicators
295 ; turn this on if you like to send Tone Indications to a Incoming
296 ; isdn channel on a TE Port. Rarely used, only if the Telco allows
297 ; you to send indications by yourself, normally the Telco sends the
298 ; indications to the remote party.
302 incoming_early_audio=no
304 ; uncomment the following to get into s extension at extension conf
305 ; there you can use DigitTimeout if you can't or don't want to use
307 ; note: This will jump into the s exten for every exten!
314 ; set this to yes if you want to generate your own dialtone
315 ; with always_immediate=yes, else chan_misdn generates the dialtone
322 ; uncomment the following if you want callers which called exactly the
323 ; base number (so no extension is set) jump to the s extension.
324 ; if the user dials something more it jumps to the correct extension
331 ; uncomment the following to have hold and retrieve support
337 ; Pickup and Callgroup
339 ; default values: not set = 0
347 ; these are the exact isdn screening and presentation indicators
348 ; if -1 is given for either value the presentation indicators are used
349 ; from asterisks SetCallerPres application.
350 ; s=0, p=0 -> callerid presented
351 ; s=1, p=1 -> callerid restricted (the remote end does not see it!)
353 ; default values s=-1, p=-1
357 ; This enables echo cancellation with the given number of taps.
358 ; Be aware: Move this setting only to outgoing portgroups!
359 ; A value of zero turns echo cancellation off.
361 ; possible values are: 0,32,64,128,256,yes(=128),no(=0)
367 ; Set this to no to disable echotraining. You can enter a number > 10
368 ; the value is a multiple of 0.125 ms.
377 ; chan_misdns jitterbuffer, default 4000
382 ; change this threshold to enable dejitter functionality
384 jitterbuffer_upper_threshold=0
388 ; change this to yes, if you want to bridge a mISDN data channel to
389 ; another channel type or to an application.
395 ; defines the maximum amount of incoming calls per port for
396 ; this group. Calls which exceed the maximum will be marked with
397 ; the channel variable MAX_OVERFLOW. It will contain the amount of
403 ; defines the maximum amount of outgoing calls per port for this group
404 ; exceeding calls will be rejected
409 ; define your ports, e.g. 1,2 (depends on mISDN-driver loading order)
411 ; context where to go to when incoming Call on one of the above ports
416 ; adding the postfix 'ptp' to a port number is obsolete now, chan_misdn
417 ; parses /etc/misdn-init.conf and sets the ptp mode to the corresponding
418 ; configs. For backwards compatibility you can still set ptp here.
425 ; again a context for incoming calls
427 ; msns for te ports, listen on those numbers on the above ports, and
428 ; indicate the incoming calls to asterisk
429 ; here you can give a comma separated list or simply an '*' for
433 ; here an example with given msns