[asterisk-users] RES: How to invoke a binary file from the dial plan?

Kevin Larsen kevin.larsen at pioneerballoon.com
Tue Jun 2 15:50:38 CDT 2015


> Ok. Thanks for the hint.
> 
> But, what exactly is a "System() dialplan application"? Is it a kind
> of command that i can call in dial plan? 
> 
> I will look for System() related to dial plans.

>From the Asterisk CLI type:
core show application System

It will print out the syntax for the command. One of the easier dialplan 
applications. 

exten => 1234,1,System(echo "This is a test" >> 
/var/log/asterisk/test.txt)

That line would use the Linux echo command to place the text "This is a 
test" into a file named test.txt located in the /var/log/asterisk 
directory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150602/f889622f/attachment.html>


More information about the asterisk-users mailing list