[Asterisk-Users] Resetting Asterisk

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Mon Apr 26 13:24:53 MST 2004


> Use System command in extensions.conf, or use AGI to do this.

>     Is there a was to reset asterisk by dialing? Eg *99 and have it execute 
>     the commands to stop now and restart? 

Example:
exten => 123,1,System(/usr/sbin/asterisk -rx reload >&/dev/null)

Be warned: Don't reload to often, Asterisk is very likely to become 
unstable. Make sure you have a daily CRON "restart" (or "restart when 
convenient") if you do daily "reloads".

Cheers, Philipp





More information about the asterisk-users mailing list