Imagicle UC Suite For Cisco UC - Call Analytics - FAQ and Solutions
Imagicle UC Suite For Cisco UC - Call Analytics - FAQ and Solutions
16 Oct 2023
How to delete SQL Server whole or partial historical call archive and re-import it from
existing "Storico" file
Applies to:
Description:
How to remove calls from SQL Server database and reimport them from "Storico" text file
2. open Microsoft SQL Manager Studio (make a backup copy of the database)
3. Run "New Query" and copy the following query, by changing the @startDate and @endDate according to the period you wish to
delete. If you need to fully erase historical archive, please set @startDate to year 2000 and @endDate to year 2030.
Please keep in mind that dates are based on UTC Time Zone.
/* WARNING: BEFORE YOU RUN THIS SCRIPT TAKE A BACKUP OF THE DATABASE! */
RAISERROR('Deleting [BibCalls] records with date greater or equal than %s and less than %s', 0, 1, @startDateString,
SET @recordsNumber = 1
WHILE @recordsNumber > 0
BEGIN
SELECT @recordsNumber = COUNT(*) FROM [BibCalls] WHERE [UtcStartDateTime] >= @startDate AND [UtcStartDateTime] <
RAISERROR('Number of records to delete: %d', 0, 1, @recordsNumber) WITH NOWAIT
BEGIN TRANSACTION
DELETE FROM [BibCalls] WHERE [UtcStartDateTime] >= @startDate AND [UtcStartDateTime] < @endDate
COMMIT TRANSACTION
END
RAISERROR('Deleting [Scarti] records with date greater or equal than %s and less than %s', 0, 1, @startDateString, @e
SET @recordsNumber = 1
WHILE @recordsNumber > 0
BEGIN
SELECT @recordsNumber = COUNT(*) FROM [Scarti] WHERE [dData] >= @startDate AND [dData] < @endDate
RAISERROR('Number of records to delete: %d', 0, 1, @recordsNumber) WITH NOWAIT
SET ROWCOUNT 0
4. in folder \\StonevoiceAS\Apps\BillyBlues\Engine\BluesRecPro, from file StoricoSITE.txt, select all the lines you need to reimport
and hit CTRL+C on the keyboard
5. in folder \\StonevoiceAS\Apps\BillyBlues\Engine\BluesRecPro open bluesrecsite.txt and use CTRL+V to paste in the previously
copied strings
6. Start Blue's Service Host in Billing|Administrative pages|Service Manager and wait until miner has finished importing all calls
2. open Microsoft SQL Manager Studio (make a backup copy of the database)
3. Run "New Query" and copy the following query, by changing the @startDate and @endDate according to the period you wish to
delete. If you need to fully erase historical archive, please set @startDate to year 2000 and @endDate to year 2030.
/* WARNING: BEFORE YOU RUN THIS SCRIPT TAKE A BACKUP OF THE DATABASE! */
RAISERROR('Deleting [BibCalls] records with date greater or equal than %s and less than %s', 0, 1, @startDateString,
SET @recordsNumber = 1
WHILE @recordsNumber > 0
BEGIN
SELECT @recordsNumber = COUNT(*) FROM [BibCalls] WHERE [StartDate] >= @startDate AND [StartDate] < @endDate
RAISERROR('Number of records to delete: %d', 0, 1, @recordsNumber) WITH NOWAIT
BEGIN TRANSACTION
DELETE FROM [BibCalls] WHERE [StartDate] >= @startDate AND [StartDate] < @endDate
COMMIT TRANSACTION
END
RAISERROR('Deleting [Scarti] records with date greater or equal than %s and less than %s', 0, 1, @startDateString, @e
SET @recordsNumber = 1
WHILE @recordsNumber > 0
BEGIN
SELECT @recordsNumber = COUNT(*) FROM [Scarti] WHERE [dData] >= @startDate AND [dData] < @endDate
RAISERROR('Number of records to delete: %d', 0, 1, @recordsNumber) WITH NOWAIT
BEGIN TRANSACTION
DELETE FROM [Scarti] WHERE [dData] >= @startDate AND [dData] < @endDate
COMMIT TRANSACTION
END
SET ROWCOUNT 0
5. in folder \\StonevoiceAS\Apps\BillyBlues\Engine\BluesRecPro open bluesrecsite.txt and use CTRL+V to paste in the previously
copied strings
6. Start Blue's Service Host in Billing|Administrative pages|Service Manager and wait until miner has finished importing all calls
2. open Microsoft SQL Manager Studio (make a backup copy of the database)
3. Run "New Query" and copy the following query, by changing the @startDate and @endDate according to the period you wish to
delete. If you need to fully erase historical archive, please set @startDate to year 2000 and @endDate to year 2030.
/* WARNING: BEFORE YOU RUN THIS SCRIPT TAKE A BACKUP OF THE DATABASE! */
RAISERROR('Deleting [ChiamateInterne] records with date greater or equal than %s and less than %s', 0, 1, @startDateS
SET @recordsNumber = 1
WHILE @recordsNumber > 0
BEGIN
SELECT @recordsNumber = COUNT(*) FROM [ChiamateInterne] WHERE [dData] >= @startDate AND [dData] < @endDate an
RAISERROR('Number of records to delete: %d', 0, 1, @recordsNumber) WITH NOWAIT
BEGIN TRANSACTION
DELETE FROM [ChiamateInterne] WHERE [dData] >= @startDate AND [dData] < @endDate and sSito = @sito
COMMIT TRANSACTION
END
RAISERROR('Deleting [Chiamate] records with date greater or equal than %s and less than %s', 0, 1, @startDateString,
SET @recordsNumber = 1
WHILE @recordsNumber > 0
BEGIN
SELECT @recordsNumber = COUNT(*) FROM [Chiamate] WHERE [dData] >= @startDate AND [dData] < @endDate and sSito
RAISERROR('Number of records to delete: %d', 0, 1, @recordsNumber) WITH NOWAIT
BEGIN TRANSACTION
DELETE FROM [Chiamate] WHERE [dData] >= @startDate AND [dData] < @endDate and sSito = @sito
COMMIT TRANSACTION
END
BEGIN TRANSACTION
DELETE FROM [Scarti] WHERE [dData] >= @startDate AND [dData] < @endDate
COMMIT TRANSACTION
END
SET ROWCOUNT 0
( change the dates of the above query according to the period you wish to delete)
4. in folder \\StonevoiceAS\Apps\BillyBlues\Engine\BluesRecPro, from file StoricoSITE.txt, select all the lines you need to reimport
and hit CTRL+C on the keyboard
5. in folder \\StonevoiceAS\Apps\BillyBlues\Engine\BluesRecPro open bluesrecsite.txt and use CTRL+V to paste in the previously
copied strings
6. Start Blue's Service Host in Billing|Administrative pages|Service Manager and wait until miner has finished importing all calls
Description:
This article describes how to force the execution of the retention mechanism, deleting the oldest Call Analytics data without
waiting the default schedule (01:15 AM).
How-to:
3) To force the deletion of oldest older raw CDR files from disk:
Note
If you are coping with a full (saturated) DB, the above procedure may not work if the remaining space is very low. If not working,
you need to delete oldest data using the deletion SQL script described in this article.
FAQ and Solutions 5/36Forcing the deletion of oldest data leveraging the retention mechanism
Billing Interactive Reports message error - System.Web.HttpUnhandledException was
thrown - Exception has been thrown by the target of an invocation.
Applies to:
Description:
Billy Blue's/Blue's Enterprise Interactive Reports execution fail if the session has been inactive for at least 3 minutes.
Solution
BillingFAQ
Interactive
and Solutions
Reports message error - System.Web.HttpUnhandledException
6/36was thrown - Exception has been thrown by the target of an invocation.
How to apply different billing tariffs, for different users' departments
Applies to:
Description:
Call Analytics allows to differentiate call costs on a same gateway by department field, normally populated in Imagicle users'
database during CUCM or AD/LDAP import.
• Access to Imagicle UC Suite server (via RDP) and launch Call Analytics Configuration wizard.
• Hit Next several times until you reach the gateway list.
• Select the gateway where you want to apply the tariffs by department and click on Configure.
• Hit Next until you reach the Driver selection page. Please select "Call Manager (Tariff by Department)" and hit Next.
FAQ and Solutions 7/36 How to apply different billing tariffs, for different users' departments
• Hit Next until you reach the Tariffs selection page. Here you should prepare two or more different tariffs, to be applied
on different departments. Instructions about how to edit a tariff are available here:
https://www.imagicle.com/kb#/kb/tariffs-and-tariff-comparison_47.html
• Please move (at least 2) chosen tariffs from "Available tariffs:" â "Tariffs to be used:"
• If you want to assign another different tariff to those users not assign to any department, please add it too.
• Hit Next until you reach LCR Calculation Table. Select Advanced Mode and click on Details..
FAQ and Solutions 8/36 How to apply different billing tariffs, for different users' departments
• You will get an "Advanced LCR" window similar to below screenshot
• Click on "Delete all" button to remove default settings. Then click on "Add" to start adding the first tariff associated to first
department. Sample below refers to "Sales" dept. and tariff applied is "Qatar".
FAQ and Solutions 9/36 How to apply different billing tariffs, for different users' departments
• Click OK to add tariff. Then you can click Add to add another dept. and relevant tariff.
• If you want to assign another tariff to those users not associated to a department, then click Add once more, flag the
relevant tariff and do not add any department in the Lines: panel.
• Final results are available into "Advanced LCR" window. Below sample shows two dept. and two tariffs.
FAQ and Solutions 10/36 How to apply different billing tariffs, for different users' departments
• Once done, hit OK. Then just hit Next until you go back to gateway list. You can repeat same procedure for other
gateways. Once done, just hit next few times until you exit the wizard.
FAQ and Solutions 11/36 How to apply different billing tariffs, for different users' departments
Backup database of Billy Blue's 4, delete old calls from the online database and
attach the backup db to consult the historical data
Applies to:
Description:
Procedure:
Solution:
In the attachment you can find the complete guide and the sql scripts.
Applies to:
Description:
Solution:
To access to the database for local SQL instances (default state) the credentials are reported here:
For SQL 2008 (UC Suite version less or equal than Summer 2019):
• Username: sa
• Default password: SvBillyBlues$
For SQL 2017 (UC Suite version greater or equal than Summer 2019, up to Spring 2023)
• Username: sa
• Default password:SvB1llyBlues$
• For any other SQL versions, or if the defaults has been changed, please check with the database administrator for the
right credentials
Beware: a value too high, could overload the email server. Please ask your IT manager about maximum allowed email
attachment size.
IMPORTANT: Starting from Imagicle 2023.Spring.1 release, MS-SQL Server 2008/2008R2 is supported only for updating an existing
installation to Spring 2023, but you can't deploy a new Imagicle instance with such old MS-SQL version. Starting from
2023.Summer.1 release, MS-SQL 2008/2008R2 is not supported anymore and therefore a MS-SQL update is mandatory.
FAQ and Solutions 13/36 How to modify the Scheduled Reports attachment size limit
Billy Blue's scheduler service does not start after changing hostname/netbios name
Applies to:
Description:
The scheduler service cannot be started because the hostname of the server has changed
Solution
The scheduler service by design uses a parameter written in the option table (named: configurazione | ServerMessaggi) that
contain the host name on which it's running. So it must be changed/updated in the SQL table too.
Applies to:
Description:
While creating a big report or during pdf/excel exportation the browser sends an error about timeout .net or out of memory:
---
An error occurred during local report processing.
An error occurred during rendering of the report.
Exception of type 'System.OutOfMemoryException' was thrown.
---
Cause:
By default the timeout for ASP.NET script execution is 90 (or 110) seconds.
So if an asp.net page requires more time - like for creating a pdf exportation- Internet Information Server let .net page goes in
timeout and consequently send the error to the client browser.
Solution:
Please try the following procedure to increase the .NET timeout on your server, this should fix your issue:
- Open the "c:\Program Files (x86)\StonevoiceAS\Apps\BillyBlues\Engine\Web\web.config" file from the "fwbib" web site using
your preferred text editor (i.e. Notepad)
- Add the following line, right after the </compilation> statement:
</compilation>
<httpRuntime executionTimeout="300" />
<httpHandlers>
FAQ and Solutions 15/36 Timeout during report creation and/or exporting in PDF/XLS format
How to show Billy Blues users as First Name and Last Name
Applies to:
Description:
How to display the user name in the order First name, Last name in Billy Blue's reports and dashboard.
How-to:
Please note, this procedure does not affect older calls, if you want to apply this change to existing calls please follow below
steps:
FAQ and Solutions 16/36 How to show Billy Blues users as First Name and Last Name
Show calls currency using 3 English letters
Applies to:
• Billy Blue's 4
• Blue's Enterprise 4
• Blue's Enterprise for Skype for Business
Description:
Change the currency from currency name to 3 letters shortcut or use English chars
How-to:
On Imagicle server edit the following file using Notepad or any other text editor:
<StonevoiceAS>\apps\billyblues\engine\web\versions\BB\@AppSettings.config
FAQ and Solutions 17/36 Show calls currency using 3 English letters
How to increase the warning value reported in the monitoring tool for MaxMemory
consumed by the billing system
Applies to:
Description:
By default the MAM (Application suite monitoring service) is set to send a warning when the bminer.exe process (used in the
billing system) exceeds the memory usage of 200MB.
How-to:
To increase this warning value and set it to -for example- to 1000 MB proceed as follow:
1) Open the file <StonevoiceAS>\Apps\Fw\Settings\FW.Watchdog.Service.config.xml
2) Add the string <preference key="performance.process.bminer.exe.MaxMemory" value="1000" /> between the tags
configuration:
Applies to:
Description:
How to change the date format to MM/DD/YYYY in Billy Blue's products: home page, dashboard and reports.
How-to:
If you need to set billing for English language, with dd/mm/yyyy format, pls. change value to en-GB.
Applies to:
Billy Blue's
Blues Enterprise 4
Description:
In the reports (typically call monitor reports) only first 10000 lines are reported.
If more records are present you get a message: "Your request has generated [>10000] rows and has reached the configured
limit.Only the first 10000 rows will be extracted.". This happens for both interactive and scheduled reports
How-to:
NOTE: 50000 is the limit that can be achieved - A value too high may cause a timeout of the report.
4. Click [Execute Command] to confirm. (please run one single query at time):
5. Click 'Options' next to the SQL Panel to verify if the parameters have been updated.
NOTE: At the end you may need to follow the solution here
In reports
FAQyou
and
getSolutions
the message: Your request has generated >10000 rows and20/36
has reached the configured limit.Only the first 10000 rows will be extracted.
No calls or no recent calls displayed on Billy Blue's statistics - Basic troubleshooting
Applies to:
BillyBlues
Description:
When running any statistic, Billy Blue's returns 'No results matching your search were found.',
doesn't show recent calls or doesn't show calls at all.
Troubleshooting
A)
- Make sure you have added all the users of your company.
- Make sure those users all have 'first extension number' with the etxension number.
- Make sure those users all have 'enable billing for first extension' ticked.
- If those users have the partition field filled in, run Billy Blue's guided configuration and load the proper driver (with partition) or
vice-versa, if users don't have partition, make sure you have loaded the driver without partition.
B)
- If it does not, please troubleshoot your Cisco system so that it publishes recent cdr's
> from Cisco Unified Serviceability -> Tools -> Control Center - Network Services -> section 'CDR Services'
C)
- Open the Billing page > Administrative Pages > Service Manager
- Start Miner and Recorder manually by running these files with a double click:
<StonevoiceAS>\Apps\BillyBlues\Engine\Bminer.exe
<StonevoiceAS>\Apps\BillyBlues\Engine\BluesrecPro\BrecPro.exe
- Monitor any error. If any error, please send us a screenshot in response to this email.
- Open the Billing page > Administrative Pages > Service Manager
D)
- Run Billy Blue's guided configuration and make sure all VoiceGateway IP addresses are defined
Applies to
Description
Cause
Solution
FAQ and Solutions 23/36 Node in standby, the scheduler service is disabled on this machine
How to reimport discard call at global level, for all PBXs and Gateways
Applies to:
Description:
This is an alternative to Call Analytics web portal's administrative option "Reprocess discarded calls", which allows to globally
reprocess all discaded calls, for all configured PBXs and gateways. It is very useful in billing systems where hundreds of PBX/GW
are configured, allowing to reprocess discarded calls in one shot, without having to repeat the task on web portal for each and
every PBX/GW.
How-to:
FAQ and Solutions 24/36How to reimport discard call at global level, for all PBXs and Gateways
Known Limitations:
• The tool logs only some progress messages, in order to show user that bminer is still running.
• If you need to deeply monitor bminer activity, please enable Call Analytics logs, by adding the following line in this file:
C:\Program Files (x86)\StonevoiceAS\\Apps\BillyBlues\Engine\bluesrecpro\blues2000.ini:
♦ AbilitaLog=1
• âYou can check real-time bminer tasks by opening "bminer.log" with baretail tool.
• Looking at above screenshot sample, during reprocessing of "Pbx1" site, with 11 discarded calls, the tool
has reprocessed all calls, but it logged only bminer message related to 8 calls
♦ Imported 0, Discarded 8, Total 8
• If you hit "Stop" button during processing, the tool stops monitoring bminer activity and it doesn't process subsequent
sites. Current site processing proceeds until the end, so do not launch again the tool until last site import is over. Check
bminer.log for current processing status.
FAQ and Solutions 25/36How to reimport discard call at global level, for all PBXs and Gateways
How to setup a SFTP service on the Imagicle Application Suite to replace the default
unsecure Microsoft FTP server included in the Windows platform
Applies to:
Description:
How to setup and configure a SFTP server on the Imagicle UC Suite to replace the default FTP server included in the Windows
platform to achieve greater security in the communication from Calling Platform to the Imagicle server.
If Imagicle UC Suite already includes a SFTP server and a software update to latest release is performed, our package setup
installs and configures a new SFTP server, while just one server is used. In this case, we suggest to disable the alternative SFTP
server.
With Windows server 2019, it is possible to install an SFTP server right from the Windows Apps and Features section. Please follow
below procedure:
1. Go to Windows Settings-->Apps
2. Click on "Manage optional features" Under apps and features menu
3. Look for OpenSSH Server, check if it's already installed, if not click on "Add a feature" to install it.
• Go to Windows services and look for "OpenSSH Authentication Agent " and "OpenSSH SSH Server" services.
• Change both services startup type to "Automatic", and make sure that they are both started.
No need to manually install SSH Server. This is already included in Imagicle package. Just proceed with next step.
SFTP Credentials
Create a local user, on the Windows server of the Imagicle VM or an Active Directory user if the server is joined to the domain, for
instance:
• username: imagiclesftp
• password: B1llyBlues$
How
FAQ to
and
setup
Solutions
a SFTP service on the Imagicle Application Suite to replace26/36
the default unsecure Microsoft FTP server included in the Windows platform
• Add a new billing application server that has the following parameters:
♦ IP address: ip address of the Imagicle VM
♦ username: imagiclesftp
♦ password: B1llyBlues$
♦ Directory Path: /
• Click on "Add".
For older versions of Windows Server OS, you can choose among existing third party SFTP services. Below, two examples.
To enable SFTP we need to use a third-party tool named SFTP/SCP Server from Solarwinds.
Download SFTP/SCP Server from here , install it and setup it following on screen instructions.
• Edit SFTP server parameters and configure root directory as: <StonevoiceAS>\Apps\BillyBlues\Engine\ccm5cdr
• Add the user
Usrname: imagicleSFTP
Password: imagicleSFTP
How
FAQ to
and
setup
Solutions
a SFTP service on the Imagicle Application Suite to replace27/36
the default unsecure Microsoft FTP server included in the Windows platform
• Go to the Windows Service Panel and change the Startup Type of "Solarwinds SFTP/SCP Server" from "Manual" to
"Automatic"
How
FAQ to
and
setup
Solutions
a SFTP service on the Imagicle Application Suite to replace28/36
the default unsecure Microsoft FTP server included in the Windows platform
CUCM Configuration
To enable SFTP we need to use a third-party tool named freeFTPd from Freesshd.
Download freeFTPd.exe daemon (version 1.0.13) from http://www.freesshd.com and setup it following on screen instructions.
How
FAQ to
and
setup
Solutions
a SFTP service on the Imagicle Application Suite to replace29/36
the default unsecure Microsoft FTP server included in the Windows platform
Remember to click on "Apply & Save" button and start the service with the "Start" button on the Server status row.
- Define a user "imagicleSFTP" with authorization: "Password stored as SHA1 hash", home directory "$SERVERROOT" and enable
SFTP server:
How
FAQ to
and
setup
Solutions
a SFTP service on the Imagicle Application Suite to replace30/36
the default unsecure Microsoft FTP server included in the Windows platform
How
FAQ to
and
setup
Solutions
a SFTP service on the Imagicle Application Suite to replace31/36
the default unsecure Microsoft FTP server included in the Windows platform
CUCM Configuration
How
FAQ to
and
setup
Solutions
a SFTP service on the Imagicle Application Suite to replace32/36
the default unsecure Microsoft FTP server included in the Windows platform
BillyBlues Alarms are not reliable or not correctly executed
to version Application Suite 201x (any version)
Applies from Application Suite 2014.12.1
Applies to
Description
A Billing alarm could not be triggered when it is related to calls made near the alarm execution time.
Cause
The alarm is not able to examine calls that have already been terminated but have not yet been imported.
By default the alarms manager assume that less than 5 minutes are required to receive and import the calls.
For example, let's assume that on a particular billyblues customer it takes 15 minutes to make calls available,
and the customer setup an alarm for calls to a specific number (911) executed every 5 mins:
This alarm will never be triggered!!
When the alarm is executed, it try to search a call made in the last 5 mins, to 911, but this calls are not yet in the db. If the alarm
start at 10:00, it search for calls made from 9:50 to 9:55 (5 minutes shifted), finding 0 calls; then at 10:05 it search for calls made
from 9:55 to 10:00 and so on.
Solution
We can shift manually the searching interval writing in blues2000.ini the number of minutes to switch
editing the BluesAlarmPeriodDelay parameter.
[Configurazione]
...
BluesAlarmPeriodDelay=30
FAQ and Solutions 33/36 BillyBlues Alarms are not reliable or not correctly executed
How to configure secondary server as master to import calls in Call Analytics
to version Application Suite 201x (any version)
Applies from Application Suite 2016.1.1
Applies to:
Description:
This article explains how to enable Call Analytics call processing on a secondary server of a UC Suite cluster including two nodes.
This is useful if the primary server is out of order and it is likely to unavailable for a long time.
The article also describes the failback procedure to move the processing to the primary server as soon as it gets available again.
Requirements
• The CuCM sends the CDRs to all Imagicle nodes via FTP. (see here)
• Redundant Call Analytics license is available on the secondary server.
Notes
How-to:
When the primary server has a problem and cannot import calls, we can choose two steps to follow:
No configuration on the secondary server is needed, the calls on the secondary server are available.
The displayed calls are up to the day of the service disruption.
This procedure can be performed within 10 days after the blocking of the master server.
1. Verify that the Billing application is properly licensed on the secondary server.
2. Verify that the new CDRs are stored into the FTP directory, which corresponds to this directory:
<StonevoiceAS>\Apps\BillyBlues\Engine\ccm5cdr\
3. Stop 'Blues Service Host' service on the master server from the webpage Billing | Administrative Pages | Service Manager if
5. Enable secondary server to import the new calls it could import some duplicate calls (Delete any duplicate calls)
• Open the UCS database ('BluesPro' on older versions, normally 'IAS' on recent versions) using Microsoft SQL
Management Studio or the HeidiSQL tool (contained in StonevoiceAS\Toubleshooting\HeidiSQL).
• Make a Backup copy of the database.
• Right-click on the 'BluesPro' database> Tasks> Back Up ... and wait for process to be accomplished.
• Click [New Query]
6. If you are running an UC Suite 2021.3.1 or later version, run this SQL query to delete duplicated calls:
DELETE c1
FROM [BibCalls] c1
WHERE c1.[Id] NOT IN (
SELECT MAX(c2.[Id])
FROM [BibCalls] c2
WHERE c1.[UtcStartDateTime] = c2.[UtcStartDateTime]
AND c1.[DurationInSeconds] = c2.[DurationInSeconds]
AND c1.[SiteId] = c2.[SiteId]
AND c1.[LocalPartyId] = c2.[LocalPartyId]
AND c1.[RemotePartyId] = c2.[RemotePartyId]
AND c1.[IsExternal] = c2.[IsExternal]
)
AND c1.[UtcStartDateTime] BETWEEN
DATEADD(dd, -20, DATEADD(dd, DATEDIFF(d, 0, GETDATE()), 0)) AND
DATEADD(dd, DATEDIFF(d, 0, GETDATE()), 0)
6. If you are running an UC Suite between 2020.3.1 and 2021.1.1 version, run this SQL query to delete duplicated calls:
DELETE c1
FROM [BibCalls] c1
WHERE c1.[Id] NOT IN (
SELECT MAX(c2.[Id])
FROM [BibCalls] c2
WHERE c1.[StartDate] = c2.[StartDate]
AND c1.[StartTime] = c2.[StartTime]
AND c1.[DurationInSeconds] = c2.[DurationInSeconds]
AND c1.[SiteId] = c2.[SiteId]
AND c1.[LocalPartyId] = c2.[LocalPartyId]
AND c1.[RemotePartyId] = c2.[RemotePartyId]
AND c1.[IsExternal] = c2.[IsExternal]
)
AND c1.[StartDate] BETWEEN
DATEADD(dd, -20, DATEADD(dd, DATEDIFF(d, 0, GETDATE()), 0)) AND
DATEADD(dd, DATEDIFF(d, 0, GETDATE()), 0)
7. If you are running an AppSuite older than 2020.3.1 version, run these 2 SQL queries to delete duplicated calls:
Failback procedure
When the primary server is repaired, make sure to set the current secondary server in standby, following these steps:
2. Copy the name of the server displayed after the label 'InstallationAddress ='
6. Wait a minute and make sure that the Miner, Recorder and Scheduler services are active in the page Billing | Administrative
Pages | Service manager
7. Repeat steps 6-7 of the previous section to delete duplicate calls, if needed.