mozilla/talkilla — pull request #178 by Standard8 (2013-07-24 22:12:41+00:00)
Title: Refactor timeout and outgoing sound handling into the call establish view

Timing out on a call establishment attempt could be considered as a result of a user action, and hence the control of that should be part of a view, rather than a model.

The outgoing sound handling is also really a UI "display" option, rather than something the chat app should handle.

Therefore, I think it makes sense to move both of these to the call establish view.

The advantage with doing this now, is that it simplifies the handling of the timeout related actions into one place - the view. This in turn will make it easier to alter the surrounding code to not close the window on timeout but to handle other actions.

This is part of https://trello.com/c/PtZCyqN4/168-2-as-a-caller-i-know-that-my-call-has-not-been-answered