[Asterisk-Users] Background asynchronous AGI

Anton Krall akrall-lists at intruder.com.mx
Wed Apr 26 20:49:22 MST 2006


Deadagi? 

|-----Original Message-----
|From: asterisk-users-bounces at lists.digium.com 
|[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
|Tony Mountifield
|Sent: Tuesday, April 25, 2006 5:17 AM
|To: asterisk-users at lists.digium.com
|Subject: [Asterisk-Users] Background asynchronous AGI
|
|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