| 1 |
; |
|---|
| 2 |
; Internet Phone Jack |
|---|
| 3 |
; |
|---|
| 4 |
; Configuration file |
|---|
| 5 |
; |
|---|
| 6 |
[interfaces] |
|---|
| 7 |
; |
|---|
| 8 |
; By default, incoming calls should come in on the "remote" context |
|---|
| 9 |
; |
|---|
| 10 |
context=remote |
|---|
| 11 |
; |
|---|
| 12 |
; Modem Drivers to load |
|---|
| 13 |
; |
|---|
| 14 |
driver=aopen |
|---|
| 15 |
; |
|---|
| 16 |
; Default language |
|---|
| 17 |
; |
|---|
| 18 |
;language=en |
|---|
| 19 |
; |
|---|
| 20 |
; We can optionally override the auto detection. This is necessary |
|---|
| 21 |
; particularly if asterisk does not know about our kind of modem. |
|---|
| 22 |
; |
|---|
| 23 |
;type=autodetect |
|---|
| 24 |
;type=aopen |
|---|
| 25 |
; |
|---|
| 26 |
; We can strip a given number of digits on outgoing dialing, so, for example |
|---|
| 27 |
; you can have it dial "8871042" when given "98871042". |
|---|
| 28 |
; |
|---|
| 29 |
stripmsd=1 |
|---|
| 30 |
; |
|---|
| 31 |
; Type of dialing |
|---|
| 32 |
; |
|---|
| 33 |
dialtype=tone |
|---|
| 34 |
;dialtype=pulse |
|---|
| 35 |
; |
|---|
| 36 |
; Mode selection. "Immediate" means that as soon as you dial, you're connected |
|---|
| 37 |
; and the line is considered up. "Ring" means we wait until the ring cadence |
|---|
| 38 |
; occurs at least once. "Answer" means we wait until the other end picks up. |
|---|
| 39 |
; |
|---|
| 40 |
;mode=answer |
|---|
| 41 |
;mode=ring |
|---|
| 42 |
mode=immediate |
|---|
| 43 |
; |
|---|
| 44 |
; List all devices we can use. |
|---|
| 45 |
; |
|---|
| 46 |
;device => /dev/ttyS3 |
|---|
| 47 |
; |
|---|
| 48 |
; ISDN example |
|---|
| 49 |
; |
|---|
| 50 |
;msn=39907835 |
|---|
| 51 |
;device => /dev/ttyI0 |
|---|
| 52 |
|
|---|
| 53 |
;=============== |
|---|
| 54 |
; More complex ISDN example |
|---|
| 55 |
; |
|---|
| 56 |
; A single device which listens to 3 MSNs |
|---|
| 57 |
; the wildcard '*' can be used when all MSN's should be accepted. |
|---|
| 58 |
; (The incoming number can be used to go directly into the extension |
|---|
| 59 |
; with the matching number. I.e. if MSN 33 is called, (context,33) |
|---|
| 60 |
; will tried first, than (context,s) and finally (default,s). |
|---|
| 61 |
; |
|---|
| 62 |
;msn=50780020 |
|---|
| 63 |
;incomingmsn=50780020,50780021,50780022 |
|---|
| 64 |
;device => /dev/ttyI2 |
|---|
| 65 |
; |
|---|
| 66 |
; two other devices, which are in group '1' and are used when an |
|---|
| 67 |
; outgoing dial used: exten => s,1,Dial,Modem/g1:1234|60|r |
|---|
| 68 |
; (we do not need more outgoing devices, since ISDN2 has only 2 channels.) |
|---|
| 69 |
; Lines can be in more than one group (1-31); comma seperated list. |
|---|
| 70 |
; |
|---|
| 71 |
group=1 ; group=1,2,3,9-12 |
|---|
| 72 |
;msn=50780023 |
|---|
| 73 |
;device => /dev/ttyI3 |
|---|
| 74 |
;device => /dev/ttyI4 |
|---|