[FRPythoneers] sockserv question
karl at putland.linux-site.net
Sat Mar 15 11:10:09 MST 2003
So I think I want to use sockserv to make a persistent process for an
IVR application for Asterisk (www.asterisk.org). My project is located
A couple of questions.
1. Would it be easy to dispatch a connection to a separate thread in
case thing do block for a while?
* --> script <--> agiserv
script initiates communication then waits for commands.
while something to do:
agiserv issues command and waits for response from script
script returns response
So essentially agiserv ends up being a client of the script. Is this an
appropriate of correct use of sockserv.py?
I'm having a hard time visualizing this so if it's vague I apologize.
Thanks for any advice/pointers.
Karl Putland <karl at putland.linux-site.net>
More information about the FRPythoneers