Make a call using asterisk command prompt

Good day all, is there a way on free PBX to make a call or send a voice message from the command prompt. Could someone point me to a working example.

Thanks.

This will bridge a call between a local extension (xxx) and the echo test. You can change the dial values to suit.

channel originate local/[email protected] extension *[email protected]
1 Like

what if my extenion is 7001 and i want to call this number ( 1-876-556-1282 ) and play / send a voice note?

channel originate local/[email protected] extension [email protected]
2 Likes

I do this in a cron to play a lunch/break buzzer.

0 10 * * 1-5 /usr/sbin/asterisk -rx "channel originate local/[email protected] application playback en/custom/buzzer-1_GJ9hRbVu"
4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.