Version 0.3.0 from FTP
[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.  Obviously, you MUST specify at least a channel in
4 # the same format as you would for the "Dial" application.  Only one
5 # channel name is permitted.
6 #
7 Channel: Zap/1
8 #
9 # You may also specify a wait time (default is 45 seconds) for how long to
10 # wait for the channel to be answered, a retry time (default is 5 mins)
11 # for how soon to retry this call, and a maximum number of retries (default
12 # is 0) for how many times to retry this call.
13 #
14 MaxRetries: 2
15 RetryTime: 60
16 WaitTime: 30
17
18 #
19 # Once the call is answered, you must provide either an application/data
20 # combination, or a context/extension/priority in which to start the PBX.
21 #
22 Context: default
23 Extension: s
24 Priority: 1
25
26 #
27 # Alternatively you can specify just an application
28 # and its arguments to be run, instead of a context
29 # extension and priority
30 #
31 #Application: VoiceMailMain
32 #Data: 1234
33
34 #
35 # You can set the callerid that will be used for the outgoing call
36 #
37 #Callerid: Wakeup Call Service <(555) 555-5555>
38
39 #
40 # You can set channel variables that will be passed to the channel
41 #
42 #SetVar: file1=/tmp/to
43 #SetVar: file2=/tmp/msg
44 #SetVar: timestamp=20021023104500