php - twilio javascript api through get call sid is that possible? -



php - twilio javascript api through get call sid is that possible? -

i have trying found phone call javascript client:

function call() { // phone number or client connect phone call params = {"phonenumber": $("#number").val()}; twilio.device.connect(params); }

in incoming phone call api got phone call sid

twilio.device.incoming(function (conn) { alert(conn.parameters.callsid); });

and outgoing phone call api not phone call sid:

twilio.device.connect(function (conn) { alert(conn.parameters.callsid); // not working undefine $("#log").text("successfully established call"); });

how phone call sid when twilio device connect call(outgoing call)

thanks

i have asked twilio exact same question, , reply got don't on client. on server side outgoing phone call in query params voice request url.

javascript php jquery twilio twiml

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -