[Asterisk-Users] Background asynchronous AGI

random cluster ramcluster at gmail.com
Tue Apr 25 03:44:12 MST 2006


Hi Tony

       I have the same problem you have, i think what would you like
to do (as me), is to update in a realtime basis credit for prepaid
customer, look what I posted today,
 its from ramcluster and the threat is billing realtime, this is what
i discover right now.

  Hope it help you


2006/4/25, Tony Mountifield <tony at softins.clara.co.uk>:
> I have been writing a lot of AGI programs in C with good success.
> I would like somehow to have an AGI program continue in the background
> while the pbx execution returns to the dialplan and continues. Is this
> possible? I was thinking that perhaps I could fork or create another
> thread within the AGI prog.
>
> The reason I want to do so is in order to monitor external information
> (e.g. credit limit and realtime cost of the current call) and then
> perhaps hang up the call, transfer it or play an announcement to it.
>
> I'm aware I could do this with a separate control program using the
> Manager API, but I like the idea of it being done per-call on demand
> using AGI if possible.
>
> Can anyone suggest any ideas or better techniques?
>
> Thanks in advance!
> Tony
> --
> Tony Mountifield
> Work: tony at softins.co.uk - http://www.softins.co.uk
> Play: tony at mountifield.org - http://tony.mountifield.org
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> 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