protected void RaiseDTMFToneRecognized(CallInputEventArgs e) { if (DTMFToneRecognized != null) { DTMFToneRecognized(this, e); } }
protected void RaiseSpeechRecognized(CallInputEventArgs e) { if (SpeechRecognized != null) { SpeechRecognized(this, e); } }
public virtual void OnDTMFDigit(CallButler.Telecom.TelecomProviderBase telecomProvider, CallInputEventArgs e) { }
void telecomProvider_SpeechRecognized(object sender, CallInputEventArgs e) { if (e.LineNumber == lineNumber) { LoggingService.AddLogEntry(LogLevel.Extended, "(Line " + lineNumber + ") Heard the phrase '" + e.InputString + "'", false); imlInterp.SignalSpeech(e.InputString); } }
void telecomProvider_DTMFToneRecognized(object sender, CallInputEventArgs e) { if (e.LineNumber == lineNumber) { string typeStr = "OOB"; if (e.InAudio) typeStr = "In Audio"; LoggingService.AddLogEntry(LogLevel.Extended, "(Line " + lineNumber + ") Heard a DTMF tone '" + e.InputString + "' (" + typeStr + ")", false); imlInterp.SignalDTMFDigit(e.InputString); if (scriptProcessor != null) scriptProcessor.OnDTMFDigit(telecomProvider, e); } }
protected void RaiseSpeechRecognized(CallInputEventArgs e) { if (SpeechRecognized != null) SpeechRecognized(this, e); }
protected void RaiseDTMFToneRecognized(CallInputEventArgs e) { if (DTMFToneRecognized != null) DTMFToneRecognized(this, e); }