versatica/JsSIP — pull request #216 by Rob--W (2014-04-21 10:26:58+00:00)
Title: Add missing constant BYE

The "ended" event's event.data.cause was undefined because the `JsSIP.C.causes.BYE` constant was not defined. According to the documentation (http://jssip.net/documentation/devel/api/causes/), BYE is "Terminated", so I've added the missing BYE constant with this value.