[asterisk-users] Website callback

Mark Hamilton mark.h at cage151.com
Thu Jun 19 07:57:07 CDT 2008


LOL, I agree, it _did_ sound a little complicated than to just schedule a
call in the future. I apologize for not being able to find this on the wiki
earlier when I searched.

The other cron jobs and everything probably bring _something_ to the table.
I wonder what.
Either way, please keep 'em coming boys, and yes I'd like to know the answer
to Tzafrir's question about performance. 

There will probably be 1500 calls that need to be made over a span of 15
hours. Some might happen as a handful, some might not.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Gordon
Henderson
Sent: June 19, 2008 4:22 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Website callback

On Wed, 18 Jun 2008, Mark Hamilton wrote:

> Hi,
>
> I have a website where customers enter their phone numbers to be called.
I'd
> like them to have to put in information and 'schedule' a call.
>
>
> 1)      Call Immediately
>
> 2)      Call in the next _ minutes
>
> 3)      Call me tomorrow, same time.
>
> So, Asterisk will pull two variables from this php websites, $phonenumber
> and $timetocall. $timetocall will need to be calculated as to exactly what
> time Asterisk will need to call.
>
>
>
> Then, Asterisk calls it (by way of call files? Either putting the call
file
> in at the time it needs to be called, or I don't know what else) and then
if
> the call is has a human on it, plays a message saying "We're now
> transferring you to an agent. Please wait." And transfer that call to a
> queue.
>
>
> How can I do this? Is there something prebuilt like this?

Reading the replies so-far... Cron jobs, databases, shell scripts... Ye 
Gods... Try reading the manual (or at least the wiki)

http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out

Scroll down to the bit headed:

   How to schedule a Call in the Future

Assuming you already have some PHP to write the call-file and move it into 
place, inserting a "touch" call after writing the file and moving it into 
place ought to be trivial...

http://uk.php.net/manual/en/function.touch.php

Gordon

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list