[asterisk-users] asterisk answering machine

Derek Whitten derek at kfuq.net
Thu Apr 26 05:40:10 MST 2007


Cosmin Prund wrote:
> If you're learning Asterisk right now, you might try using basic
> Dialplan first, so less things may go wrong. There's a dialplan function
> that does what you want:
> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+GotoIfTime
> As for white-listing CallerId's, you may use simple GotoIf's in the
> Dialplan, or you may use an AGI to consult a CallerId database (plain
> text file). 
> 
> On the other hand, if you've got your AGI going, stick to that!
> 
> --
> Cosmin Prund 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Troy Ayers
> Sent: Thursday, April 26, 2007 3:59 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] asterisk answering machine
> 
> I'm learning asterisk, and decided to make myself an answering machine 
> out of it.  Seems pretty straightforward to use an agi (perl) to do what
> 
> I want.
> 
> What I want is:
> Answer the phone.
> check for time of the day
> If TOD is during the time I sleep I announce i'm sleeping & prompt 
> caller to dial1 (or whatever) to connect to my extension & then go to 
> voicemail if busy/una, otherwise go straight to voicemail.if no digit 
> was pressed.
> 
> If TOD is during normal waking hours or caller ID matches whitelisted 
> numbers, just connect to my extension & then go to voicemail if
> busy/una.
> 
> I'm nearly done, but I had a thought: before I re-invent the wheel, does
> 
> anyone know if this has already been done?  My searches only saw basic 
> answering machines examples.
> 
> -Troy
> 
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

http://www.voip-info.org/wiki/view/Asterisk+tips+openhours

http://www.voip-info.org/wiki/view/Asterisk+day+night+mode+example

http://kfuq.net/asterisk/cfgs/extensions.conf.txt


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070426/e673d52c/signature.pgp


More information about the asterisk-users mailing list