misdn.conf.sample 5.7 KB

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