Asterisk Call Files

Asterisk call files are structured files which, when moved to the appropriate directory, are able to automatically place calls using Asterisk. Call files are a great way place calls automatically without using more complex Asterisk features like the AGI, AMI, and dialplan, and require very little technical knowledge to use.

General Information

Call files are nothing more than simple text files which contain directives that instruct Asterisk how to place calls and what to do once the call is connected.

Typical Usage

Call files are typically used as parts of larger applications to perform repetitive or timed tasks without going through a great deal of development. As call files are simple to create and automate, they are a popular Asterisk feature, used in many applications (big and small).

Some applications which may use call files:

  • Prank call programs.
  • Wakeup call programs.
  • Telemarketing campaigns.
  • Automatic callback systems.
  • Emergency warning systems.
  • Advanced conferencing applications.


Call files have a very simple, straight forward syntax. Each line contains a directive which Asterisk processes. Each line of a call file should be terminated with a newline character (\n - 0xA ASCII) which conforms to standard UNIX-style newline formatting.


Call files may contain comments. Comments are encouraged in call files to help provide clear explanations to other people who may use / modify the call file in the future. Comments always follow a pound sign (#) or a semi-colon (;) character. All comments are ignored by Asterisk when processing the call file, and have no effect on the call.

See also

  • Asterisk auto-dial out
  • WombatDialer can be used to create dialplan-scripted real-life solutions that hide away the complexities of handling call files directly (rescheduling, using multiple servers etc.)
Created by: comradeb14ck, Last modification: Wed 31 of Oct, 2012 (09:29 UTC) by lenz
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+