Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 2.1 KB

File metadata and controls

57 lines (36 loc) · 2.1 KB

Testing tools for Live Call Analytics - ChimeVC

These scripts will let you run a short test call (call_test.sh), a long test call (call_2hr_test.sh), and multiple concurrent calls (conc_call_test.sh). These are meant to be run on the ChimeVC Asterisk EC2 instance that is preinstalled with Live Call Analytics.

Steps

Connecting to the Asterisk Server

To connect to the Asterisk server, please use Session Manager within the EC2 console.

Operate as root

Type sudo bash into the console and navigate to home with cd ~ .

You can verify what directory you are in with pwd, which should be /root.

Install build tools

sudo yum groupinstall "Development Tools"

Install PJSIP

git clone https://github.com/pjsip/pjproject.git
pushd pjproject/
./configure && make dep && make clean && make
popd

Download files to root folder of Asterisk EC2 instance

  1. Unzip and copy the recordings from the /recordings folder to into /root/recordings/.
  2. Copy call_2hr_test.sh, call_test.sh, and conc_call_test.sh into /root
  3. Copy all the recordings also into /var/lib/asterisk/sounds/en/

Edit the shell scripts

Edit the .sh files with your favoite text editor.

Change the top three environment variables with the values from LCA:

  1. CALLER_VC_ENDPOINT: This is your Chime Voice Connector endpoint url. It can be found by navigating to the AWS Management Console > Amazon Chime > Voice Connectors > Outbound host name.
  2. CALLER_PHONE_NUMBER: This is a 10 digit phone number of your choosing, that will emulate a caller.
  3. AGENT_PHONE_NUMBER: This is the phone number of your LCA PBX installation. You can find it in the LCA CloudFormation output with the key DemoPBXPhoneNumber.

Example:

CALLER_VC_ENDPOINT='abcdefg.voiceconnector.chime.aws'
CALLER_PHONE_NUMBER='+1703AAABBBB'
AGENT_PHONE_NUMBER='+1618CCCDDDD' 

Run the scripts

You can run any of the three scripts once they are edited to simulate phone calls. Do this by typing:

./call_test.sh and pressing enter.