[asterisk-dev] Placing a new outbound call using C

Steve Edwards asterisk.org at sedwards.com
Thu Mar 8 16:53:31 MST 2007


On Thu, 8 Mar 2007, Joel wrote:

> Steve,
>
> Yes, I'm aware of using a standard .call file, and scheduling by touching it
> to a specific time in the future. Now let's think about writing an app in c.
> Ideally I would just call a C function to place that call instead of writing
> a .call file from my application. Let's keep in mind just how heavy of a
> load I/O can be.

What kind of volume are you anticipating? Is it "peaky" or steady stream?

What I/O load are you concerned with?

My desktop box can create (from a C application) over 10,000 call files 
per second. I'm assuming this is way more than you need :)

The only 2 "triggers" I can think of right now are call files and AMI.

If you want to call a C function to place the call and you don't want 
to do call files, that sounds like AMI.

How about a daemon that sleeps until the next scheduled call and then uses 
AMI? You could use IPC to queue scheduling requests.

How about some more specifics :)

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000


More information about the asterisk-dev mailing list