FAQ-INDEX Asterisk

COMM ONE CALL ACCOUNTING
FAQ INDEX - Asterisk

Here is how you collect raw call records from an Asterisk Telephone System for use in Comm One Call Accounting Software.

HOW TO SET UP ASTERISK CALL CAPTURE FOR COMMONE 

  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)

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk