I'm trying to write a simple FastAGI that takes three variables from the
dialplan, executes a DB query and then sets N variables in the dialplan,
according to the results of the query.
It was quite trivial to write a normal AGI that does this, without using
FastAGI, but being not a Twisted programmer I don't know how to do this using
I understand that getVariable and setVariable return deferreds, and that I
should add callbacks to the deferreds. But.. It simply doesn't work for me.
Can anyone post a small example that will enlighten me? :)
Thanks in advance,
[ Andrea Spadaccini - aka lupino3 - GLUGCT - Catania - IM: lupino3@... ]
[ GPG ID: 5D41ABF0 - key on keyservers - Debian GNU / Linux - Kernel 188.8.131.52 ]
[ Linux Registered User 313388 - a(dot)spadaccini(at)catania(dot)linux(dot)it ]
[ The more space you have, the more junk you'll have. ]