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 define which bearers should be allowed
173 ; Prefixes for national and international, those are put before the
174 ; oad if an according dialplan is set by the other end.
176 ; default values: nationalprefix : 0
177 ; internationalprefix : 00
180 internationalprefix=00
182 ; set rx/tx gains between -8 and 8 to change the RX/TX Gain
184 ; default values: rxgain: 0
190 ; some telcos especially in NL seem to need this set to yes, also in
191 ; switzerland this seems to be important
200 ; This option defines, if chan_misdn should check the L1 on a PMP
201 ; before making a group call on it. The L1 may go down for PMP Ports
202 ; so we might need this.
203 ; But be aware! a broken or plugged off cable might be used for a group call
204 ; as well, since chan_misdn has no chance to distinguish if the L1 is down
205 ; because of a lost Link or because the Provider shut it down...
213 ; in PMP this option defines which cause should be sent out to
214 ; the 3. caller. chan_misdn does not support callwaiting on TE
215 ; PMP side. This allows to modify the RELEASE_COMPLETE cause
222 ; Send Setup_Acknowledge on incoming calls anyway (instead of PROCEEDING),
223 ; this requests additional Infos, so we can waitfordigits
224 ; without much issues. This works only for PTP Ports
232 ; set this to yes if you want to disconnect calls when a timeout occurs
233 ; for example during the overlapdial phase
237 ; set the method to use for channel selection:
238 ; standard - always choose the first free channel with the lowest number
239 ; round_robin - use the round robin algorithm to select a channel. use this
240 ; if you want to balance your load.
242 ; default value: standard
247 ; specify if chan_misdn should collect digits before going into the
248 ; dialplan, you can choose yes=4 Seconds, no, or specify the amount
249 ; of seconds you need;
254 ; dialplan means Type Of Number in ISDN Terms (for outgoing calls)
256 ; there are different types of the dialplan:
258 ; dialplan -> outgoing Number
259 ; localdialplan -> callerid
260 ; cpndialplan -> connected party number
269 ; This setting is used for outgoing calls
280 ; turn this to no if you don't mind correct handling of Progress Indicators
286 ; turn this on if you like to send Tone Indications to a Incoming
287 ; isdn channel on a TE Port. Rarely used, only if the Telco allows
288 ; you to send indications by yourself, normally the Telco sends the
289 ; indications to the remote party.
293 incoming_early_audio=no
295 ; uncomment the following to get into s extension at extension conf
296 ; there you can use DigitTimeout if you can't or don't want to use
298 ; note: This will jump into the s exten for every exten!
305 ; set this to yes if you want to generate your own dialtone
306 ; with always_immediate=yes, else chan_misdn generates the dialtone
313 ; uncomment the following if you want callers which called exactly the
314 ; base number (so no extension is set) jump to the s extension.
315 ; if the user dials something more it jumps to the correct extension
322 ; uncomment the following to have hold and retrieve support
328 ; Pickup and Callgroup
330 ; default values: not set = 0
338 ; these are the exact isdn screening and presentation indicators
339 ; if -1 is given for both values the presentation indicators are used
340 ; from asterisks SetCallerPres application.
341 ; s=0, p=0 -> callerid presented not screened
342 ; s=1, p=1 -> callerid presented but screened (the remote end does not see it!)
344 ; default values s=-1, p=-1
348 ; this enables echocancellation, with the given number of taps
349 ; be aware, move this setting only to outgoing portgroups!
350 ; A value of zero turns echocancellation off.
352 ; possible values are: 0,32,64,128,256,yes(=128),no(=0)
358 ; Set this to no to disable echotraining. You can enter a number > 10
359 ; the value is a multiple of 0.125 ms.
368 ; chan_misdns jitterbuffer, default 4000
373 ; change this threshold to enable dejitter functionality
375 jitterbuffer_upper_threshold=0
379 ; change this to yes, if you want to bridge a mISDN data channel to
380 ; another channel type or to an application.
386 ; defines the maximum amount of incoming calls per port for
387 ; this group. Calls which exceed the maximum will be marked with
388 ; the channel variable MAX_OVERFLOW. It will contain the amount of
394 ; defines the maximum amount of outgoing calls per port for this group
395 ; exceeding calls will be rejected
400 ; define your ports, e.g. 1,2 (depends on mISDN-driver loading order)
402 ; context where to go to when incoming Call on one of the above ports
407 ; adding the postfix 'ptp' to a port number is obsolete now, chan_misdn
408 ; parses /etc/misdn-init.conf and sets the ptp mode to the corresponding
409 ; configs. For backwards compatibility you can still set ptp here.
416 ; again a context for incoming calls
418 ; msns for te ports, listen on those numbers on the above ports, and
419 ; indicate the incoming calls to asterisk
420 ; here you can give a comma separated list or simply an '*' for
424 ; here an example with given msns