nvisibleinc / go-ari-proxy

Asterisk REST Interface proxy system written in Go
Apache License 2.0
31 stars 17 forks source link

When receiving a dialog, the other relevant queues haven't been made yet (RabbitMQ) #21

Open danjenkins opened 8 years ago

danjenkins commented 8 years ago

This means as soon as I get a dialog, I can't just start consuming the queues etc - I have to wait a small period of time - it would be easier if the queues were definitely made before sending the initial dialog to say, YES theres a session

Marquis42 commented 8 years ago

Some further discussion/debugging with @danjenkins on this seems to imply that it's possibly some kind of timing issue or other bug which makes the commands_ queue not be created. At a minimum we can improve this by creating all of the relevant queues before we send the first event.