public override void OnAnswerDetectHuman(CallButler.Telecom.TelecomProviderBase telecomProvider, CallButler.Telecom.LineEventArgs e)
        {
            telecomProvider.EnableAnsweringMachineDetection(tsInterface.LineNumber, false);

            StartScript(scriptLocation);

            if (dialerPlugin != null)
                dialerPlugin.OnCallStatus(jobID, callID, CallButler.Service.Plugin.CallButlerDialerPlugin.CallStatus.HumanAnswered);
        }
        public override void OnCallConnected(CallButler.Telecom.TelecomProviderBase telecomProvider, CallButler.Telecom.LineEventArgs e)
        {
            connected = true;

            if (answeringMachineScriptLocation != null && answeringMachineScriptLocation.Length > 0)
            {
                if (answeringMachineDetectionSettings != null && answeringMachineDetectionSettings.Length > 0)
                    telecomProvider.SetAnsweringMachineDetectionSettings(tsInterface.LineNumber, answeringMachineDetectionSettings);

                telecomProvider.EnableAnsweringMachineDetection(tsInterface.LineNumber, true);
            }

            if(dialerPlugin != null && (answeringMachineScriptLocation == null || answeringMachineScriptLocation.Length == 0))
                dialerPlugin.OnCallStatus(jobID, callID, CallButler.Service.Plugin.CallButlerDialerPlugin.CallStatus.Answered);
        }
        protected override void OnStartProcessing(TelecomScriptInterface tsInterface, CallButler.Telecom.TelecomProviderBase telecomProvider, WOSI.CallButler.Data.DataProviders.CallButlerDataProviderBase dataProvider)
        {
            telecomProvider.EnableAnsweringMachineDetection(tsInterface.LineNumber, false);

            if (answeringMachineScriptLocation == null || answeringMachineScriptLocation.Length == 0)
                StartScript(scriptLocation);
        }
 public override void OnAnswerDetectMachineGreetingFinished(CallButler.Telecom.TelecomProviderBase telecomProvider, CallButler.Telecom.LineEventArgs e)
 {
     telecomProvider.EnableAnsweringMachineDetection(tsInterface.LineNumber, false);
     StartScript(answeringMachineScriptLocation);
 }