9 Jul
2018
9 Jul
'18
8:49 a.m.
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"}); }