protected SipMessage() { _vias = new SipHeaderList <SipViaHeader>(); _routes = new SipHeaderList <SipRouteHeader>(); _contacts = new SipHeaderList <SipContactHeader>(); _recordRoutes = new SipHeaderList <SipRecordRouteHeader>(); }
public SipHeaderList <T> Clone() { var cloned = new SipHeaderList <T>(); foreach (T h in _list) { cloned.Add((T)h.Clone()); } ; return(cloned); }