[Asterisk-Users] stop asterisk when Idle

Elmar Haneke elmar at haneke.de
Thu Nov 17 05:57:59 MST 2005



asterisk at frameweb.it schrieb:
> Is there a way to detect (via batch) if asterisk is idle i.e. is there no
> active channels ? (oh323 show channels via console)

use "asterisk -rx 'show channels'" to execute an console command from 
batch and evaluate the output.

> I need to reboot every day an asterisk box

Is there any reason for rebooting the box eeryday? Usually Linux-Boxes 
can run continously.

Elmar



More information about the asterisk-users mailing list