protected void RaiseDTMFToneRecognized(CallInputEventArgs e)
 {
     if (DTMFToneRecognized != null)
     {
         DTMFToneRecognized(this, e);
     }
 }
 protected void RaiseSpeechRecognized(CallInputEventArgs e)
 {
     if (SpeechRecognized != null)
     {
         SpeechRecognized(this, e);
     }
 }
예제 #3
0
 public virtual void OnDTMFDigit(CallButler.Telecom.TelecomProviderBase telecomProvider, CallInputEventArgs e)
 {
 }
예제 #4
0
 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);
     }
 }
예제 #5
0
        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);
            }
        }
예제 #6
0
 protected void RaiseSpeechRecognized(CallInputEventArgs e)
 {
     if (SpeechRecognized != null)
         SpeechRecognized(this, e);
 }
예제 #7
0
 protected void RaiseDTMFToneRecognized(CallInputEventArgs e)
 {
     if (DTMFToneRecognized != null)
         DTMFToneRecognized(this, e);
 }