FreePBX | Register | Issues | Wiki | Portal | Support

Make a call using asterisk command prompt


(Omarioja) #1

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.


(Lorne Gaetz) #2

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/xxx@from-internal extension *43@from-internal

(Omarioja) #3

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


(Lorne Gaetz) #4
channel originate local/7001@from-internal extension 18765561282@from-internal

(Jared Busch) #5

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

0 10 * * 1-5 /usr/sbin/asterisk -rx "channel originate local/5197@from-internal application playback en/custom/buzzer-1_GJ9hRbVu"

(system) closed #6

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