RE: [Asterisk-Users] call files run at certain times

2005-03-29 Thread Anton Krall
: [Asterisk-Users] call files run at certain times Ok, so you have a context: [mycallouts] exten = _X.,1,Answer exten = _X.,2,Background(mycall${EXTEN}) exten = _X.,3,Dial(ZAP/g1/${EXTEN}) and when you do the record you can do [myrecording] exten = 98,1,Answer exten = 98,2,Background

RE: [Asterisk-Users] call files run at certain times

2005-03-29 Thread Anton Krall
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Riddell Sent: Martes, 29 de Marzo de 2005 12:36 a.m. To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] call files run at certain times Ok, so you have a context: [mycallouts] exten

Re: [Asterisk-Users] call files run at certain times

2005-03-29 Thread Matt Riddell
Anton Krall wrote: Matt. I gave your ideas a try and made it work with a twist. Use a macro but... Here is the good part, call the macro from a call file using application, passed parameters like name of the sound file, telephone to call, etc. Voila! Works great! Nice. Thx for the hints Matt.

[Asterisk-Users] call files run at certain times

2005-03-28 Thread Anton Krall
Im checking the wiki for call files info and seems somebody has a wake up script that runs call files at certain times. Do you know if its possible to run a call file by using some other methods different from cron jobs or at? The wiki mentions that it might be possible to do this is you modify

Re: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Steven Critchfield
On Mon, 2005-03-28 at 15:55 -0600, Anton Krall wrote: Im checking the wiki for call files info and seems somebody has a wake up script that runs call files at certain times. Do you know if its possible to run a call file by using some other methods different from cron jobs or at? The wiki

RE: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Anton Krall
-Commercial Discussion Subject: Re: [Asterisk-Users] call files run at certain times On Mon, 2005-03-28 at 15:55 -0600, Anton Krall wrote: Im checking the wiki for call files info and seems somebody has a wake up script that runs call files at certain times. Do you know if its possible to run a call

RE: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Anton Krall
. To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] call files run at certain times On Mon, 2005-03-28 at 15:55 -0600, Anton Krall wrote: Im checking the wiki for call files info and seems somebody has a wake up script that runs call files at certain times

RE: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Steven Critchfield
On Mon, 2005-03-28 at 16:37 -0600, Anton Krall wrote: BTW, can you use the same call file to make 2 calls in order or just 1 call per call file? 1 call per file What I want to do is first make a call to a sip phone and playback some file and then make another call to the same sip phone but

RE: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Anton Krall
Any examples that can do that? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Critchfield Sent: Lunes, 28 de Marzo de 2005 08:13 p.m. To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] call files run

Re: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Matt Riddell
Anton Krall wrote: Any examples that can do that? extensions.conf [mycontext] exten = 801,1,Answer() exten = 801,2,Playback(mysoundfile) exten = 801,3,Dial(Zap/5551234) sample.call Channel: Sip/bob MaxRetries: 2 RetryTime: 60 WaitTime: 30 Context: mycontext Extension: 801 Priority: 1 :) --

RE: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Anton Krall
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Riddell Sent: Lunes, 28 de Marzo de 2005 10:29 p.m. To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] call files run at certain times Anton Krall wrote: Any examples that can do that? extensions.conf

RE: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Steven Critchfield
On Mon, 2005-03-28 at 23:00 -0600, Anton Krall wrote: But this doesn't work in an environment where multiple person are using it.. For example, multiple call files with multiple announcements.. IT can easily enough. Go read about Macros. You will see easily enough how to put both a prerecorded

RE: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Anton Krall
Discussion Subject: RE: [Asterisk-Users] call files run at certain times On Mon, 2005-03-28 at 23:00 -0600, Anton Krall wrote: But this doesn't work in an environment where multiple person are using it.. For example, multiple call files with multiple announcements.. IT can easily enough. Go

Re: [Asterisk-Users] call files run at certain times

2005-03-28 Thread Matt Riddell
Ok, so you have a context: [mycallouts] exten = _X.,1,Answer exten = _X.,2,Background(mycall${EXTEN}) exten = _X.,3,Dial(ZAP/g1/${EXTEN}) and when you do the record you can do [myrecording] exten = 98,1,Answer exten = 98,2,Background(please_enter_99_followed_by_number) exten =