void tsInterface_TransferCall(object sender, WOSI.IVR.IML.TransferEventArgs e)
        {
            TelecomScriptInterface tsInterface = (TelecomScriptInterface)sender;

            if (e.UseBridge)
            {
                // Bridge the call with an outbound call
                if (MakeOutboundCall(tsInterface, e.TransferTo, "", -1, false, false))
                {
                    tsInterface.ScriptProcessor.StartProcessing(tsInterface, telecomProvider, dataProvider);
                }
                else
                {
                    tsInterface.IMLInterpreter.SignalTransferFailure();
                }
            }
            else if (!e.IsExtension)
            {
                // If the call is a call to telephone number, blind transfer it
                telecomProvider.TransferCall(tsInterface.LineNumber, e.TransferTo);
                tsInterface.IMLInterpreter.SignalEventCallback(e.EventToken);
            }
            else
            {
                TransferToExtension(e.TransferTo, tsInterface, false);
                tsInterface.IMLInterpreter.SignalEventCallback(e.EventToken);
            }
        }
        void telecomProvider_FaxToneDetected(object sender, LineEventArgs e)
        {
            if (e.LineNumber == lineNumber)
            {
                LoggingService.AddLogEntry(LogLevel.Extended, "(Line " + lineNumber + ") Detected a fax tone", false);

                if (Properties.Settings.Default.AutoForwardFaxTo != null && Properties.Settings.Default.AutoForwardFaxTo.Length > 0)
                {
                    telecomProvider.TransferCall(e.LineNumber, Properties.Settings.Default.AutoForwardFaxTo);
                }
                else
                {
                    imlInterp.SignalFaxTone();
                }
            }
        }