BOM troubleshooting manual

 BOM Troubleshooting


Initiating makecall:

  • In Windows dialer server open powershell as administrator and navigate to C:\Epicode\script\py

  • Activate the virtual environment

./venv/Scripts/activate

  • Run make_call.py script.

Usage: python make_call.py <gateway> <to_number> <from_number>

python make_call.py "sofia/gateway/mh_airtel1" "<to_number>" "02040563540"


Setting kube config:

While running helm install command if you get an error as “Kubernetes cluster unreachable” or “connection refused” then run the below command and then try helm install.

export KUBECONFIG=/etc/rancher/k3s/k3s.yaml


To see SIP messages on fs_cli:

sofia global siptrace on


To turn it off.

sofia global siptrace off


Setting production hours:

Go to  set_queue_config.py in C:\Epicode\script\py folder and change the “working_hours'' field. Then run set_queue_config.py

python set_queue_config.py


Directory Structure:


Description

Path

make_call, add_gateway scripts

C:\Epicode\script\py

Event Logs

C:\Epicode\log

Recording files

C:\Epicode\recordings

Process Recordings

C:\Epicode\process_recordings

fs_cli

C:\ProgramFiles\Epicode\BotStream\IraSwitch

vars.xml

C:\ProgramFiles\Epicode\BotStream\IraSwitch\conf

---------------------------------------------------------------------------------------------------------------------------------------

Disk full:



Run this command from command prompt as administrator if you don't need any recordings:

del /f/s/q "C:\Epicode\recordings”

Note: This will delete all the files from the folder given.

Delete db files:

  1. Stop Iraswitch

  2. Delete all the files in the db folder(C:\ProgramFiles\Epicode\BotStream\IraSwitch\db).

  3. Start Iraswitch

---------------------------------------------------------------------------------------------------------------------------------

How to purge queue data:

  • In Windows dialer server open powershell as administrator and navigate to C:\Epicode\script\py

  • Activate the virtual environment

./venv/Scripts/activate

  • Run purge_queue.py script.

----------------------------------------------------------------------------------------------------------------------------------

To solve “no module named nats” error while running python scripts:

For Windows:

1. Activate venv: 

.\venv\Scripts\activate

2. Then run the python script


For Linux:

1. Activate venv: 

source venv/bin/activate

2. Then run the python script

----------------------------------------------------------------------------------------------------------------------------------

Error Disk or db is full:

Error Disk or db is full