Target To = new Target();
To.SipUri = MsgInfo.To;
SignalingSession Session = new SignalingSession(m_endpoint, new RealTimeAddress(To.SipUri));
Session.LocalParticipant.ApplicationContext = To;
Session.OfferAnswerNegotiation = new MyOfferAndAnswer();
Session.SendMessage(MessageType.Message, new ContentType("text/plain"), Encoding.UTF8.GetBytes(MsgInfo.Msg));
Session.Participate(); throw a exception:A 488 (Not Acceptable Here) response was received from the network and the operation failed. See the exception details for more information.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Marked as answer byTao JiaoWednesday, February 29, 2012 8:37 AM
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.