|
| 1 | +; res_smdr_whozz.conf - SMDR for "WHOZZ Calling?" call accounting devices |
| 2 | + |
| 3 | +; TIPS: Both serial and parallel wiring of the phone line to your WHOZZ Calling? device are supported. |
| 4 | +; It is recommended that you wire in parallel if possible to avoid putting the unit in the voice path. |
| 5 | +; Additionally, please note that the WHOZZ Calling? units do NOT support pulse dialing, |
| 6 | +; and pulse-to-tone converters may degrade the quality of the voice path. You may wish |
| 7 | +; to drive a slave / follower line to follow hook state changes and receive dialed digits (but not audio) |
| 8 | +; and connect that to the unit instead. |
| 9 | +; As always, USE AT YOUR OWN RISK. |
| 10 | + |
| 11 | +;[general] |
| 12 | +;device=/dev/ttyS0 ; Device name of serial port to which WHOZZ Calling? unit is connected (9600/N/1) |
| 13 | + |
| 14 | +;[line-1] |
| 15 | +;line = 1 ; Line number as configured on WHOZZ Calling? unit. |
| 16 | +;device=DAHDI/1 ; Optional. Device name of associated FXO port connected to this same line. |
| 17 | + ; If configured, if calls are made using this device, they will be ignored by this module. |
| 18 | + ; This allows this module to create CDRs for calls made directly on a phone line connected |
| 19 | + ; to an Asterisk FXO port, when the call was NOT made through Asterisk, |
| 20 | + ; but allows Asterisk to create the CDR record if the call was made through Asterisk. |
| 21 | + ; This avoids duplicate CDR records for the same call. |
| 22 | +; Optional variables to set, for example, for outgoing calls, you could do a lookup to determine if a call is local, long distance, etc. based on dialed number. |
| 23 | +;setvar=CDR(trunkgrp)=pots-1 |
| 24 | +;setvar=CDR(direction)=${WHOZZ_DIRECTION} |
| 25 | +;setvar=CDR(line)=${WHOZZ_LINE} |
| 26 | +;setvar=CHANNEL(amaflags)=BILLING |
| 27 | + |
| 28 | +;[line-2] |
| 29 | +;line = 2 |
0 commit comments