public void MakeCall(String remoteUri, MediaType mediaType)
{
System.Diagnostics.Debug.Assert(this.AVSession == null);
// Add T140 to the mediaType is the corresponding codec is enabled
if (((tdav_codec_id_t)this.sipService.Codecs & tdav_codec_id_t.tdav_codec_id_t140) == tdav_codec_id_t.tdav_codec_id_t140)
{
mediaType |= MediaType.T140;
}
this.AVSession = MyAVSession.CreateOutgoingSession(Win32ServiceManager.SharedManager.SipService.SipStack, mediaType);
this.Show();
this.AVSession.MakeCall(remoteUri);
this.InitializeView();
}