Class IvrController


  • @Controller
    public class IvrController
    extends BaseController
    This class is responsible of managing Interactive voice response and receiving manually sent update.
    • Constructor Summary

      Constructors 
      Constructor Description
      IvrController()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void manuallySendVotoCallLog​(VotoResponseDto<VotoCallLogDto> votoResponse)
      Manually send Voto call log to Mots, this should be used only when call log is incorrect and must be manually changed before it can be successfully processed in Mots.
      void saveCallback​(java.lang.String configName, java.util.Map<java.lang.String,​java.lang.String> ivrData)
      It's used to save the callbacks from IVR (the call status).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IvrController

        public IvrController()
    • Method Detail

      • saveCallback

        @RequestMapping(value="/ivrCallback/{configName}",
                        method=POST,
                        consumes="application/x-www-form-urlencoded")
        @ResponseStatus(OK)
        public void saveCallback​(@PathVariable("configName")
                                 java.lang.String configName,
                                 @RequestParam
                                 java.util.Map<java.lang.String,​java.lang.String> ivrData)
        It's used to save the callbacks from IVR (the call status).
        Parameters:
        ivrData - data in form of a map from IVR system callback
        configName - name of the config
      • manuallySendVotoCallLog

        @RequestMapping(value="/votoCallLog/send",
                        method=POST)
        @ResponseStatus(OK)
        public void manuallySendVotoCallLog​(@RequestBody
                                            VotoResponseDto<VotoCallLogDto> votoResponse)
        Manually send Voto call log to Mots, this should be used only when call log is incorrect and must be manually changed before it can be successfully processed in Mots.
        Parameters:
        votoResponse - voto response containing call log