Tuesday, November 24, 2009

Running System Calls from Asterisk

Example


exten => 5000,1,system(echo "${DATETIME} - ${CALLERID} - ${CHANNEL}" >> /var/log/asterisk/calls)

You can call asterisk through the command line to parse a command via

Example

asterisk -r -x "console dial 5000@context"

No comments:

Post a Comment

Followers