/// <summary> /// Starts dialling a number on the selected phone line. /// </summary> public void DialIP(string address, CallType callType) { if (string.IsNullOrEmpty(address)) { return; } var dialParams = new DirectIPDialParameters("5060"); dialParams.CallType = callType; IPhoneCall call = softPhone.CreateDirectIPCallObject(SelectedLine, dialParams, address); StartCall(call); }
/// <summary> /// Starts dialling a number on the selected phone line. /// </summary> public void DialIP(string address, CallType callType) { if (string.IsNullOrEmpty(address)) return; var dialParams = new DirectIPDialParameters(address); dialParams.CallType = callType; IPhoneCall call = softPhone.CreateDirectIPCallObject(SelectedLine, dialParams, address); StartCall(call); }