Knowlege base

How to reimport discard call at global level, for all PBXs and Gateways

Article ID: 692
Last updated: 29 Jul, 2019

Applies to:

  • Billy Blue's 4 - minimum version 2017.Winter.1
  • Blue's Enterprise 4 - minimum version 2017.Winter.1
  • Blue's Enterprise for Skype for Business - minimum version 2017.Winter.1


This is an alternative to BB/BE 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.


  • Access to Imagicle Server/VM using RDP session
  • Go to C:\Program Files (x86)\StonevoiceAS\\Apps\BillyBlues\Engine folder
  • Check that these two files are available:
    • ReimportDiscardedCalls.exe
    • ReimportDiscardedCalls.exe.config
  • If they are not available, please download them from here and here, then copy both files into above folder
  • Execute ReimportDiscardedCalls.exe. No need to stop Blue's Miner and Blue's Recorder.
  • The tool displays a window, showing the list of all configured PBXs/GWs, allowing to choose a specific time frame for reprocessing discarded calls. See below sample:

Immagine caricata dall’utente: image.png

  • Please select the desired interval and hit "Start" button
  • For each site, the tool performs the following tasks: 
    • Query the database for all discarded calls of the current site in the selected period
    • Save this calls in .\Apps\Billyblues\Engine\SCARTIBLUESWEB-<SITE_CODE>.txt
    • Execute bminer.exe, passing above text file as input argument
    • logs bminer activity in main tool's window, reporting the number of imported/discarded calls 
    • wait until bminer finishes its job and proceed with next site

Immagine caricata dall’utente: image.png

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 BillyBlues 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.
Article ID: 692
Last updated: 29 Jul, 2019
Revision: 1
Views: 149
Print Export to PDF Subscribe Share
This article was:  
Prev   Next
Reimport discarded calls Tool - LINK AI FILES-     How to setup a SFTP service on the Imagicle Application Suite to...