protected void RaiseIncomingBusyCall(BusyCallEventArgs e) { if (IncomingBusyCall != null) { IncomingBusyCall(this, e); } }
protected void RaiseIncomingBusyCall(BusyCallEventArgs e) { if (IncomingBusyCall != null) IncomingBusyCall(this, e); }
void telecomProvider_IncomingBusyCall(object sender, BusyCallEventArgs e) { if (/*Licensing.Management.AppPermissions.StatIsPermitted("Settings.FailoverServer") && */ Properties.Settings.Default.BusyRedirectServer != null && Properties.Settings.Default.BusyRedirectServer.Length > 0) { // The line is busy and we should redirect the call to a different server telecomProvider.RedirectBusyCall(e.CallID, Properties.Settings.Default.BusyRedirectServer); } else { // The line is busy and we should end the call telecomProvider.DeclineBusyCall(e.CallID); } }