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

Steve Edwards asterisk.org at sedwards.com
Thu Mar 8 17:45:11 MST 2007


On Thu, 8 Mar 2007, Joel wrote:

> Compared to calling a function in C there is a significant time difference
> that is only further amplified by scheduling lots of calls in advance.
>
> Anyways, to make it perfectly clear, as the subject states, I want to do
> this using pure c.

If you don't consider "fopen/fputs/fclose" to be "pure c," then you 
probably don't consider "socket/connect/read/write/ipc" to be pure either. 
Without any of those, your ability to communicate with another process is 
going to be tough.

Remember, C only has a hand full of reserved words -- ok 30*, I have big 
hands :) Everything else is somebody's library.

Walk us through what you are trying to accomplish so we can give you more 
relevant suggestions.

*) Harbison & Steele, "C A Reference Manual" 3E, page 16.

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