[asterisk-dev] Creating a FastAGI equivalent for realtime configs
Alistair Cunningham
acunningham at integrics.com
Mon Nov 9 12:23:06 CST 2009
I'm interesting in having some new code written to create an equivalent
of FastAGI for realtime configuration. This could perhaps be called
"res_config_passthrough.so". The implementation method is not final, but
what I have in mind is:
- When Asterisk starts, the module loads and reads its config file.
- It makes a TCP connection to a server.
- Any time Asterisk has a realtime configuration request, it asks this
module according to extconfig.conf.
- This module sends the request as structured text (simple text fields,
or perhaps XML) to the remote server.
- The server returns an answer as structured text.
- The module returns the data to Asterisk.
- The module leaves the connection open between requests to reduce
connection time on the next request.
- If the connection drops, the module keeps retrying the connection.
Has anyone ever created such a module? Would anyone be interested in
working on this? Is there a better way to implement this?
--
Alistair Cunningham
+1 888 468 3111
+44 20 799 39 799
http://integrics.com/
More information about the asterisk-dev
mailing list