sample.call 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. # Obviously, you MUST specify at least a channel in the same format as you
  12. # would for the "Dial" application. Only one channel name is permitted.
  13. #
  14. Channel: Zap/1
  15. #
  16. # You may also specify a wait time (default is 45 seconds) for how long to
  17. # wait for the channel to be answered, a retry time (default is 5 mins)
  18. # for how soon to retry this call, and a maximum number of retries (default
  19. # is 0) for how many times to retry this call.
  20. #
  21. MaxRetries: 2
  22. RetryTime: 60
  23. WaitTime: 30
  24. #
  25. # Once the call is answered, you must provide either an application/data
  26. # combination, or a context/extension/priority in which to start the PBX.
  27. #
  28. Context: default
  29. Extension: s
  30. Priority: 1
  31. #
  32. # Alternatively you can specify just an application
  33. # and its arguments to be run, instead of a context
  34. # extension and priority
  35. #
  36. #Application: VoiceMailMain
  37. #Data: 1234
  38. #
  39. # You can set the callerid that will be used for the outgoing call
  40. #
  41. #Callerid: Wakeup Call Service <(555) 555-5555>
  42. #
  43. # An account code can be specified the following way:
  44. #
  45. #Account: mysuperfunaccountcode
  46. #
  47. # You can set channel variables that will be passed to the channel.
  48. # This includes writable dialplan functions. To set a writable dialplan
  49. # function, the module containing this function *must* be loaded.
  50. #
  51. #Set: file1=/tmp/to
  52. #Set: file2=/tmp/msg
  53. #Set: timestamp=20021023104500
  54. #Set: CDR(userfield|r)=42