[A*UG] AGI Resources?

Brett Nemeroff brett at nemeroff.com
Tue Mar 7 00:36:10 CST 2006


The call file is a very nice way to do this kind of thing. The only other
way to really do it is with the Manager interface and that's overkill in
my opinion.

Don't bother with AGI unless you have a specific need that really warrants
it. It will drastically impact performance. However, if you are only using
the system for small office kind of applications 10-20 people I wouldn't
worry about it terribly.

BTW, most things you want to do can "probably" be done without AGI. It's a
bad crutch.
-Brett


On Mon, March 6, 2006 10:07 pm, Gil Kloepfer wrote:
> On Mon, Mar 06, 2006 at 08:55:58PM -0600, David Bluestein II wrote:
>> 2) I want my system to call me when it receives a warning notification.
>> Basically, if a condition occurs (e.g. drive is filling up), I want a
>> cron job that will activate a call to my number and tell me so. Is this
>> an AGI type application, or something else?
>
> This is probably most easily done using the /var/spool/asterisk/outgoing
> directory.  A cron job that ran periodically on your system that checked
> disk space could drop a file in that directory that would call you and
> send you to a special "extension" that told you that your disk was low.
>
> The file can be any name, and looks something like:
>
>      Channel: SIP/5551212 at outgoingline
>      Callerid: Disk Space Monitor <1234>
>      Context: default
>      Extension: 1234
>      Priority: 1
>
> This would place a call to 5551212 on SIP device called "outgoingline"
> and when the call is answered it would place a call to extension 1234 in
> context [default] at priority 1 (step 1).  The Callerid tag is there
> in case you were calling an extension within your own PBX, for example,
> so you'd see on the CallerID of the disk monitor when your phone rang.
>
> Hope that helps.  There's probably other ways to do this as well,
> but this is one of the easiest ways.
>
> Gil.
> _______________________________________________
> Austin-Asterisk-Users-Group mailing list
> Austin-Asterisk-Users-Group at bybent.com
> http://buzzard.onr.com/mailman/listinfo/austin-asterisk-users-group
> AAUG Web Site: http://aaug.bybent.com/
>
>




More information about the Austin-Asterisk-Users-Group mailing list