Stefan Wintermeyer wrote: > Hi, > > Am 07.02.2007 um 09:53 schrieb Pierre du Plessis: >> Is there a way to program asterisk to dial an extension Monday to >> Friday at a specific time and then read a specific string? eg: "Kids, >> go to the bus stop now, you're about to miss the bus!" > > Write a cronjob which creates a call file. Shouldn't be a big thing. > > In case you are not familiar with call files: Create a file dummy.call > with the following content. > ---cut--- > Channel: SIP/2000 > MaxRetries: 2 > RetryTime: 60 > WaitTime: 30 > Context: call-file-test > Extension: 10 > ---cut---- > > SIP/2000 being the phone on your desk. > > And add the following context to your dialplan: > ---cut--- > [call-file-test] > exten => 10,1,Answer() > exten => 10,n,Wait(1) > exten => 10,n,Playback(hello-world) > exten => 10,n,Wait(1) > exten => 10,n,Hangup() > ---cut--- > > Move the dummy.call file to /var/spool/asterisk/outgoing/ and wait. > > PS. You can touch a call file to be executed in the future. But I'd > prefer the cronjob. > > Stefan > > -- > amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de > Let's use IT to solve problems and not to create new ones. > Asterisk? -> http://www.das-asterisk-buch.de > > Geschäftsführer: Stefan Wintermeyer > Handelsregister: Neuwied B 14998 > > > _______________________________________________ > --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
You could probably modify wakeup.php http://voip-info.org/wiki/view/Asterisk+tips+Wake-Up+Call+PHP
signature.asc
Description: OpenPGP digital signature
_______________________________________________ --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