michael@202: ; michael@202: ; chan_misdn sample config michael@202: ; michael@202: michael@202: ; general section: michael@202: ; michael@202: ; for debugging and general setup, things that are not bound to port groups michael@202: ; michael@202: michael@202: ;[general] michael@202: ; michael@202: ; Sets the Path to the misdn-init.conf (for nt_ptp mode checking) michael@202: ; michael@202: ;misdn_init=/etc/misdn-init.conf michael@202: michael@202: ; set debugging flag: michael@202: ; 0 - No Debug michael@202: ; 1 - mISDN Messages and * - Messages, and * - State changes michael@202: ; 2 - Messages + Message specific Informations (e.g. bearer capability) michael@202: ; 3 - very Verbose, the above + lots of Driver specific infos michael@202: ; 4 - even more Verbose than 3 michael@202: ; michael@202: ; default value: 0 michael@202: ; michael@202: ;debug=0 michael@202: michael@202: michael@202: michael@202: ; set debugging file and flags for mISDNuser (NT-Stack) michael@202: ; michael@202: ; flags can be or'ed with the following values: michael@202: ; michael@202: ; DBGM_NET 0x00000001 michael@202: ; DBGM_MSG 0x00000002 michael@202: ; DBGM_FSM 0x00000004 michael@202: ; DBGM_TEI 0x00000010 michael@202: ; DBGM_L2 0x00000020 michael@202: ; DBGM_L3 0x00000040 michael@202: ; DBGM_L3DATA 0x00000080 michael@202: ; DBGM_BC 0x00000100 michael@202: ; DBGM_TONE 0x00000200 michael@202: ; DBGM_BCDATA 0x00000400 michael@202: ; DBGM_MAN 0x00001000 michael@202: ; DBGM_APPL 0x00002000 michael@202: ; DBGM_ISDN 0x00004000 michael@202: ; DBGM_SOCK 0x00010000 michael@202: ; DBGM_CONN 0x00020000 michael@202: ; DBGM_CDATA 0x00040000 michael@202: ; DBGM_DDATA 0x00080000 michael@202: ; DBGM_SOUND 0x00100000 michael@202: ; DBGM_SDATA 0x00200000 michael@202: ; DBGM_TOPLEVEL 0x40000000 michael@202: ; DBGM_ALL 0xffffffff michael@202: ; michael@202: michael@202: ;ntdebugflags=0 michael@202: ;ntdebugfile=/var/log/misdn-nt.log michael@202: michael@202: michael@202: ; some pbx systems do cut the L1 for some milliseconds, to avoid michael@202: ; dropping running calls, we can set this flag to yes and tell michael@202: ; mISDNuser not to drop the calls on L2_RELEASE michael@202: ;ntkeepcalls=no michael@202: michael@202: ; the big trace michael@202: ; michael@202: ; default value: [not set] michael@202: ; michael@202: ;tracefile=/var/log/asterisk/misdn.log michael@202: michael@202: michael@202: ; set to yes if you want mISDN_dsp to bridge the calls in HW michael@202: ; michael@202: ; default value: yes michael@202: ; michael@202: ;bridging=no michael@202: michael@202: michael@202: ; michael@202: ; watches the L1s of every port. If one l1 is down it tries to michael@202: ; get it up. The timeout is given in seconds. with 0 as value it michael@202: ; does not watch the l1 at all michael@202: ; michael@202: ; default value: 0 michael@202: ; michael@202: ; this option is only read at loading time of chan_misdn, michael@202: ; which means you need to unload and load chan_misdn to change the michael@202: ; value, an asterisk restart should do the trick michael@202: ; michael@202: ;l1watcher_timeout=0 michael@202: michael@202: ; stops dialtone after getting first digit on nt Port michael@202: ; michael@202: ; default value: yes michael@202: ; michael@202: ;stop_tone_after_first_digit=yes michael@202: michael@202: ; whether to append overlapdialed Digits to Extension or not michael@202: ; michael@202: ; default value: yes michael@202: ; michael@202: ;append_digits2exten=yes michael@202: michael@202: ;;; CRYPTION STUFF michael@202: michael@202: ; Whether to look for dynamic crypting attempt michael@202: ; michael@202: ; default value: no michael@202: ; michael@202: ;dynamic_crypt=no michael@202: michael@202: ; crypt_prefix, what is used for crypting Protocol michael@202: ; michael@202: ; default value: [not set] michael@202: ; michael@202: ;crypt_prefix=** michael@202: michael@202: ; Keys for cryption, you reference them in the dialplan michael@202: ; later also in dynamic encr. michael@202: ; michael@202: ; default value: [not set] michael@202: ; michael@202: ;crypt_keys=test,muh michael@202: michael@202: ; users sections: michael@202: ; michael@202: ; name your sections as you which but not "general" ! michael@202: ; the sections are Groups, you can dial out in extensions.conf michael@202: ; with Dial(mISDN/g:extern/101) where extern is a section name, michael@202: ; chan_misdn tries every port in this section to find a michael@202: ; new free channel michael@202: ; michael@202: michael@202: ; The default section is not a group section, it just contains config elements michael@202: ; which are inherited by group sections. michael@202: ; michael@202: michael@202: ;[default] michael@202: michael@202: ; define your default context here michael@202: ; michael@202: ; default value: default michael@202: ; michael@202: ;context=misdn michael@202: michael@202: ; language michael@202: ; michael@202: ; default value: en michael@202: ; michael@202: ;language=en michael@202: michael@202: ; michael@202: ; sets the musiconhold class michael@202: ; michael@202: ;musicclass=default michael@202: michael@202: ; michael@202: ; Either if we should produce DTMF Tones ourselves michael@202: ; michael@202: ;senddtmf=yes michael@202: michael@202: ; michael@202: ; If we should generate Ringing for chan_sip and others michael@202: ; michael@202: ;far_alerting=no michael@202: michael@202: michael@202: ; michael@202: ; here you can define which bearers should be allowed michael@202: ; michael@202: ;allowed_bearers=all michael@202: michael@202: ; Prefixes for national and international, those are put before the michael@202: ; oad if an according dialplan is set by the other end. michael@202: ; michael@202: ; default values: nationalprefix : 0 michael@202: ; internationalprefix : 00 michael@202: ; michael@202: ;nationalprefix=0 michael@202: ;internationalprefix=00 michael@202: michael@202: ; set rx/tx gains between -8 and 8 to change the RX/TX Gain michael@202: ; michael@202: ; default values: rxgain: 0 michael@202: ; txgain: 0 michael@202: ; michael@202: ;rxgain=0 michael@202: ;txgain=0 michael@202: michael@202: ; some telcos especially in NL seem to need this set to yes, also in michael@202: ; switzerland this seems to be important michael@202: ; michael@202: ; default value: no michael@202: ; michael@202: ;te_choose_channel=no michael@202: michael@202: michael@202: michael@202: ; michael@202: ; This option defines, if chan_misdn should check the L1 on a PMP michael@202: ; before making a group call on it. The L1 may go down for PMP Ports michael@202: ; so we might need this. michael@202: ; But be aware! a broken or plugged off cable might be used for a group call michael@202: ; as well, since chan_misdn has no chance to distinguish if the L1 is down michael@202: ; because of a lost Link or because the Provider shut it down... michael@202: ; michael@202: ; default: no michael@202: ; michael@202: ;pmp_l1_check=no michael@202: michael@202: michael@202: ; michael@202: ; in PMP this option defines which cause should be sent out to michael@202: ; the 3. caller. chan_misdn does not support callwaiting on TE michael@202: ; PMP side. This allows to modify the RELEASE_COMPLETE cause michael@202: ; at least. michael@202: ; michael@202: ;reject_cause=16 michael@202: michael@202: michael@202: ; michael@202: ; Send Setup_Acknowledge on incoming calls anyway (instead of PROCEEDING), michael@202: ; this requests additional Infos, so we can waitfordigits michael@202: ; without much issues. This works only for PTP Ports michael@202: ; michael@202: ; default value: no michael@202: ; michael@202: ;need_more_infos=no michael@202: michael@202: michael@202: ; michael@202: ; set this to yes if you want to disconnect calls when a timeout occurs michael@202: ; for example during the overlapdial phase michael@202: ; michael@202: ;nttimeout=no michael@202: michael@202: ; set the method to use for channel selection: michael@202: ; standard - always choose the first free channel with the lowest number michael@202: ; round_robin - use the round robin algorithm to select a channel. use this michael@202: ; if you want to balance your load. michael@202: ; michael@202: ; default value: standard michael@202: ; michael@202: ;method=standard michael@202: michael@202: michael@202: ; specify if chan_misdn should collect digits before going into the michael@202: ; dialplan, you can choose yes=4 Seconds, no, or specify the amount michael@202: ; of seconds you need; michael@202: ; michael@202: ;overlapdial=yes michael@202: michael@202: ; michael@202: ; dialplan means Type Of Number in ISDN Terms (for outgoing calls) michael@202: ; michael@202: ; there are different types of the dialplan: michael@202: ; michael@202: ; dialplan -> outgoing Number michael@202: ; localdialplan -> callerid michael@202: ; cpndialplan -> connected party number michael@202: ; michael@202: ; dialplan options: michael@202: ; michael@202: ; 0 - unknown michael@202: ; 1 - International michael@202: ; 2 - National michael@202: ; 4 - Subscriber michael@202: ; michael@202: ; This setting is used for outgoing calls michael@202: ; michael@202: ; default value: 0 michael@202: ; michael@202: ;dialplan=0 michael@202: ;localdialplan=0 michael@202: ;cpndialplan=0 michael@202: michael@202: michael@202: michael@202: ; michael@202: ; turn this to no if you don't mind correct handling of Progress Indicators michael@202: ; michael@202: ;early_bconnect=yes michael@202: michael@202: michael@202: ; michael@202: ; turn this on if you like to send Tone Indications to a Incoming michael@202: ; isdn channel on a TE Port. Rarely used, only if the Telco allows michael@202: ; you to send indications by yourself, normally the Telco sends the michael@202: ; indications to the remote party. michael@202: ; michael@202: ; default: no michael@202: ; michael@202: ;incoming_early_audio=no michael@202: michael@202: ; uncomment the following to get into s extension at extension conf michael@202: ; there you can use DigitTimeout if you can't or don't want to use michael@202: ; isdn overlap dial. michael@202: ; note: This will jump into the s exten for every exten! michael@202: ; michael@202: ; default value: no michael@202: ; michael@202: ;always_immediate=no michael@202: michael@202: ; michael@202: ; set this to yes if you want to generate your own dialtone michael@202: ; with always_immediate=yes, else chan_misdn generates the dialtone michael@202: ; michael@202: ; default value: no michael@202: ; michael@202: ;nodialtone=no michael@202: michael@202: michael@202: ; uncomment the following if you want callers which called exactly the michael@202: ; base number (so no extension is set) jump to the s extension. michael@202: ; if the user dials something more it jumps to the correct extension michael@202: ; instead michael@202: ; michael@202: ; default value: no michael@202: ; michael@202: ;immediate=no michael@202: michael@202: ; uncomment the following to have hold and retrieve support michael@202: ; michael@202: ; default value: no michael@202: ; michael@202: ;hold_allowed=yes michael@202: michael@202: ; Pickup and Callgroup michael@202: ; michael@202: ; default values: not set = 0 michael@202: ; range: 0-63 michael@202: ; michael@202: ;callgroup=1 michael@202: ;pickupgroup=1 michael@202: michael@202: michael@202: ; michael@202: ; these are the exact isdn screening and presentation indicators michael@202: ; if -1 is given for both values the presentation indicators are used michael@202: ; from asterisks SetCallerPres application. michael@202: ; s=0, p=0 -> callerid presented not screened michael@202: ; s=1, p=1 -> callerid presented but screened (the remote end does not see it!) michael@202: ; michael@202: ; default values s=-1, p=-1 michael@202: ;presentation=-1 michael@202: ;screen=-1 michael@202: michael@202: ; this enables echocancellation, with the given number of taps michael@202: ; be aware, move this setting only to outgoing portgroups! michael@202: ; A value of zero turns echocancellation off. michael@202: ; michael@202: ; possible values are: 0,32,64,128,256,yes(=128),no(=0) michael@202: ; michael@202: ; default value: no michael@202: ; michael@202: ;echocancel=no michael@202: michael@202: ; Set this to no to disable echotraining. You can enter a number > 10 michael@202: ; the value is a multiple of 0.125 ms. michael@202: ; michael@202: ; default value: no michael@202: ; yes = 2000 michael@202: ; no = 0 michael@202: ; michael@202: ;echotraining=no michael@202: michael@202: ; michael@202: ; chan_misdns jitterbuffer, default 4000 michael@202: ; michael@202: ;jitterbuffer=4000 michael@202: michael@202: ; michael@202: ; change this threshold to enable dejitter functionality michael@202: ; michael@202: ;jitterbuffer_upper_threshold=0 michael@202: michael@202: michael@202: ; michael@202: ; change this to yes, if you want to bridge a mISDN data channel to michael@202: ; another channel type or to an application. michael@202: ; michael@202: ;hdlc=no michael@202: michael@202: michael@202: ; michael@202: ; defines the maximum amount of incoming calls per port for michael@202: ; this group. Calls which exceed the maximum will be marked with michael@202: ; the channel variable MAX_OVERFLOW. It will contain the amount of michael@202: ; overflowed calls michael@202: ; michael@202: ;max_incoming=-1 michael@202: michael@202: ; michael@202: ; defines the maximum amount of outgoing calls per port for this group michael@202: ; exceeding calls will be rejected michael@202: ; michael@202: ;max_outgoing=-1 michael@202: michael@202: ;[intern] michael@202: ; define your ports, e.g. 1,2 (depends on mISDN-driver loading order) michael@202: ;ports=1,2 michael@202: ; context where to go to when incoming Call on one of the above ports michael@202: ;context=Intern michael@202: michael@202: ;[internPP] michael@202: ; michael@202: ; adding the postfix 'ptp' to a port number is obsolete now, chan_misdn michael@202: ; parses /etc/misdn-init.conf and sets the ptp mode to the corresponding michael@202: ; configs. For backwards compatibility you can still set ptp here. michael@202: ; michael@202: ;ports=3 michael@202: michael@202: ;[first_extern] michael@202: ; again port defs michael@202: ;ports=4 michael@202: ; again a context for incoming calls michael@202: ;context=Extern1 michael@202: ; msns for te ports, listen on those numbers on the above ports, and michael@202: ; indicate the incoming calls to asterisk michael@202: ; here you can give a comma separated list or simply an '*' for michael@202: ; any msn. michael@202: ;msns=* michael@202: michael@202: ; here an example with given msns michael@202: ;[second_extern] michael@202: ;ports=5 michael@202: ;context=Extern2 michael@202: ;callerid=15 michael@202: ;msns=102,144,101,104