I need to build a proof of concept python multithreaded application that will connect to one or multiple Asterisk servers using AMI protocol (preferably using a library) and trigger a callback function when receiving events. At the same time, one or multiple clients can connect to this python application using a predefined port (like 5039) and using the AMI protocol receive the events from the asterisk servers and send commands to one or multiple clients. Each connection to the Asterisk servers needs to be a thread and each connection from the clients needs to be a thread. Data must be passed between the threads. When the connection to the asterisk manager dies or is interrupted, it needs to be reconnected. When the connection from the client dies, the thread can die. Python version up to 3.6.
I an a well trained software devolper so you can handle your proposal to me without any tention . Your all queries will be solved heartly