/producer_rmq_fsevent

RabbitMq Producer that will listen for freeswitch events and publish to rabbitmq

Primary LanguageGo

Contributors Forks Stargazers Issues LinkedIn


producer_rmq_fsevent

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. Contact
  6. Acknowledgments

About The Project

producer_rmq_fsevent: It will subcribe to freeswitch events and push it them to rabbitmq.

(back to top)

Built With

(back to top)

Getting Started

producer_rmq_fsevent is rabbitmq producer written in golang. It will subcriber the freeswitch events over esl and push them to rabbitmq queue.

Prerequisites

  • rabbitmq for freeswitch events
  • freeswitch to which producer_rmq_fsevent can connect and subcribe the freeswitch events
  • golang for build and run the producer_rmq_fsevent

Installation

  1. Clone the repo
    git clone https://github.com/surendratiwari3/freeswitch_rmq_fsevent.git
  2. Change directory to clone repository and Install go dependency
    cd freeswitch_rmq_fsevent
    go mod download
  3. Compile and build the package
    go build -o freeswitch_rmq_fsevent main.go
  4. Set the environment variable
    export RABBITMQ_URI=amqp://admin:admin@127.0.0.1:5672/
    export RABBITMQ_QUEUE=call_queue_stats
    export FS_ADDR=127.0.0.1:8021
    export FS_PASS=ClueCon
  5. Run the package
    ./freeswitch_rmq_fsevent

(back to top)

Roadmap

  • [] Multiple Queue Support Based on Events
  • [] Logging Support

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Project Link: https://github.com/surendratiwari3/producer_rmq_fsevent

(back to top)

Acknowledgments

(back to top)