In the assignment callback endpoint, i have used instruction => 'conference' to convert all incoming call to conference:
return response()->json(array('instruction' => 'conference', 'call_sid' => $attributes->call_sid, 'from' => $attributes->to, 'timeout' => strval($timeout),
'url' => secure_url('/agent-answer?ReservationSid=' . $reservationSid)));
But now, task router is not able to route the call to different workers, if one worker does not receive the call then the call popup is faded and the screen turns into black. None of the other worker gets the call.
If I use 'instruction' => 'call' then everything works fine. But I need to use conference to handle some other functionality like live listen.
How can I fix the above issue by using 'instruction' => 'conference' in assignment callback endpoint.
Thanks for any help in advance.