Example #1
0
        /// <summary>
        /// Gets the request rquid from the call if it exists.
        /// Otherwise it creates and sets it.
        /// </summary>
        static public string GetRequestRquId(FnsInterfaces.ICall call)
        {
            var results = call.GetValue(BaseWebEngine.RequestRquidAttribute);

            if (!string.IsNullOrEmpty(results))
            {
                return(results);
            }
            results = GetRquId(call.lCallId.ToString(CultureInfo.InvariantCulture));
            call.SetValue(BaseWebEngine.RequestRquidAttribute, results);
            return(results);
        }