Client requests needs to handle multiple responses
Ulexus opened this issue · 1 comments
Ulexus commented
Client requests which do not have complete coordinates (Dialog or App+AsteriskNode), need to wait for responses from all proxies, since they do not know which proxy (if any) a given resource is on.
To do this, we need to:
- maintain the list of proxies
- when a client starts, it should ping for proxies
- clients should have a maintenance thread which listens for, adds, and expires its list of proxies over time
- instead of using
nc.Request
for such queries, use explicitnc.Publish
andnc.Subscribe
operations with an accumulator - filter responses to incomplete-coordinate requests such that failing responses are ignored
Ulexus commented
done