/ added extra options to callerid variable
[asterisk/asterisk.git] / configs / vpb.conf.sample
index 9772dcb..029b7f4 100755 (executable)
@@ -1,24 +1,84 @@
 ; V6PCI/V12PCI config file for VoiceTronix Hardware
 ; Options
+; For [general] section
+; type = v12pci|v6pci|v4pci
+; cards = number of cards
+; For [interface] section
 ; board = board_number (1, 2, 3, ...)
 ; channel = channel_number (1,2,3...)
 ; mode = fxo|immediate|dialtone -- for type of line and line handling
 ; context = starting context
+; echocancel = on|off (on by default of v4pci, off by default for others)
+; callerid = on|off|v23|bell (on => to collect caller ID if available between 1st/2nd rings using vpb functions)
+;                            (v23|bell => collect caller ID using asterisk functions)
+; UseLoopDrop = 0|1 (enables the use of Loop Drop detection, on by default in
+;                    some cases spurious loop-drops can cause unexpected 
+;                    hangup detection)
 ; 
+; Gain settings
+; txgain  => Transmit Software Gain (-12 => 12)
+; rxgain  => Receive Software Gain (-12 => 12)
+; txhwgain => Transmit hardware gain (-12 => 12)
+; rxhwgain => Receive Hardware gain (-12 => 12)
+;
+; These are advanced settings and only mentioned for fullnes.
+; bal1  => Hybrid balance codec register 1
+; bal2  => Hybrid balance codec register 2
+; bal3  => Hybrid balance codec register 3
+;
+; Dial translations - if you want a pause or hook-flash in your dial string
+; you can use "w" for pause (wait) or "f" for "hook-flash", eg:
+; exten => _9XXX,1,Dial(vpb/g1/ww${EXTEN:${TRUNKMSD}})
+;
+;
+
+[general]
+type = v12pci
+;type = v6pci
+;type = v4pci
+cards = 1
 
 [interfaces]
 
-echocancel = on
 board = 1
+echocancel = on
 
-context = vpbtest
 
-; Note that V6PCI channel numbers start at 7!
+; For OpenLine4 cards
+;context = demo
+;mode = fxo
+;channel = 1
+;channel = 2
+;channel = 3
+;channel = 4
+
+; For OpenSwith12 with jumpers at factory default
+context = demo
 mode = fxo
+channel = 9
+channel = 10
+channel = 11
+channel = 12
+
+context = local
+mode = dialtone
+channel = 1
+channel = 2
+channel = 3
+channel = 4
+channel = 5
+channel = 6
+channel = 7
+channel = 8
+;
+; For OpenSwitch6
+; Note that V6PCI channel numbers start at 7!
+;context = demo
+;mode = fxo
 ;channel = 7
 ;channel = 8
 
-mode = dialtone
+;mode = dialtone
 ;channel = 9
 ;channel = 10
 ;channel = 11