protected void RaiseIncomingBusyCall(BusyCallEventArgs e)
 {
     if (IncomingBusyCall != null)
     {
         IncomingBusyCall(this, e);
     }
 }
Esempio n. 2
0
 protected void RaiseIncomingBusyCall(BusyCallEventArgs e)
 {
     if (IncomingBusyCall != null)
         IncomingBusyCall(this, e);
 }
Esempio n. 3
0
 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);
     }
 }