Example #1
0
 protected SipMessage()
 {
     _vias         = new SipHeaderList <SipViaHeader>();
     _routes       = new SipHeaderList <SipRouteHeader>();
     _contacts     = new SipHeaderList <SipContactHeader>();
     _recordRoutes = new SipHeaderList <SipRecordRouteHeader>();
 }
Example #2
0
        public SipHeaderList <T> Clone()
        {
            var cloned = new SipHeaderList <T>();

            foreach (T h in _list)
            {
                cloned.Add((T)h.Clone());
            }
            ;

            return(cloned);
        }