Git Product home page Git Product logo

install-kamailio-in-debian-11.6's Introduction

Install Kamailio in Debian 11.6

  1. apt search kam

  2. apt install kamailio kamailio-mysql-modules -y

  3. apt install mariadb-server -y

  4. systemctl enable mariadb

  5. systemctl start mariadb

  6. Entry kamctlrc nano /etc/kamailio/kamctlrc

  7. Uncomment the DBENGINE parameter by removing the pound symbol and make sure the value equals MYSQL. The parameter should look like this afterwards: DBENGINE=MYSQL nano /etc/kamailio/kamctlrc

  8. Uncomment and setup the Database Read/Write and Database Read/Only fields. You can just use the default values for right now and you can change them at a later time.

    database read/write user

    DBRWUSER="kamailio"

    password for database read/write user

    DBRWPW="kamailiorw"

    database read only user

    DBROUSER="kamailioro"

    password for database read only user

    DBROPW="kamailioro"

  9. Create the Kamailio Database Schema /usr/sbin/kamdbctl create

  10. Yes in all de question

  11. Entry in kamailio.cfg vi /etc/kamailio/kamailio.cfg

  12. Add the following after #!KAMAILIO #!define WITH_MYSQL #!define WITH_AUTH

  13. Update the DBURL line to match the username and password you set in /etc/kamailio/kamctlrc earlier The line looks like this by default: #!trydef DBURL "mysql://user:password@localhost/kamailio"

    Ex: #!trydef DBURL "mysql://kamailio:kamailiorw@localhost/kamailio"

  14. Start the Kamailio Server service start kamailio

Test Kamailio

  1. Create SIP User Accounts kamctl add [email protected] opensourceisneat

  2. configure the 3cx to exten user: 1001 pass: dopensource.com IP:

  3. Check register kamctl ul show

Link the tutorial original: https://dopensource.com/2019/05/15/kamailio-v52-debian-quick-install/

install-kamailio-in-debian-11.6's People

Contributors

felipemerenciooficial avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.