Cookie Preference Centre

Your Privacy
Strictly Necessary Cookies
Performance Cookies
Functional Cookies
Targeting Cookies

Your Privacy

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences, your device or used to make the site work as you expect it to. The information does not usually identify you directly, but it can give you a more personalized web experience. You can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, you should know that blocking some types of cookies may impact your experience on the site and the services we are able to offer.

Strictly Necessary Cookies

These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site may not work then.

Cookies used

Performance Cookies

These cookies allow us to count visits and traffic sources, so we can measure and improve the performance of our site. They help us know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies, we will not know when you have visited our site.

Cookies used

Google Analytics

Functional Cookies

These cookies allow the provision of enhance functionality and personalization, such as videos and live chats. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies, then some or all of these functionalities may not function properly.

Cookies used




Targeting Cookies

These cookies are set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant ads on other sites. They work by uniquely identifying your browser and device. If you do not allow these cookies, you will not experience our targeted advertising across different websites.

Cookies used


This site uses cookies and other tracking technologies to assist with navigation and your ability to provide feedback, analyse your use of our products and services, assist with our promotional and marketing efforts, and provide content from third parties



Upcoming Events







Here are some suggested Connections for you! - Log in to start networking.

Asterisk Tutorial 53 – Asterisk Call Files - pascom - Blog

Asterisk Tutorial 53 – Asterisk Call Files

Now that we’ve finished with Call Detail Records, it is time to start a new topic. That means that over the next couple of tutorials we will be taking a look at Asterisk Call Files – what are they, what do they do and how do we use them?

What are Asterisk Call Files

Asterisk Call Files are structured files which can be used to make automated outbound calls. Once configured, the files contain a set of commands which are then be executed once the file is placed in the correct directory.

Commonly used for administrator alarming notification purposes, Asterisk Call Files provide a simple, easy to use alternative to outbound call automation. Rather than using the Asterisk Manager Interface (AMI) or Asterisk Gateway Interface (AGI), using Call Files provides a less complex method to automate outbound calls. Call Files can also be used to automate batch calling, although it is not recommended as other methods are more effective. This is due to the fact that a single Asterisk Call File can only place one call.

Configuring Asterisk Call Files

When configuring Call Files, it is a good idea to check that the module is loaded. Per default it should have been loaded when you compiled your Asterisk. However, if you are using an older version or you modified the modules loaded during the compilation, then it may not be. Thankfully, it is simple enough to check. Simply enter the Asterisk CLI and use the following command:

module show

This will generate a list of loaded modules, and if you can’t find the then you will need to load it otherwise your Call Files will not work.

Next you will need to create your Asterisk Call File. The file can be named anything you like – we named ours – but you should give yours a name that is comparable to the desired function.

Below you can find a simple call file configuration example which we have “borrowed” from The below configuration will call the channel described, start an application (in this case playback) once the channel is answered and then whatever is configured under data, in this case the file name of the file to playback.

Channel: SIP/trunkname/18882223333 Application: Playback Data: hello-world

Our Call File Configuration

In order to match our setup, we modified the configurations a little. Doing so also illustrated how the channel setting can be used to call any peer and not only the SIP trunk as in example from

Channel: SIP/james Application: Playback Data: tt-monkeys

Mathias’ Top Tip

It is a very good idea to edit and save the file in the Asterisk spool directory (/var/spool/asterisk/outgoing/)once the file is saved Asterisk will read it, perform the commands and then delete the file.

Obviously, this would be a real pain as having done the work to configure the file, you will lose the configurations as soon as they are finished. Therefore, it is advised to save the file elsewhere and then copy it to the spool directory when you need it as shown below:

cp /var/spool/asterisk/outgoing/.

This will copy the file “” to the Asterisk spool directory – don’t forget the fullstop (.) as this tells the command to execute. As soon as it file is copied, Asterisk will then perform the actions detailed within and in our case the monkeys will be played back once the channel is answered.

Another top tip is that by copying the file as opposed to moving it, the file can be reused in the future should you need to.

More Info

pascom are the developers of the enterprise grade mobydick VoIP phone system software. As an open standards IP PBX, mobydick offers a cost effective alternative to proprietary solutions which provides businesses with a fully featured Unified Communications solution to boost productivity, increase mobility and reduce costs.

For more on our mobydick phone system and to arrange a free personalised demo, give us a call on +49 991 29691 200 / +44 203 1379 964 or contact us via our website. Alternatively, take mobydick for a test spin with our free community download and find out how your business can benefit.

Until next time – Happy VoIPing!

Previous Tutorial


Publish Date: June 22, 2016 5:00 AM

2021 Buyers Guide Automated Call Distributors

Call Center Studio

Call Center Studio
Call Center Studio is the world’s first call center built on Google and is one of the most secure and stable systems with some of the industry’s best reporting. It is one of the most full-featured enterprise grade systems (with the most calling features, one of the best call distribution, outbound dialing features and integrations—including IVR, AI Speech Recognition, blended inbound/outbound calling and includes Google’s new Dialogflow and Speech API. Call Center Studio is the absolute easiest to use (with a 10 minute setup), and is the price performance leader with lower equipment cost and less setup time.

Teckinfo Solutions Pvt. Ltd.

InterDialog UCCS
InterDialog UCCS inbound call center software caters to all incoming customer requests. These incoming requests can come through any channel of customer’s choice e.g. voice, video, email, chat, WhatsApp, facebook etc.. company page or from an integrated website chat. Using InterDailog UCCS call centers can respond to inquiries of the customers and they can also register the complaints of customer as a customer support desk.


Voiptime Contact Center
Our contact center solution allows processing the high volume of client requests from different channels (voice, webchat, email, web callbacks), running massive outbound dialing campaigns, and makes all call center operations visible for management. Voiptime Cloud Contact Center is a professional calling solution for outbound and inbound calls. It’s a plug-and-play software that immediately increases the productivity of your call center department. With the help of our solution you are able to:
- Automate lead prospecting and have 4x more live conversations daily;
- Increase the agent occupancy up to 80-90% with the help of the fastest Predictive dialer;
- Smooth out the peaks of calls by...
(read more)

View more from pascom

Recent Blog Posts:
Nexbridge UK SIP Provider pascom InteroperabilityOctober 17, 2017 5:00 AM
What is Unified Communications?September 29, 2017 5:00 AM
pascom 16 Focuses on UCC UXSeptember 26, 2017 5:00 AM
Summer Special: Cloud PBX BundleJuly 17, 2017 5:00 AM
pascom Boosts UC Offering with UK Hosted PBXMay 8, 2017 5:00 AM
pascom Launches UK Hosted PBXMay 5, 2017 5:00 AM
pascom Launch Hosted mobydick Telephony ServiceOctober 4, 2016 5:00 AM
mobydick 7.13 ReleaseSeptember 12, 2016 5:00 AM
Asterisk Tutorial 58 – Asterisk AMI Originate DialJuly 27, 2016 5:00 AM
Asterisk Tutorial 57 – Asterisk AMI Connect & AuthenticateJuly 20, 2016 5:00 AM

New 2021 Membership

About us - in 60 seconds!

Submit Event

Upcoming Events

The place where the world's best meet and share their best practices!

A place for professionals to learn the latest and greatest strategies and ideas and to connect with the elite in the industry. 

This is the highest rated industry event with ... Read More...

Latest Americas Newsletter
both ids empty
session userid =
session UserTempID =
session adminlevel =
session blnTempHelpChatShow =
session cookie set = True
session page-view-total =
session page-view-total =
applicaiton blnAwardsClosed = True
session blnCompletedAwardInterestPopup = False
session blnCheckNewsletterInterestPopup =
session blnCompletedNewsletterInterestPopup =