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.
To connect to the Asterisk server, please use Session Manager within the EC2 console.
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
.
sudo yum groupinstall "Development Tools"
git clone https://github.com/pjsip/pjproject.git
pushd pjproject/
./configure && make dep && make clean && make
popd
- Unzip and copy the recordings from the /recordings folder to into
/root/recordings/
. - Copy
call_2hr_test.sh
,call_test.sh
, andconc_call_test.sh
into/root
- Copy all the recordings also into
/var/lib/asterisk/sounds/en/
Edit the .sh files with your favoite text editor.
Change the top three environment variables with the values from LCA:
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.CALLER_PHONE_NUMBER
: This is a 10 digit phone number of your choosing, that will emulate a caller.AGENT_PHONE_NUMBER
: This is the phone number of your LCA PBX installation. You can find it in the LCA CloudFormation output with the keyDemoPBXPhoneNumber
.
Example:
CALLER_VC_ENDPOINT='abcdefg.voiceconnector.chime.aws'
CALLER_PHONE_NUMBER='+1703AAABBBB'
AGENT_PHONE_NUMBER='+1618CCCDDDD'
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.