public VoiceCallResponseList listAllVoiceCalls ( Integer page , Integer pageSize ) throws GeneralException , UnauthorizedException { String url = String . format ( "%s%s" , VOICE_CALLS_BASE_URL , VOICECALLSPATH ) ; return messageBirdService . requestList ( url , new PagedPaging ( page , pageSize ) , VoiceCallResponseList . class ) ; }
Function to list all voice calls