public bool Run(ISessionChannel pChannel, string pOrigIPAddress, string pAccessNumber, string pANI)
        {
            ISessionScript _sessionScript = create(pChannel, pOrigIPAddress, pAccessNumber, pANI);

            if (_sessionScript == null)
            {
                return(false);
            }

            _sessionScript.Run(true);
            return(true);
        }
        public bool Run(ISessionChannel pChannel, string pOrigIPAddress, string pAccessNumber, string pANI)
        {
            ISessionScript _sessionScript = create(pChannel, pOrigIPAddress, pAccessNumber, pANI);

            if (_sessionScript == null)
            {
                return(false);
            }

            if (_sessionScript.Welcome())
            {
                for (int _i = 1; _i <= _sessionScript.NumberOfSubSessions; _i++)
                {
                    if (!_sessionScript.Authenticate(_i))
                    {
                        return(false);
                    }
                    _sessionScript.Run(_i == _sessionScript.NumberOfSubSessions);
                }
            }
            return(true);
        }