private void TransferCaller(Telecom.TelecomProviderBase telecomProvider, string transferTo) { // Tell the other caller to transfer outboundTsInterface.IMLInterpreter.SetLocalVariable("TransferNumber", transferTo); outboundTsInterface.IMLInterpreter.SignalExternalEvent(OutboundCallExternalEvents.CALLBUTLERINTERNAL_TransferCall.ToString()); // And end the conferece telecomProvider.EndConference(conferenceID, false); }
public AutoDialerProcessor(Telecom.TelecomProviderBase telecomProvider, TelecomScriptInterface tsInterface, string jobID, string callID, string scriptToRun, string answeringMachineScriptToRun, string answeringMachineDetectionSettings, int timeout, System.Collections.Specialized.NameValueCollection scriptVariables, CallButler.Service.Plugin.CallButlerDialerPlugin dialerPlugin) { this.callID = callID; this.jobID = jobID; this.scriptLocation = scriptToRun; this.answeringMachineScriptLocation = answeringMachineScriptToRun; this.answeringMachineDetectionSettings = answeringMachineDetectionSettings; this.scriptVariables = scriptVariables; this.dialerPlugin = dialerPlugin; this.tsInterface = tsInterface; this.telecomProvider = telecomProvider; timeoutTimer = new System.Threading.Timer(new System.Threading.TimerCallback(TimeoutTimerProc), this, timeout * 1000, System.Threading.Timeout.Infinite); }
public DialPlanManagerService(PBXRegistrarService pbxRegistrar, WOSI.CallButler.Data.DataProviders.CallButlerDataProviderBase dataProvider, Telecom.TelecomProviderBase telecomProvider) { this.pbxRegistrar = pbxRegistrar; this.dataProvider = dataProvider; this.telecomProvider = telecomProvider; }
internal void Initialize(CallButlerService cbService, CallButlerDataProviderBase dataProvider, Telecom.TelecomProviderBase telecomProvider, ScriptService scriptService, Utilities.PluginManagement.PluginManager pluginManager, PBXRegistrarService registrarService, VoicemailService vmService) { this.cbService = cbService; this.dataProvider = dataProvider; this.telecomProvider = telecomProvider; this.scriptService = scriptService; this.pluginManager = pluginManager; this.registrarService = registrarService; this.tts = new SpVoiceClass(); this.vmService = vmService; }