IraDialer Debugging tools

The debugging tools can be accessed from the following location.


Debian:

/opt/epi/script/tools

Windows:

c:\<tenant_id>\iradialer\script\tools


1. socket_client.py

This script helps to check the tcp/tls connectivity with remote endpoint. Use this tool to check if tcp/tls ports are open to chime/twilio gateway.

Usage:

python socket_client.py <gateway_name><port_no>


2. validate_json.py

This script is used to validate the serverdetails.json for any json errors.


3. testscript.py

Activate the venv:


Windows:

.\venv\Scripts\activate

Debian:

source /opt/epi/scripts/py/venv/bin/activate

Use this tool to make test calls. Modify the following parameters in the script.


1. Modify base_url, agent_gateway,customer_gateway, agent_phone_no,cust_phone_no, callFrom. Save the file.

2. Run the script using the command python testscript.py

3. Choose the option 21 to initiate agent call.