Technical Support

138 E 12300 S Ste #C102

Draper, UT  84020

(385) 529-5819

support@commone.com

 

FAQ-INDEX Asterisk Comm One Integration

Posted: 02/02/2017

Updated: 06/12/2019

Author: Comm One Technical Support

 

 

 

Comm One Logo - Grey - WIX Header.jpg

COMM ONE CALL ACCOUNTING

FAQ INDEX - Asterisk

 
 
 

Here are some links that show how Comm One Call Accounting integrates with Asterisk Telephone Systems


HOW TO SET UP ASTERISK CALL CAPTURE

  1. Create the directory named \log_asterisk under your Comm One Folder if it doesn’t already exist.
     

  2. Download the program PSCP.EXE and load it into the \\log_asterisk directory.
     

  3. Create a batch file in the \log_asterisk directory named get_calls.bat
     

  4. You will need the IP Address for your Asterisk System, and the password for ROOT in order to configure the download script.
     

  5. Edit the get_calls.bat file to include the following commands.


COMMANDS FOR GET_CALLS.BAT FILE TO DOWNLOAD ASTERISK RAW CALL RECORDS

c:

cd\ca2018\log_asterisk
pscp –r –pw [password] root@[ip address]:/var/log/asterisk/cdr-csv c:\ca2018\asterisk


 

SCRIPT EXAMPLE

If my password was swordfish and my Asterisk Phone System IP was 192.168.1.1, then my get_calls.bat file would look like this:

c:

cd\ca2018\log_asterisk
pscp –r –pw swordfish root@192.168.1.1:/var/log/asterisk/cdr-csv c:\ca2018\asterisk

 

Last, you would create a windows scheduled event to run at 11pm each day and it would run the batch file created in the steps above (c:\ca2018\log_asterisk\get_calls.bat)