1.1 --- a/asterisk/misdn.conf Sun Mar 20 19:27:35 2011 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,429 +0,0 @@ 1.4 -; 1.5 -; chan_misdn sample config 1.6 -; 1.7 - 1.8 -; general section: 1.9 -; 1.10 -; for debugging and general setup, things that are not bound to port groups 1.11 -; 1.12 - 1.13 -;[general] 1.14 -; 1.15 -; Sets the Path to the misdn-init.conf (for nt_ptp mode checking) 1.16 -; 1.17 -;misdn_init=/etc/misdn-init.conf 1.18 - 1.19 -; set debugging flag: 1.20 -; 0 - No Debug 1.21 -; 1 - mISDN Messages and * - Messages, and * - State changes 1.22 -; 2 - Messages + Message specific Informations (e.g. bearer capability) 1.23 -; 3 - very Verbose, the above + lots of Driver specific infos 1.24 -; 4 - even more Verbose than 3 1.25 -; 1.26 -; default value: 0 1.27 -; 1.28 -;debug=0 1.29 - 1.30 - 1.31 - 1.32 -; set debugging file and flags for mISDNuser (NT-Stack) 1.33 -; 1.34 -; flags can be or'ed with the following values: 1.35 -; 1.36 -; DBGM_NET 0x00000001 1.37 -; DBGM_MSG 0x00000002 1.38 -; DBGM_FSM 0x00000004 1.39 -; DBGM_TEI 0x00000010 1.40 -; DBGM_L2 0x00000020 1.41 -; DBGM_L3 0x00000040 1.42 -; DBGM_L3DATA 0x00000080 1.43 -; DBGM_BC 0x00000100 1.44 -; DBGM_TONE 0x00000200 1.45 -; DBGM_BCDATA 0x00000400 1.46 -; DBGM_MAN 0x00001000 1.47 -; DBGM_APPL 0x00002000 1.48 -; DBGM_ISDN 0x00004000 1.49 -; DBGM_SOCK 0x00010000 1.50 -; DBGM_CONN 0x00020000 1.51 -; DBGM_CDATA 0x00040000 1.52 -; DBGM_DDATA 0x00080000 1.53 -; DBGM_SOUND 0x00100000 1.54 -; DBGM_SDATA 0x00200000 1.55 -; DBGM_TOPLEVEL 0x40000000 1.56 -; DBGM_ALL 0xffffffff 1.57 -; 1.58 - 1.59 -;ntdebugflags=0 1.60 -;ntdebugfile=/var/log/misdn-nt.log 1.61 - 1.62 - 1.63 -; some pbx systems do cut the L1 for some milliseconds, to avoid 1.64 -; dropping running calls, we can set this flag to yes and tell 1.65 -; mISDNuser not to drop the calls on L2_RELEASE 1.66 -;ntkeepcalls=no 1.67 - 1.68 -; the big trace 1.69 -; 1.70 -; default value: [not set] 1.71 -; 1.72 -;tracefile=/var/log/asterisk/misdn.log 1.73 - 1.74 - 1.75 -; set to yes if you want mISDN_dsp to bridge the calls in HW 1.76 -; 1.77 -; default value: yes 1.78 -; 1.79 -;bridging=no 1.80 - 1.81 - 1.82 -; 1.83 -; watches the L1s of every port. If one l1 is down it tries to 1.84 -; get it up. The timeout is given in seconds. with 0 as value it 1.85 -; does not watch the l1 at all 1.86 -; 1.87 -; default value: 0 1.88 -; 1.89 -; this option is only read at loading time of chan_misdn, 1.90 -; which means you need to unload and load chan_misdn to change the 1.91 -; value, an asterisk restart should do the trick 1.92 -; 1.93 -;l1watcher_timeout=0 1.94 - 1.95 -; stops dialtone after getting first digit on nt Port 1.96 -; 1.97 -; default value: yes 1.98 -; 1.99 -;stop_tone_after_first_digit=yes 1.100 - 1.101 -; whether to append overlapdialed Digits to Extension or not 1.102 -; 1.103 -; default value: yes 1.104 -; 1.105 -;append_digits2exten=yes 1.106 - 1.107 -;;; CRYPTION STUFF 1.108 - 1.109 -; Whether to look for dynamic crypting attempt 1.110 -; 1.111 -; default value: no 1.112 -; 1.113 -;dynamic_crypt=no 1.114 - 1.115 -; crypt_prefix, what is used for crypting Protocol 1.116 -; 1.117 -; default value: [not set] 1.118 -; 1.119 -;crypt_prefix=** 1.120 - 1.121 -; Keys for cryption, you reference them in the dialplan 1.122 -; later also in dynamic encr. 1.123 -; 1.124 -; default value: [not set] 1.125 -; 1.126 -;crypt_keys=test,muh 1.127 - 1.128 -; users sections: 1.129 -; 1.130 -; name your sections as you which but not "general" ! 1.131 -; the sections are Groups, you can dial out in extensions.conf 1.132 -; with Dial(mISDN/g:extern/101) where extern is a section name, 1.133 -; chan_misdn tries every port in this section to find a 1.134 -; new free channel 1.135 -; 1.136 - 1.137 -; The default section is not a group section, it just contains config elements 1.138 -; which are inherited by group sections. 1.139 -; 1.140 - 1.141 -;[default] 1.142 - 1.143 -; define your default context here 1.144 -; 1.145 -; default value: default 1.146 -; 1.147 -;context=misdn 1.148 - 1.149 -; language 1.150 -; 1.151 -; default value: en 1.152 -; 1.153 -;language=en 1.154 - 1.155 -; 1.156 -; sets the musiconhold class 1.157 -; 1.158 -;musicclass=default 1.159 - 1.160 -; 1.161 -; Either if we should produce DTMF Tones ourselves 1.162 -; 1.163 -;senddtmf=yes 1.164 - 1.165 -; 1.166 -; If we should generate Ringing for chan_sip and others 1.167 -; 1.168 -;far_alerting=no 1.169 - 1.170 - 1.171 -; 1.172 -; here you can define which bearers should be allowed 1.173 -; 1.174 -;allowed_bearers=all 1.175 - 1.176 -; Prefixes for national and international, those are put before the 1.177 -; oad if an according dialplan is set by the other end. 1.178 -; 1.179 -; default values: nationalprefix : 0 1.180 -; internationalprefix : 00 1.181 -; 1.182 -;nationalprefix=0 1.183 -;internationalprefix=00 1.184 - 1.185 -; set rx/tx gains between -8 and 8 to change the RX/TX Gain 1.186 -; 1.187 -; default values: rxgain: 0 1.188 -; txgain: 0 1.189 -; 1.190 -;rxgain=0 1.191 -;txgain=0 1.192 - 1.193 -; some telcos especially in NL seem to need this set to yes, also in 1.194 -; switzerland this seems to be important 1.195 -; 1.196 -; default value: no 1.197 -; 1.198 -;te_choose_channel=no 1.199 - 1.200 - 1.201 - 1.202 -; 1.203 -; This option defines, if chan_misdn should check the L1 on a PMP 1.204 -; before making a group call on it. The L1 may go down for PMP Ports 1.205 -; so we might need this. 1.206 -; But be aware! a broken or plugged off cable might be used for a group call 1.207 -; as well, since chan_misdn has no chance to distinguish if the L1 is down 1.208 -; because of a lost Link or because the Provider shut it down... 1.209 -; 1.210 -; default: no 1.211 -; 1.212 -;pmp_l1_check=no 1.213 - 1.214 - 1.215 -; 1.216 -; in PMP this option defines which cause should be sent out to 1.217 -; the 3. caller. chan_misdn does not support callwaiting on TE 1.218 -; PMP side. This allows to modify the RELEASE_COMPLETE cause 1.219 -; at least. 1.220 -; 1.221 -;reject_cause=16 1.222 - 1.223 - 1.224 -; 1.225 -; Send Setup_Acknowledge on incoming calls anyway (instead of PROCEEDING), 1.226 -; this requests additional Infos, so we can waitfordigits 1.227 -; without much issues. This works only for PTP Ports 1.228 -; 1.229 -; default value: no 1.230 -; 1.231 -;need_more_infos=no 1.232 - 1.233 - 1.234 -; 1.235 -; set this to yes if you want to disconnect calls when a timeout occurs 1.236 -; for example during the overlapdial phase 1.237 -; 1.238 -;nttimeout=no 1.239 - 1.240 -; set the method to use for channel selection: 1.241 -; standard - always choose the first free channel with the lowest number 1.242 -; round_robin - use the round robin algorithm to select a channel. use this 1.243 -; if you want to balance your load. 1.244 -; 1.245 -; default value: standard 1.246 -; 1.247 -;method=standard 1.248 - 1.249 - 1.250 -; specify if chan_misdn should collect digits before going into the 1.251 -; dialplan, you can choose yes=4 Seconds, no, or specify the amount 1.252 -; of seconds you need; 1.253 -; 1.254 -;overlapdial=yes 1.255 - 1.256 -; 1.257 -; dialplan means Type Of Number in ISDN Terms (for outgoing calls) 1.258 -; 1.259 -; there are different types of the dialplan: 1.260 -; 1.261 -; dialplan -> outgoing Number 1.262 -; localdialplan -> callerid 1.263 -; cpndialplan -> connected party number 1.264 -; 1.265 -; dialplan options: 1.266 -; 1.267 -; 0 - unknown 1.268 -; 1 - International 1.269 -; 2 - National 1.270 -; 4 - Subscriber 1.271 -; 1.272 -; This setting is used for outgoing calls 1.273 -; 1.274 -; default value: 0 1.275 -; 1.276 -;dialplan=0 1.277 -;localdialplan=0 1.278 -;cpndialplan=0 1.279 - 1.280 - 1.281 - 1.282 -; 1.283 -; turn this to no if you don't mind correct handling of Progress Indicators 1.284 -; 1.285 -;early_bconnect=yes 1.286 - 1.287 - 1.288 -; 1.289 -; turn this on if you like to send Tone Indications to a Incoming 1.290 -; isdn channel on a TE Port. Rarely used, only if the Telco allows 1.291 -; you to send indications by yourself, normally the Telco sends the 1.292 -; indications to the remote party. 1.293 -; 1.294 -; default: no 1.295 -; 1.296 -;incoming_early_audio=no 1.297 - 1.298 -; uncomment the following to get into s extension at extension conf 1.299 -; there you can use DigitTimeout if you can't or don't want to use 1.300 -; isdn overlap dial. 1.301 -; note: This will jump into the s exten for every exten! 1.302 -; 1.303 -; default value: no 1.304 -; 1.305 -;always_immediate=no 1.306 - 1.307 -; 1.308 -; set this to yes if you want to generate your own dialtone 1.309 -; with always_immediate=yes, else chan_misdn generates the dialtone 1.310 -; 1.311 -; default value: no 1.312 -; 1.313 -;nodialtone=no 1.314 - 1.315 - 1.316 -; uncomment the following if you want callers which called exactly the 1.317 -; base number (so no extension is set) jump to the s extension. 1.318 -; if the user dials something more it jumps to the correct extension 1.319 -; instead 1.320 -; 1.321 -; default value: no 1.322 -; 1.323 -;immediate=no 1.324 - 1.325 -; uncomment the following to have hold and retrieve support 1.326 -; 1.327 -; default value: no 1.328 -; 1.329 -;hold_allowed=yes 1.330 - 1.331 -; Pickup and Callgroup 1.332 -; 1.333 -; default values: not set = 0 1.334 -; range: 0-63 1.335 -; 1.336 -;callgroup=1 1.337 -;pickupgroup=1 1.338 - 1.339 - 1.340 -; 1.341 -; these are the exact isdn screening and presentation indicators 1.342 -; if -1 is given for both values the presentation indicators are used 1.343 -; from asterisks SetCallerPres application. 1.344 -; s=0, p=0 -> callerid presented not screened 1.345 -; s=1, p=1 -> callerid presented but screened (the remote end does not see it!) 1.346 -; 1.347 -; default values s=-1, p=-1 1.348 -;presentation=-1 1.349 -;screen=-1 1.350 - 1.351 -; this enables echocancellation, with the given number of taps 1.352 -; be aware, move this setting only to outgoing portgroups! 1.353 -; A value of zero turns echocancellation off. 1.354 -; 1.355 -; possible values are: 0,32,64,128,256,yes(=128),no(=0) 1.356 -; 1.357 -; default value: no 1.358 -; 1.359 -;echocancel=no 1.360 - 1.361 -; Set this to no to disable echotraining. You can enter a number > 10 1.362 -; the value is a multiple of 0.125 ms. 1.363 -; 1.364 -; default value: no 1.365 -; yes = 2000 1.366 -; no = 0 1.367 -; 1.368 -;echotraining=no 1.369 - 1.370 -; 1.371 -; chan_misdns jitterbuffer, default 4000 1.372 -; 1.373 -;jitterbuffer=4000 1.374 - 1.375 -; 1.376 -; change this threshold to enable dejitter functionality 1.377 -; 1.378 -;jitterbuffer_upper_threshold=0 1.379 - 1.380 - 1.381 -; 1.382 -; change this to yes, if you want to bridge a mISDN data channel to 1.383 -; another channel type or to an application. 1.384 -; 1.385 -;hdlc=no 1.386 - 1.387 - 1.388 -; 1.389 -; defines the maximum amount of incoming calls per port for 1.390 -; this group. Calls which exceed the maximum will be marked with 1.391 -; the channel variable MAX_OVERFLOW. It will contain the amount of 1.392 -; overflowed calls 1.393 -; 1.394 -;max_incoming=-1 1.395 - 1.396 -; 1.397 -; defines the maximum amount of outgoing calls per port for this group 1.398 -; exceeding calls will be rejected 1.399 -; 1.400 -;max_outgoing=-1 1.401 - 1.402 -;[intern] 1.403 -; define your ports, e.g. 1,2 (depends on mISDN-driver loading order) 1.404 -;ports=1,2 1.405 -; context where to go to when incoming Call on one of the above ports 1.406 -;context=Intern 1.407 - 1.408 -;[internPP] 1.409 -; 1.410 -; adding the postfix 'ptp' to a port number is obsolete now, chan_misdn 1.411 -; parses /etc/misdn-init.conf and sets the ptp mode to the corresponding 1.412 -; configs. For backwards compatibility you can still set ptp here. 1.413 -; 1.414 -;ports=3 1.415 - 1.416 -;[first_extern] 1.417 -; again port defs 1.418 -;ports=4 1.419 -; again a context for incoming calls 1.420 -;context=Extern1 1.421 -; msns for te ports, listen on those numbers on the above ports, and 1.422 -; indicate the incoming calls to asterisk 1.423 -; here you can give a comma separated list or simply an '*' for 1.424 -; any msn. 1.425 -;msns=* 1.426 - 1.427 -; here an example with given msns 1.428 -;[second_extern] 1.429 -;ports=5 1.430 -;context=Extern2 1.431 -;callerid=15 1.432 -;msns=102,144,101,104