OutboundCallService

public interface OutboundCallService

Service Interface used to initiate an outgoing (Mobile Terminated) call

Methods

initiateCall

void initiateCall(String configName, Map<String, String> params)

Constructs & executes an HTTP GET request, replacing [xxx] placeholders in the outgoingCallUrl string with their provided values from params and adding the unmatched params to the request.

Parameters:
  • configName – the name of the configuration to use when initiating the call
  • params – the parameters that will be used for building the url, the ones that don’t match the placeholders will be sent as params of the request

initiateCall

void initiateCall(Map<String, String> params)

Gets the defaultConfig and calls the initiateCall method.

Parameters:
  • params – the parameters that will be used for building the url, the ones that don’t match the placeholders will be sent as params of the request
Throws: