You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting "callBack is a required parameter" when trying to create a call. I had just updated the plivo nuget package and this parameter was not required before. There doesnt seem to be any indication of what exactly this parameter is or why its needed in any of the documentation.
This is the call that I am making:
var result = await api.Call.CreateAsync(
to: new List<string> { to },
from: from,
answerMethod: "GET",
answerUrl: answerUrl,
hangupUrl: hangupUrl,
hangupMethod: "GET",
machineDetection: "hangup",
machineDetectionTime: 2000
);
The text was updated successfully, but these errors were encountered:
@enqbator Please use Calls.Create function instead of Calls.CreateAsync.
As you are using Async function for making outbound call, callback_url is mandatory as make call function response will be posted to this url.
For what I am doing, I don't necessarily need the api id or that response though. I get all I need from the answer and hangup callbacks. I would like to take advantage of the c# await/async but not waste the resources getting this message and api id that don't really tell me anything important.
It just doesnt seem like this should be required. In fact, until the recently (after 5.9.0), callBack was not required. I reverted back to 5.9.0 to avoid this error.
I am getting "callBack is a required parameter" when trying to create a call. I had just updated the plivo nuget package and this parameter was not required before. There doesnt seem to be any indication of what exactly this parameter is or why its needed in any of the documentation.
This is the call that I am making:
The text was updated successfully, but these errors were encountered: