Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rayo client expectations on an unexpected Rayo server disconnection event #188

Open
emcgee opened this issue Dec 9, 2013 · 0 comments
Open

Comments

@emcgee
Copy link

emcgee commented Dec 9, 2013

Based on a conversation with @benlangfeld @bklang @crienzo at AhnConf:

If a Rayo server silently dies, Adhearsion will currently continue to run a controller as normal while it attempts to reconnect.

While this may be a desired state in some use cases, it can be problematic when using Adhearsion for state, CDRs, etc...

An alternate routine would be for the corresponding calls associated with that client-server connection to immediately terminate upon loss of connection.

This could be done in a number of ways, but @benlangfeld suggested that the Rayo client might couch this connection loss as a hangup event so all the appropriate post-call routines will run appropriately with no need for additional application logic.

Making the hangup scenario the default for Rayo/Punchblock or a configurable option was also briefly mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant