Пример #1
0
        public void AddLookupResult(SIPDNSLookupEndPoint lookupEndPoint)
        {
            //logger.LogDebug(" adding SIP end point result for " + URI.ToString() + " of " + lookupEndPoint.LookupEndPoint + ".");

            if (EndPointResults == null)
            {
                EndPointResults = new List <SIPDNSLookupEndPoint>()
                {
                    lookupEndPoint
                };
            }
            else
            {
                EndPointResults.Add(lookupEndPoint);
            }
        }
        public void AddLookupResult(SIPDNSLookupEndPoint lookupEndPoint)
        {
            //logger.Debug(" adding SIP end point result for " + URI.ToString() + " of " + lookupEndPoint.LookupEndPoint + ".");

            if(EndPointResults == null)
            {
                EndPointResults = new List<SIPDNSLookupEndPoint>() { lookupEndPoint };
            }
            else
            {
                EndPointResults.Add(lookupEndPoint);
            }
        }