On Fri, 18 Feb 2011 07:52:40 -0800 (PST), Steve Edwards <asterisk....@sedwards.com> wrote: >I've never written an AGI in lua, but don't you have to read the AGI >environment (from STDIN) before issuing requests?
Thanks for pointing it out. I forgot to prepend that part to that test script. >Also, you execute your AGI in the 'h' extension. I think once a channel is >hung up, it's state will not change until you reach the end of your >dialplan execution and the channel is destroyed. Mmm... looks like it :-/ >I'm guessing you would have better luck kicking off an external process >that checks the channel status via AMI. Yes, it looks like it's not possible to reuse the FXO from either extensions.conf or through an AGI script. Since the callback must be automated, I guess I'll have to add the script to "at" to schedule the call. Too bad Asterisk doesn't provide a way to reuse a port after calling Hangup(). Thank you. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users