sample.call 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #
  2. # This is a sample file that can be dumped in /var/spool/asterisk/outgoing
  3. # to generate a call. For Asterisk to read call files, you must have the
  4. # pbx_spool.so module loaded.
  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
  9. # multiline comments (;-- --;) used in Asterisk configuration files are not
  10. # supported. Semicolons can be escaped by a backslash.
  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: DAHDI/1
  16. #
  17. # You can specify codecs for the call
  18. Codecs: alaw, speex, h264
  19. #
  20. # You may also specify a wait time (default is 45 seconds) for how long to
  21. # wait for the channel to be answered, a retry time (default is 5 mins)
  22. # for how soon to retry this call, and a maximum number of retries (default
  23. # is 0) for how many times to retry this call.
  24. #
  25. MaxRetries: 2
  26. RetryTime: 60
  27. WaitTime: 30
  28. #
  29. # Once the call is answered, you must provide either an application/data
  30. # combination, or a context/extension/priority in which to start the PBX.
  31. #
  32. Context: default
  33. Extension: s
  34. Priority: 1
  35. #
  36. # Alternatively you can specify just an application
  37. # and its arguments to be run, instead of a context
  38. # extension and priority
  39. #
  40. #Application: VoiceMailMain
  41. #Data: 1234
  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. # An account code can be specified the following way:
  48. #
  49. #Account: mysuperfunaccountcode
  50. #
  51. # Normally, a call file is always deleted after the call is successful
  52. # or the maximum number of tries is reached even if the modification
  53. # time of the call file was changed during the call to be in the
  54. # future. By Setting AlwaysDelete to No the modification time of the
  55. # call file will be checked after the call is completed or the maximum
  56. # number of retries is reached. If the modification time is in the
  57. # future, the call file will not be deleted.
  58. #
  59. #AlwaysDelete: Yes
  60. #
  61. # You can set channel variables that will be passed to the channel.
  62. # This includes writable dialplan functions. To set a writable dialplan
  63. # function, the module containing this function *must* be loaded.
  64. #
  65. #Set: file1=/tmp/to
  66. #Set: file2=/tmp/msg
  67. #Set: timestamp=20021023104500
  68. #Set: CDR(userfield,r)=42
  69. #
  70. # Setting Archive to yes the call file is never deleted, but is moved
  71. # in the subdir "outgoing_done" of the spool directory. In this case
  72. # will be appended a line with "Status: value", where value can be
  73. # Completed, Expired or Failed.
  74. #
  75. #Archive: yes