You are on page 1of 1

Restarting Asterisk via Dial Number Restarting or resetting the Asterisk-based IP-PBX requires that the operator con

nects via SSH to the device and issue the "restart now" command, or via the Free PBX web interface via the System-->System Maint page. How about restarting the server by dialing an extension? Solution: Add a new Dialplan command to enable the server to be restarted by calling an Ex tension number. Step-by-steps procedure below: Open the Free-PBX interface (http://x.x.x.x/maint) and login using the username and appropriate password. Go to PBX-->Config File Editor Click and edit the extensions_custom.conf file to edit and add the following dia plan below the [from-internal-custom] context: ; dial exten exten exten exten exten 770 = Restart Asterisk Number => 770,1,Authenticate(0000,) ;PIN => 770,2,Playback(restarting) ; "Restarting asterisk" => 770,3,Wait(1) => 770,4,System(/usr/sbin/asterisk -rx "restart now") => 770,5,Hangup

Click on Submit and reboot the IP-PBX for the changes to be committed.

You might also like