user3185826 user3185826 - 1 year ago 103
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.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download