How to answer incoming call in browser using javascript and php
问题 connection.on('incoming', function(conn) {}) function not called. I am trying to implement the incoming call in the browser. What I tried is a javascript code var number = $("#number").val(); params = { "PhoneNumber": number, "CallerId": "+13604924000", "AgentName": "Noman Javed", }; Twilio.Device.setup(token); Twilio.Device.ready(function(device) { console.log('Ready'); // --------------------------------------------------- // Explicitly create a new outgoing connection var connection =