[Asterisk-Users] Request for help designing an unusual * application

Adam Goryachev mailinglists at websitemanagers.com.au
Thu Aug 19 20:00:53 MST 2004


On Fri, 2004-08-20 at 09:42, Lee Allen wrote:
> Okay, now my script...
> 
> It creates an outoing call in /var/spool/asterisk/outgoing, pulling
> information from a database (assuming I learn some perl and mysql, or
> something!)
> THAT file (outgoing call queue) would have to...
> - call the given number
> - if it gets an answer, play the recorded message
> - then if it gets a # key just quit
> - otherwise (busy, no answer, no # key) again invoke the (same) script,
> passing an incrementing value so the script knows to try the NEXT
> contact number (until it exhausts all its contact numbers, or someone
> responds with the magic '#' key)
> 
> Does this all sound reasonable?

Simple...

> Do-able?

Easy... :)

> Is there a much easier way to accomplish it?

Don't create it as an asterisk app, create it as an AGI...

The .call file makes asterisk place a call to your AGI script, then your
AGI script makes whatever calls it needs to, playing various prompts,
receiving DTMF answers, and so on, until it has successfully delivered
the message, or given up.... It could even, as a last resort, send a few
SMS messages, and then email messages before totally giving up.

Regards,
Adam




More information about the asterisk-users mailing list