[Asterisk-Users] Controlling SIP mobile extensions.

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Wed Jun 2 07:14:50 MST 2004


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





More information about the asterisk-users mailing list