Reputation: 11
I am not able to get status callback from conference
I use:
Call flow looks as follows:
Inbound Call -> IVR -> enqueue Worker (Conference) -> Connect task to relative worker using JS SDK (client:support)
Usually i add statusCallback parameter to $dial->conference class but unfortunately I can't apply same method to this specific use case since conference is auto generated from enqueue class and enqueue doesn't have any callbacks.
what can be done to retrieve conference SID?
Upvotes: 1
Views: 333
Reputation: 73075
Twilio developer evangelist here.
I think you're saying that you connect your worker to the call using the JS SDK and the reservation.conference
function.
If that is the case, then you can set a status callback URL in that function. The final argument to reservation.conference
is an object of options and you can include the property ConferenceStatusCallback
, like this:
var options = {
"ConferenceStatusCallback": "https://requestb.in/wzfljiwz"
}
reservation.conference(null, null, null, null, null, options);
That will send conference events to the URL you provide.
Upvotes: 0
Reputation: 10791
One way is to search for it using:
Read the conferences named MyRoom
that are in progress
Upvotes: 0