public override string ToString()
{
//if (m_userField.URI.Protocol == SIPProtocolsEnum.UDP)
//{
return m_userField.ToString();
//}
//else
//{
//return m_userField.ToContactString();
//}
}
public void MissingBracketsRouteTest() { Console.WriteLine("--> " + System.Reflection.MethodBase.GetCurrentMethod().Name); SIPRoute newRoute = new SIPRoute("sip:127.0.0.1:5060"); Console.WriteLine(newRoute.ToString()); Assert.IsTrue(newRoute.URI.ToString() == "sip:127.0.0.1:5060", "The Route header URI was not correctly parsed."); }