add ExtenSpy variant of ChanSpy
[asterisk-bristuff.git] / configs / modem.conf.sample
blob4bcd58abb9ad4fd24e82338ace596bfe16950df1
2 ; isdn4linux
4 ; Configuration file
6 [interfaces]
8 ; By default, incoming calls should come in on the "remote" context
10 context=remote
12 ; Modem Drivers to load
14 driver=aopen    ; modem by AOpen
15 ;driver=i4l     ; isdn4linux - an alternative to i4l is to use chan_capi
17 ; Default language
19 ;language=en
21 ; We can optionally override the auto detection.  This is necessary
22 ; particularly if asterisk does not know about our kind of modem.
24 ;type=autodetect
25 ;type=aopen
27 ; We can strip a given number of digits on outgoing dialing, so, for example
28 ; you can have it dial "8871042" when given "98871042".
30 stripmsd=0
32 ; Type of dialing
34 dialtype=tone
35 ;dialtype=pulse
37 ; Mode selection.  "Immediate" means that as soon as you dial, you're connected
38 ; and the line is considered up.  "Ring" means we wait until the ring cadence
39 ; occurs at least once.  "Answer" means we wait until the other end picks up. 
41 ;mode=answer
42 ;mode=ring
43 mode=immediate
45 ; List all devices we can use.
47 ;device => /dev/ttyS3
49 ; ISDN example (using i4l)
51 ;msn=39907835
52 ;device => /dev/ttyI0
54 ;===============
55 ; More complex ISDN example
57 ; A single device which listens to 3 MSNs
58 ; the wildcard '*' can be used when all MSN's should be accepted.
59 ; (The incoming number can be used to go directly into the extension
60 ; with the matching number. I.e. if MSN 33 is called, (context,33)
61 ; will tried first, than (context,s) and finally (default,s).
63 ;msn=50780020
64 ;incomingmsn=50780020,50780021,50780022
65 ;device => /dev/ttyI2
67 ; If set, only these numbers are allowed to be set as A number
68 ; when making an outbound call. callerid is used to set A
69 ; number.
70 ;outgoingmsn=50780023,50780024
73 ; Set DTMF-detection/generation mode to:
74 ;  asterisk: Let Asterisk do inband detection (default)
75 ;  i4l:      Use the inband detection made by ISDN4Linux
76 ;  none:     Don't detect inband DTMF
77 ;  both:     Transmit using both in-band and out of band (generation only)
79 ; You may specify either one mode, or the detection/generation mode
80 ; individually separated by a '/'.
82 ;dtmfmode=asterisk                      ; Detect using Asterisk
83 ;dtmfmode=asterisk/both         ; Detect using Asterisk, generate w/ both
84 ; two other devices, which are in group '1' and are used when an
85 ; outgoing dial used: exten => s,1,Dial,Modem/g1:1234|60|r
86 ; (we do not need more outgoing devices, since ISDN2 has only 2 channels.)
87 ; Lines can be in more than one group (0-63); comma separated list.
89 group=1         ; group=1,2,3,9-12
90 ;msn=50780023
91 ;device => /dev/ttyI3
92 ;device => /dev/ttyI4