Examples of textToAudioFile()


Examples of org.mobicents.slee.resource.tts.ratype.TTSSession.textToAudioFile()

    stringBuffer.append(event.getCustomerName());
    stringBuffer.append(" has placed an order of $");
    stringBuffer.append(event.getAmmount());
    stringBuffer.append(". Press 1 to approve and 2 to reject.");

    ttsSession.textToAudioFile(stringBuffer.toString());
    this.setSfDemo(true);
    this.setSendBye(false);
    makeCall();

  }
View Full Code Here

Examples of org.mobicents.slee.resource.tts.ratype.TTSSession.textToAudioFile()

    stringBuffer.append(event.getCustomerName());
    stringBuffer.append(" has placed an order of $");
    stringBuffer.append(event.getAmmount());
    stringBuffer.append(". Press 1 to approve and 2 to reject.");

    ttsSession.textToAudioFile(stringBuffer.toString());

    setTimer(ac);
  }

  public void onTimerEvent(TimerEvent event, ActivityContextInterface aci) {
View Full Code Here

Examples of org.mobicents.slee.resource.tts.ratype.TTSSession.textToAudioFile()

    stringBuffer.append(event.getCustomerName());
    stringBuffer.append(". You have placed an order of $");
    stringBuffer.append(event.getAmmount());
    stringBuffer.append(". Press 1 to confirm and 2 to decline.");

    ttsSession.textToAudioFile(stringBuffer.toString());

    try {
      // Set the caller address to the address of our call controller
      Address callerAddress = getSipUtils()
          .convertURIToAddress(callerSip);
View Full Code Here

Examples of org.mobicents.slee.resource.tts.ratype.TTSSession.textToAudioFile()

    stringBuffer.append(orderDate.getHours());
    stringBuffer.append(" hour and ");
    stringBuffer.append(orderDate.getMinutes());
    stringBuffer.append(" minute. Thank you. Bye.");

    ttsSession.textToAudioFile(stringBuffer.toString());

    try {
      // Set the caller address to the address of our call controller
      Address callerAddress = getSipUtils()
          .convertURIToAddress(callerSip);
View Full Code Here

Examples of org.mobicents.slee.resource.tts.ratype.TTSSession.textToAudioFile()

      order.setDeliveryDate(timeStamp);

      mgr.flush();
      mgr.close();

      ttsSession.textToAudioFile(stringBuffer.toString());

      MsSignalGenerator generator = msProvider.getSignalGenerator(this
          .getAnnouncementEndpointName());

      try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.