I have tried to run this example from the javascript reference:
The only difference is that I am calling another extension
I am UNABLE to collect ANY data from bridge .. i.e. logAndStopBridge NEVER gets called!!
What AM I doing wrong ?
function logAndStopBridge ( session, type, dtmf, userData) {
console_log("WARNING","Given userData.param of "+(userData && userData.param));
return false;
}
session.answer();
while ( session.ready() ) {
// var mySession = new Session("sofia/sip/mycall@
mydomain.com ");var mySession = new Session("user/1000");
bridge(session, mySession, logAndStopBridge, {param:"under the rock"});
}
____________________________________________________________ _____________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
https://freeswitch.com