ilya-savichev

Results 7 comments of ilya-savichev

> The events don't go to the response, you need to add a listener to collect them > > This is the response: > > ``` > Response: Success >...

Work! but after a minute of work, freepbx (DOWN) freezes, . although I filter events. how can I get a QueueStatus response?, because here I get queue joining events, and...

> try something like that: > > ```python > def event_listener(event): > print(event) > > # add the event listener before send the action > client.add_event_listener(event_listener) > > future =...

> But this time you sent the action twice, in the lines 27 and 34 Try to add the listener before the line 27 I added 2 times to show...

![image](https://user-images.githubusercontent.com/16954690/172646861-2fc48709-f968-4691-8591-ccc54c55e579.png) I already tried to connect to another PBX, the result is the same. in the example where everything is read from the ATs port, for some reason it freezes...

![image](https://user-images.githubusercontent.com/16954690/172648500-dfdf4f81-d1ee-4249-8962-de0a265cc2c3.png)

> The response returns before the events, so it really can happen, maybe your process was closed before receiving the events In your example that worked you did a `while`...