[Freeswitch-users] Javascript new session changes

Matt Broad matt at inveroak.com
Wed Sep 17 17:58:26 MSD 2014


Hi,

just wondering if anyone knows of any changes to the javascript session 
object between version 1.2 and 1.4?
When using version 1.2 and creating a new session using the below code:

var new_session = new session(dialstring, session);

If the call failed to answer or the user was busy, the 
new_session.causecode would be set to 17 or 19 respectively.

Now after upgrading to 1.4 the causecode is set to false.

I can make a work around by using the originateCause and determine the 
relevant code (https://wiki.freeswitch.org/wiki/Hangup_Causes), nut 
wondered if this effected anyone else.

thanks
Matt




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list