You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm aware of #188, but here the manager connection (and callbacks) run in a single thread, I don't have multiple instances (I'm not even sure what that means).
As a workaround, I don't call SendAction() anymore, but I implemented a second event handler to handle the ExtensionState event, which always comes shortly after AgentCalled event. Then both event handlers have some crude logic to determine they are related, but this is ugly and less reliable.
The text was updated successfully, but these errors were encountered:
If you don't know what it means to have multiple instances, you might want to share you connection and disconnection code too.
There are multiple open issues about TimeoutExceptions being thrown where it makes no sense. Some code to reliably reproducing the issue would help a lot.
Was one other issue where I could reproduce the issue, but that case kinda went nowhere after the reporter didn't reply.
See: #123
I have a program with an
AgentCalled
event handler that needs to check the extension's state.It looks like this:
This always times out, but when I connect to asterisk's manager via telnet I can do this:
I'm aware of #188, but here the manager connection (and callbacks) run in a single thread, I don't have multiple instances (I'm not even sure what that means).
As a workaround, I don't call
SendAction()
anymore, but I implemented a second event handler to handle theExtensionState
event, which always comes shortly afterAgentCalled
event. Then both event handlers have some crude logic to determine they are related, but this is ugly and less reliable.The text was updated successfully, but these errors were encountered: