/*
* Created on Dec 6, 2004
*
*Copyright Reliable Response, 2004
*/
package net.reliableresponse.notification.dialogic;
/**
* @author drig
*
* Copyright 2004 - David Rudder
*/
public class PassedDialogicMessage extends AbstractDialogicMessage {
DialogicMessage previous;
public PassedDialogicMessage(DialogicMessage previous) {
this.previous = previous;
}
/* (non-Javadoc)
* @see net.reliableresponse.notification.dialogic.DialogicMessage#getWaveFilename()
*/
public String getWaveFilename() {
return getSoundsDirectory()+"passed.wav";
}
public String getAsteriskFilename() {
return "passed";
}
/* (non-Javadoc)
* @see net.reliableresponse.notification.dialogic.DialogicMessage#getExpectedDigits()
*/
public int getExpectedDigits() {
return 0;
}
public DialogicMessage getNextMessage(String identifier) {
return previous;
}
}