Hi!

> This is possible? There are any best way to implement this?

Yes, look at "asterisk -rx <command>"

That command then can be "sip show peers" or "database show sip".

Here is an example of a related CRON job that I use for restart:
# Restart Asterisk PBX once a day to prevent any problems from piling up
10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null 2>&1

Cheers, Philipp


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to