Skip to content

Latest commit

 

History

History
77 lines (54 loc) · 2.97 KB

README.md

File metadata and controls

77 lines (54 loc) · 2.97 KB

PoC .NET - Asterisk

wakatime Maintainability Test Coverage CodeFactor GitHub license GitHub last commit Build status

🔬 This project is a proof-of-concept (PoC) implementation of integrating Asterisk PABX IP with .NET. It demonstrates how to interact with and utilize Asterisk's functionalities programmatically using the .NET framework.


Getting Started

Prerequisites

To work with this project, you need the following tools installed:

  • Docker: For running the Asterisk container. Install from Docker.
  • .NET SDK: Install the latest version from Microsoft .NET Download.
  • Git: For cloning the repository. Download from Git.

Setting Up the Environment

  1. Clone the repository:

    git clone https://github.com/GuilhermeStracini/POC-dotnet-Asterisk.git
    cd POC-dotnet-Asterisk
  2. Run the Asterisk Docker container:

    docker run -d --name asterisk \
      -p 5060:5060 \
      -p 5061:5061 \
      -p 8088:8088 \
      -v $(pwd)/asterisk-config:/etc/asterisk \
      mlan/asterisk
  3. Restore project dependencies:

    dotnet restore
  4. Build the project:

    dotnet build
  5. Run the application:

    dotnet run

Resources

Features

  • Integration with Asterisk PABX: Demonstrates communication and control of Asterisk through .NET.
  • SIP Protocol Support: Utilize SIP for managing VoIP calls.
  • REST API Extensions: Extend Asterisk's capabilities with REST API support.

Contributing

Contributions are welcome! Feel free to fork the repository, create a new branch, and submit a pull request with your improvements or ideas.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Happy coding! 🎉