On Thu, 2003-12-11 at 03:39, Alexandru Coseru wrote: > Ok , let me explain it more clearly.. > > I have a message to deliver on someone's phone.. > > Actually , I'm making the call , playing the sound and that's it... > But , if the person is not answering , or the network is busy , etc... , I > have to know it , in order to put the call back to queque and retry > later...(can be 5 minutes , or 5 hours).... > The queque mechanism is implemented in a postgresql database , and some > crons...
If you let asterisk handle the outbound calls, and it went to say a agi app that could do a positive update of your postgres database when answered. This should let you know whether or not you need to remake the call on your next cron job. > ----- Original Message ----- > From: "Steven Critchfield" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, December 11, 2003 11:14 AM > Subject: Re: [Asterisk-Users] Starting an AGI app from cli > > > > Maybe you need to take a step back and describe what you are trying to > > accomplish. If you hit dead ends, there is possibly another whole route > > to solve the problem that doesn't include the dead end. > > > > On Thu, 2003-12-11 at 02:16, Alexandru Coseru wrote: > > > This is great , thanks... > > > > > > One more question... > > > How can I handle the return codes ? I mean , I want to see if the call > was > > > successfull or not... > > > I can call my own application once the call is answered... There is no > way > > > where I can call another application if the call was not answered ? > > > > > > > > > Regards > > > Alex > > > ----- Original Message ----- > > > From: "Steven Critchfield" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Wednesday, December 10, 2003 9:21 PM > > > Subject: Re: [Asterisk-Users] Starting an AGI app from cli > > > > > > > > > > On Wed, 2003-12-10 at 13:11, Alexandru Coseru wrote: > > > > > Hello .... > > > > > > > > > > Maybe it sound pretty easy , but.. > > > > > > > > > > How can I start an application (let's say Dial) from the CLI ? > > > > > > > > > > Actually , I want to make a little script , who connects to asterisk > > > once > > > > > per hour and make a short call.. > > > > > > > > > > Anybody can help me ? > > > > > > > > No need for CLI. Use sample.call dropped into > > > > /var/spool/asterisk/outgoing > > > > -- > > > > Steven Critchfield <[EMAIL PROTECTED]> > > > > > > > > _______________________________________________ > > > > Asterisk-Users mailing list > > > > [EMAIL PROTECTED] > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > [EMAIL PROTECTED] > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > -- > > Steven Critchfield <[EMAIL PROTECTED]> > > > > _______________________________________________ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users -- Steven Critchfield <[EMAIL PROTECTED]> _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
