com.hoiio.sdk.services
Class CallService

java.lang.Object
  extended by com.hoiio.sdk.services.HttpService
      extended by com.hoiio.sdk.services.CallService

public class CallService
extends HttpService


Constructor Summary
CallService()
           
 
Method Summary
static Map<String,Object> call(String appId, String accessToken, String dest1, String dest2, String callerId, String tag, String notifyUrl)
           
static Map<String,Object> conference(String appId, String accessToken, String dest, String room, String callerId, String tag, String notifyUrl)
           
static Map<String,Object> getHistory(String appId, String accessToken, Date from, Date to, Integer page)
           
static Map<String,Object> getRate(String appId, String accessToken, String dest1, String dest2)
           
static Map<String,Object> hangup(String appId, String accessToken, String txnRef)
           
static Map<String,Object> queryStatus(String appId, String accessToken, String txnRef)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallService

public CallService()
Method Detail

call

public static Map<String,Object> call(String appId,
                                      String accessToken,
                                      String dest1,
                                      String dest2,
                                      String callerId,
                                      String tag,
                                      String notifyUrl)
                               throws HoiioException
Throws:
HoiioException

getRate

public static Map<String,Object> getRate(String appId,
                                         String accessToken,
                                         String dest1,
                                         String dest2)
                                  throws HoiioException
Throws:
HoiioException

queryStatus

public static Map<String,Object> queryStatus(String appId,
                                             String accessToken,
                                             String txnRef)
                                      throws HoiioException
Throws:
HoiioException

getHistory

public static Map<String,Object> getHistory(String appId,
                                            String accessToken,
                                            Date from,
                                            Date to,
                                            Integer page)
                                     throws HoiioException
Throws:
HoiioException

conference

public static Map<String,Object> conference(String appId,
                                            String accessToken,
                                            String dest,
                                            String room,
                                            String callerId,
                                            String tag,
                                            String notifyUrl)
                                     throws HoiioException
Throws:
HoiioException

hangup

public static Map<String,Object> hangup(String appId,
                                        String accessToken,
                                        String txnRef)
                                 throws HoiioException
Throws:
HoiioException