/// <summary> /// SetUserProperties /// </summary> /// <param name="uri"></param> /// <param name="userProperties"> /// new UserPropertiesCategory() /// { /// Line1 = "tel:+11234567890;ext=67890", /// LineType1 = UserPropertiesCategory.LineType.Uc, /// FaxNumber = "+12345-FAX-12345", /// State = "Rostov-on-Don", /// StreetAddress = "Beikerstreet, 10", /// WwwHomePage = "http://www.officesip.com", /// PostalCode = "347900", /// City = "London", /// CountryCode = "BR" /// } /// </param> public void SetUserProperties(string uri, UserPropertiesCategory userProperties) { lock (sync) { Publication publication = ResolvePublication(uri); publication.SetUserProperties(userProperties); } }