com.telapi.api.restproxies
Interface CallProxy


public interface CallProxy


Method Summary
 org.jboss.resteasy.client.ClientResponse<Call> hangupCall(String accountSid, String callSid, CallInterruptStatus status)
           
 org.jboss.resteasy.client.ClientResponse<Call> interruptLiveCall(String accountSid, String callSid, String url, HttpMethod method, CallInterruptStatus status)
           
 org.jboss.resteasy.client.ClientResponse<CallList> listCalls(String accountSid, String to, String from, CallStatus status, String startTimeGte, String startTimeLt, Long page, Long pageSize)
           
 org.jboss.resteasy.client.ClientResponse<Call> makeCall(String accountSid, String to, String from, String url, HttpMethod method, String fallbackUrl, HttpMethod fallbackMethod, String statusCallback, HttpMethod StatusCallbackMethod, String heartbeatUrl, HttpMethod heartbeatMethod, String forwardedFrom, String sendDigits, Long timeout, Boolean hideCallerId, Boolean record, String recordCallback, HttpMethod recordCallbackMethod, Boolean transcribe, String transcribeCallback, HttpMethod transcribeCallbackMethod)
           
 org.jboss.resteasy.client.ClientResponse<Call> playAudio(String accountSid, String callSid, String audioUrl, Long length, Legs legs, Boolean loop, Boolean mix)
           
 org.jboss.resteasy.client.ClientResponse<RecordingList> recordCall(String accountSid, String callSid, Boolean record, Long timeLimit, String callbackUrl)
           
 org.jboss.resteasy.client.ClientResponse<Call> sendDigits(String accountSid, String callSid, String playDtfm, Legs dtmfLeg)
           
 org.jboss.resteasy.client.ClientResponse<Call> viewCall(String accountSid, String callSid)
           
 org.jboss.resteasy.client.ClientResponse<Call> voiceEffects(String accountSid, String callSid, AudioDirection audioDirection, Double pitch, Long pitchSemiTones, Long pitchOctaves, Double rate)
           
 

Method Detail

viewCall

org.jboss.resteasy.client.ClientResponse<Call> viewCall(String accountSid,
                                                        String callSid)

listCalls

org.jboss.resteasy.client.ClientResponse<CallList> listCalls(String accountSid,
                                                             String to,
                                                             String from,
                                                             CallStatus status,
                                                             String startTimeGte,
                                                             String startTimeLt,
                                                             Long page,
                                                             Long pageSize)

makeCall

org.jboss.resteasy.client.ClientResponse<Call> makeCall(String accountSid,
                                                        String to,
                                                        String from,
                                                        String url,
                                                        HttpMethod method,
                                                        String fallbackUrl,
                                                        HttpMethod fallbackMethod,
                                                        String statusCallback,
                                                        HttpMethod StatusCallbackMethod,
                                                        String heartbeatUrl,
                                                        HttpMethod heartbeatMethod,
                                                        String forwardedFrom,
                                                        String sendDigits,
                                                        Long timeout,
                                                        Boolean hideCallerId,
                                                        Boolean record,
                                                        String recordCallback,
                                                        HttpMethod recordCallbackMethod,
                                                        Boolean transcribe,
                                                        String transcribeCallback,
                                                        HttpMethod transcribeCallbackMethod)

interruptLiveCall

org.jboss.resteasy.client.ClientResponse<Call> interruptLiveCall(String accountSid,
                                                                 String callSid,
                                                                 String url,
                                                                 HttpMethod method,
                                                                 CallInterruptStatus status)

hangupCall

org.jboss.resteasy.client.ClientResponse<Call> hangupCall(String accountSid,
                                                          String callSid,
                                                          CallInterruptStatus status)

sendDigits

org.jboss.resteasy.client.ClientResponse<Call> sendDigits(String accountSid,
                                                          String callSid,
                                                          String playDtfm,
                                                          Legs dtmfLeg)

playAudio

org.jboss.resteasy.client.ClientResponse<Call> playAudio(String accountSid,
                                                         String callSid,
                                                         String audioUrl,
                                                         Long length,
                                                         Legs legs,
                                                         Boolean loop,
                                                         Boolean mix)

voiceEffects

org.jboss.resteasy.client.ClientResponse<Call> voiceEffects(String accountSid,
                                                            String callSid,
                                                            AudioDirection audioDirection,
                                                            Double pitch,
                                                            Long pitchSemiTones,
                                                            Long pitchOctaves,
                                                            Double rate)

recordCall

org.jboss.resteasy.client.ClientResponse<RecordingList> recordCall(String accountSid,
                                                                   String callSid,
                                                                   Boolean record,
                                                                   Long timeLimit,
                                                                   String callbackUrl)


Copyright © 2012. All Rights Reserved.