750ef4ddf7e61d43fa7ca184b61005c425357550
[asterisk/asterisk.git] / sample.call
1 #
2 # This is a sample file that can be dumped in /var/spool/asterisk/outgoing
3 # to generate a call.  
4 #
5 # Comments are indicated by a '#' character that begins a line, or follows
6 # a space or tab character.  To be consistent with the configuration files
7 # in Asterisk, comments can also be indicated by a semicolon.  However, the
8 # multiline comments (;-- --;) used in Asterisk configuration files are not 
9 # supported.  Semicolons can be escaped by a backslash.
10 #
11
12 # Obviously, you MUST specify at least a channel in the same format as you
13 # would for the "Dial" application.  Only one channel name is permitted.
14 #
15 Channel: Zap/1
16 #
17 # You may also specify a wait time (default is 45 seconds) for how long to
18 # wait for the channel to be answered, a retry time (default is 5 mins)
19 # for how soon to retry this call, and a maximum number of retries (default
20 # is 0) for how many times to retry this call.
21 #
22 MaxRetries: 2
23 RetryTime: 60
24 WaitTime: 30
25
26 #
27 # Once the call is answered, you must provide either an application/data
28 # combination, or a context/extension/priority in which to start the PBX.
29 #
30 Context: default
31 Extension: s
32 Priority: 1
33
34 #
35 # Alternatively you can specify just an application
36 # and its arguments to be run, instead of a context
37 # extension and priority
38 #
39 #Application: VoiceMailMain
40 #Data: 1234
41
42 #
43 # You can set the callerid that will be used for the outgoing call
44 #
45 #Callerid: Wakeup Call Service <(555) 555-5555>
46
47 #
48 # You can set channel variables that will be passed to the channel.
49 # This includes writable dialplan functions.
50 #
51 #Set: file1=/tmp/to
52 #Set: file2=/tmp/msg
53 #Set: timestamp=20021023104500
54 #Set: CDR(accountcode|r)=blort
55 #Set: CDR(userfield|r)=42