]>
Commit | Line | Data |
---|---|---|
ab426a3e MS |
1 | # |
2 | # This is a sample file that can be dumped in /var/spool/asterisk/outgoing | |
bc29f714 RB |
3 | # to generate a call. For Asterisk to read call files, you must have the |
4 | # pbx_spool.so module loaded. | |
460655f3 RB |
5 | # |
6 | # Comments are indicated by a '#' character that begins a line, or follows | |
7 | # a space or tab character. To be consistent with the configuration files | |
8 | # in Asterisk, comments can also be indicated by a semicolon. However, the | |
085b7a3a | 9 | # multiline comments (;-- --;) used in Asterisk configuration files are not |
460655f3 RB |
10 | # supported. Semicolons can be escaped by a backslash. |
11 | # | |
12 | ||
13 | # Obviously, you MUST specify at least a channel in the same format as you | |
14 | # would for the "Dial" application. Only one channel name is permitted. | |
ab426a3e | 15 | # |
6291cd19 | 16 | Channel: DAHDI/1 |
ab426a3e | 17 | # |
29b1d735 OJ |
18 | # You can specify codecs for the call |
19 | Codecs: alaw, speex, h264 | |
20 | # | |
ab426a3e MS |
21 | # You may also specify a wait time (default is 45 seconds) for how long to |
22 | # wait for the channel to be answered, a retry time (default is 5 mins) | |
23 | # for how soon to retry this call, and a maximum number of retries (default | |
24 | # is 0) for how many times to retry this call. | |
25 | # | |
26 | MaxRetries: 2 | |
27 | RetryTime: 60 | |
28 | WaitTime: 30 | |
29 | ||
30 | # | |
31 | # Once the call is answered, you must provide either an application/data | |
32 | # combination, or a context/extension/priority in which to start the PBX. | |
33 | # | |
34 | Context: default | |
35 | Extension: s | |
36 | Priority: 1 | |
37 | ||
38 | # | |
39 | # Alternatively you can specify just an application | |
40 | # and its arguments to be run, instead of a context | |
41 | # extension and priority | |
42 | # | |
43 | #Application: VoiceMailMain | |
44 | #Data: 1234 | |
45 | ||
46 | # | |
47 | # You can set the callerid that will be used for the outgoing call | |
48 | # | |
49 | #Callerid: Wakeup Call Service <(555) 555-5555> | |
50 | ||
399f78fe RB |
51 | # |
52 | # An account code can be specified the following way: | |
53 | # | |
54 | #Account: mysuperfunaccountcode | |
55 | ||
004885c2 RB |
56 | # |
57 | # Normally, a call file is always deleted after the call is successful | |
58 | # or the maximum number of tries is reached even if the modification | |
59 | # time of the call file was changed during the call to be in the | |
60 | # future. By Setting AlwaysDelete to No the modification time of the | |
61 | # call file will be checked after the call is completed or the maximum | |
62 | # number of retries is reached. If the modification time is in the | |
63 | # future, the call file will not be deleted. | |
64 | # | |
65 | #AlwaysDelete: Yes | |
66 | ||
ab426a3e | 67 | # |
a9c7f50a | 68 | # You can set channel variables that will be passed to the channel. |
399f78fe RB |
69 | # This includes writable dialplan functions. To set a writable dialplan |
70 | # function, the module containing this function *must* be loaded. | |
a9c7f50a RB |
71 | # |
72 | #Set: file1=/tmp/to | |
73 | #Set: file2=/tmp/msg | |
74 | #Set: timestamp=20021023104500 | |
19b2aa26 | 75 | #Set: CDR(userfield,r)=42 |
35d729fb JC |
76 | |
77 | # | |
78 | # Setting Archive to yes the call file is never deleted, but is moved | |
085b7a3a SB |
79 | # in the subdir "outgoing_done" of the spool directory. In this case |
80 | # will be appended a line with "Status: value", where value can be | |
35d729fb JC |
81 | # Completed, Expired or Failed. |
82 | # | |
83 | #Archive: yes |