Skip to content

Generate Bulk Call using asterisk to perform load test

License

Notifications You must be signed in to change notification settings

adnanshoeb/tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

asteriskcallgenerator

AMI Event Monitor This script monitors events from an Asterisk Manager Interface (AMI) and logs specific events to a file.

Prerequisites

  1. Python 3 installed on your system
  2. Access to the Asterisk Manager Interface (AMI) with appropriate credentials
  3. Knowledge of the events you want to monitor and their corresponding event names Setup
  4. Clone or download the script to your local machine.
  5. Install any required Python dependencies (if applicable).
  6. Open the script and update the following variables with your configuration:
  7. AMI_HOST: The IP address of your Asterisk server.
  8. AMI_PORT: The port number for the AMI.
  9. AMI_USERNAME: Your AMI username.
  10. AMI_PASSWORD: Your AMI password.
  11. DID_TO_CALL: The destination DID you want to call.
  12. EVENT_TO_TRACK: The event you want to monitor (e.g., "Newstate" for call state changes).
  13. LOG_FILE: The path to the log file where event details will be stored.
  14. Save the changes to the script.

Usage

  1. Open a terminal or command prompt.
  2. Navigate to the directory containing the script.
  3. Run the script using the following command: Copy code python ami_event_monitor.py License This project is licensed under the MIT License - see the LICENSE file for details.

About

Generate Bulk Call using asterisk to perform load test

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages