user3185826 user3185826 - 9 months ago 60
Linux Question

Run an Asterisk command ON Asterisk startup

I'd like to run an asterisk command once asterisk is up and running and loaded all modules.

Any advice please?

Answer Source

1) When asterisk fully booted it issue FULLY BOOTED event via AMI.

2) You have special CLI command for that,which will wait if not compleated boot.

[]# asterisk -rx "core waitfullybooted"
Asterisk has fully booted.