resolveSipInboundWithHttpInfo method

Future<Response> resolveSipInboundWithHttpInfo(
  1. ResolveSipInboundRequest resolveSipInboundRequest
)

Resolve SIP Inbound Routing

Resolve SIP inbound routing based on trunk number, caller number, and challenge authentication

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> resolveSipInboundWithHttpInfo(
  ResolveSipInboundRequest resolveSipInboundRequest,
) async {
  // ignore: prefer_const_declarations
  final path = r'/video/sip/resolve';

  // ignore: prefer_final_locals
  Object? postBody = resolveSipInboundRequest;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>['application/json'];

  return apiClient.invokeAPI(
    path,
    'POST',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}