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

Moises Silva moises.silva at gmail.com
Thu Mar 8 18:41:31 MST 2007


I think I understand now what you want. You may want to take a look at
pbx/pbx_spool.c , and implement there a list of "struct outgoing"s and
a method to enqueue outgoing calls there for specific times in the
future. So you can use the same thread that scans the .call files to
search in that list and generate the calls.

The important function there is launch_service(struct outgoing* )

Let me know if you have more questions.

Regards

On 3/8/07, Joel <jjshoe at gmail.com> wrote:
> Steve,
>
> It's simple, I want to create a call from C without using ami or .call
> files. That would mean a specific method in the code somewhere for
> initiating calls. I'm not sure how I can break that down for you further.
>
> -J
>
>
> On 3/8/07, Steve Edwards <asterisk.org at sedwards.com> wrote:
> > On Thu, 8 Mar 2007, Joel wrote:
> >
> > > Re-iterating one more time, since it's not clear
> > >
> > > Specifics: Create a call from C without using .call files
> > > Specifics: Create a call from C without using .call files
> > > Specifics: Create a call from C without using .call files
> >
> > Take a breath, I'm getting frustrated too :)
> >
> > Without some specifics, we're not going to be able to help you.
> >
> > If you take away files (call files) and networking (AMI), how can your
> > process commuicate with Asterisk?
> >
> > Give us something to chew on -- describe your application in detail
> > please.
> >
> > Thanks in advance,
> >
> ------------------------------------------------------------------------
> > Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
> > Newline                                             Fax:
> +1-760-731-3000
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>


-- 
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"


More information about the asterisk-dev mailing list