Documentation: https://www.twilio.com/docs/flex/developer/ui/manager On Connect Flex.Manager.getInstance().voiceClient.on(‘connect’, () => { console.log(‘connect’); }); Action inside reservation Flex.Manager.getInstance().workerClient.on(“reservationCreated”, reservation => { if (reservation.task.taskChannelUniqueName ===
Month: June 2021
Twilio Flex Plugin
# create new plugin state-warning twilio flex:plugins:create plugin-state-warning –install To login to Flex, first login to Twilio console, select the
VS Code notes
To view Json: Shift+Alt+F will format the json document To set up debugger: Go to run view create launch.json. Edit
Laravel Job and Queue
To place job on the queue using tinker: use Illuminate\Contracts\Bus\Dispatcher; //for command app(Dispatcher::class)->dispatch($command); //for job app(Dispatcher::class)->dispatch(new App\Jobs\TestJob); //or $pending =