versatica/JsSIP — pull request #232 by mEkblom (2014-07-07 15:15:22+00:00)
Title: More reliable incoming call answered by media type

This is a solution for issue #221.

Incoming calls:
1. Are answered with same media as incoming if not specified
2. Respect media setting in case they are set
3. Works in Firefox

Incoming media is determined by the incoming offer SDP which is more reliable than relying on the actual RTP stream which may not have begun to flow (this failed in FF).