kamailio | Open Source SIP Server for large VoIP | TCP library

 by   kamailio C Version: 5.7.0 License: Non-SPDX

kandi X-RAY | kamailio Summary

kandi X-RAY | kamailio Summary

kamailio is a C library typically used in Networking, TCP applications. kamailio has no bugs and it has medium support. However kamailio has 9 vulnerabilities and it has a Non-SPDX License. You can download it from GitHub.

Kamailio is an open source implementation of a SIP Signaling Server. SIP is an open standard protocol specified by the IETF. The core specification document is RFC3261.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              kamailio has a medium active ecosystem.
              It has 1907 star(s) with 849 fork(s). There are 163 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 100 open issues and 1577 have been closed. On average issues are closed in 13 days. There are 11 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of kamailio is 5.7.0

            kandi-Quality Quality

              kamailio has 0 bugs and 0 code smells.

            kandi-Security Security

              OutlinedDot
              kamailio has 9 vulnerability issues reported (6 critical, 2 high, 1 medium, 0 low).
              kamailio code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              kamailio has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              kamailio releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kamailio
            Get all kandi verified functions for this library.

            kamailio Key Features

            No Key Features are available at this moment for kamailio.

            kamailio Examples and Code Snippets

            No Code Snippets are available at this moment for kamailio.

            Community Discussions

            QUESTION

            Why append HF doesn't work in event_route?
            Asked 2022-Mar-31 at 10:48

            I'm trying to connect kamailio to Microsoft Teams. Dispatch is correctly configured and sended. Following this tutorial : https://skalatan.de/en/blog/kamailio-sbc-teams, I added an Event_Route to add contact header to SIP OPTION from dispath to MS :

            ...

            ANSWER

            Answered 2022-Jan-27 at 10:10

            Changes to the SIP message headers are not visible immediately, see:

            If it would be inside request_route, then you would be able to use msg_apply_changes(), but in this case you can just look at what is sent out and Contact should be there. Being over TLS, you can use modules like sipdump or siptrace to view the incoming/outgoing SIP traffic.

            Source https://stackoverflow.com/questions/70860179

            QUESTION

            ICE restart with SIP.js
            Asked 2022-Jan-31 at 16:29

            What is the proper procedure to do ICE restart when using SIP.js? (v0.20.0)

            This is what I'm trying:

            ...

            ANSWER

            Answered 2022-Jan-31 at 16:29

            Found solution that fixed my problem:

            Source https://stackoverflow.com/questions/70787567

            QUESTION

            kamailio: how to send replies with port number in VIA header
            Asked 2021-Mar-20 at 00:59

            using kamailio version 5.4v

            Please help me with a way to send replies/forwards to include VIA header with port, because i can see that its just sending IP but not the port in VIA header.

            my kamailio cfg file for route & route relay looks like below.

            ...

            ANSWER

            Answered 2021-Mar-20 at 00:59

            You are interested in advertised_port probably

            https://www.kamailio.org/wiki/cookbooks/5.4.x/core

            Please note, SIP RFC allow not to send port if that port is 5060 udp.

            Source https://stackoverflow.com/questions/66656768

            QUESTION

            Is there any way to answer a call or originate a call by Kamailio?
            Asked 2021-Mar-01 at 05:51

            I know that Kamailio works as a SIP Proxy and I also know that Asterisk/FreeSWITCH or other similar products can do what I'm asking here, but still wondering if it's possible to use Kamailio to answer a call or originate a call?

            Let's say, "User ---> Kamailio", Kamailio answer the call with "200 OK to INVITE", and then play an announcement "Thank you for using Kamailio", then BYE the call?

            I can't find any related information so I guess the answer is no, but still want to double check.

            Many thanks in advance.

            ...

            ANSWER

            Answered 2021-Feb-27 at 22:59

            You can answer and play message if you use kamailio with mediaproxy.

            Mediaproxy docs have some samples.

            Originate is problematic and unreasonable in most cases, but there is https://www.kamailio.org/docs/modules/devel/modules/rtimer.html

            Much simple method is use SIPP or perl/python sip module(external), after that rewrite call in kamailio as you wish.

            Source https://stackoverflow.com/questions/65631975

            QUESTION

            kamailio: how to get a value from SIP INVITE Header
            Asked 2020-Dec-06 at 17:04

            Please help me to get the a value from SIP INVITE header reached to kamailio like INVITE sip:+341930203454@sub.domain.com;myid=+34@sub.domain.com SIP/2.0 and i want to save the myid value +34 into a variable, without the domain name.

            ...

            ANSWER

            Answered 2020-Oct-15 at 18:47

            I think something like this will work:

            Source https://stackoverflow.com/questions/64305780

            QUESTION

            how to make kamailio serial forking?
            Asked 2020-Sep-29 at 19:55

            @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

            I am a beginner in kamailio server development, and I want to make serial forking, but that doesn't work.

            My kamailio server replies Too Many Hops (code: 483) and end the call. can someone helps me please.

            @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

            I use this code :

            ...

            ANSWER

            Answered 2020-Sep-29 at 19:55

            Problem is that in your config your serial forking route runs before looking into Kamailio location DB. So after first fork to 1001@192.168.50.131 you need somehow to route call to part where Kamailio looks into location DB, in default config it is route(LOCATION). Something like this:

            Source https://stackoverflow.com/questions/64124920

            QUESTION

            How to get Kamailio to set `Record-Route` header to internal IP for internal leg of call?
            Asked 2020-Sep-07 at 13:42

            I have Kamailio 5.4.1 (and RTPEngine) running on an internal server with a private IP address 172.31.7.96 and One-to-one NAT to an external IP address. The external IP is 192.0.2.100. (Note: The internal IP addresses are all unedited, but the public IPs have been replaced with TEST-NET-1 and TEST-NET-2 example addresses.) I will eventually be doing transcoding with RTPEngine, but for now this is a simple SIP Proxy.

            I have a Java application that sets up SIP calls running on an internal server with a private IP address 172.31.7.171. The Java application has set properties.setProperty("javax.sip.OUTBOUND_PROXY", "172.31.7.96"); to use Kamailio as an outbound SIP proxy.

            The Kamailio server is a stock Kamailio sample configuration with the following changes:

            ...

            ANSWER

            Answered 2020-Sep-07 at 13:42

            To resolve such an issue I switched to use IPv6 on internal SIP servers for signaling and IPv4 for RTP media.

            Source https://stackoverflow.com/questions/63760506

            QUESTION

            insert new timestamp value to acc table in kamailio
            Asked 2020-Jun-12 at 15:29

            Hi I want to add a new culomn to acc table.I created a new culomn in the acc table of type timestamp and named it ring_time. in every call i put the ring time to a $dlg_var like this:

            ...

            ANSWER

            Answered 2020-Jun-05 at 23:21

            Sounds like an error with the SQL INSERT query, if I had to guess I'd say you're being caught out by the date format in the SQL table not matching the date format you're pushing to it.

            I don't know the structure of your database, but there's a simple trick I use for debugging SQL queries when I can't see the query being run;

            Start up Wireshark/TCPdump on the machine and packet capture for all SQL traffic (MySQL is port 3306) and replicate the error. From the packet capture and you'll be able to see the Query Kamailio's database engine ran.

            Source https://stackoverflow.com/questions/62217772

            QUESTION

            Kamailio breaks RFC's 'Contact Header'
            Asked 2020-Apr-01 at 08:42

            Description I'm running Kamailio 5.2.0, whenever I relay an invite via Kamailio, my original contact header is changed from the original:

            ...

            ANSWER

            Answered 2020-Apr-01 at 08:42

            Apparently the topoh module was masking my headers, so I used this info - https://www.kamailio.org/docs/modules/devel/modules/topoh.html#idm1051179588 - to make an exception for this particular route.

            Source https://stackoverflow.com/questions/60914676

            QUESTION

            Are Kamailio pseudo-variables $var safe to use until the end of a single message handler?
            Asked 2020-Mar-25 at 19:35

            I'm using pseudo-variables $var in Kamailio because according to the documentation, they are faster than $dlg_var, but I'm wondering if it's safe to use them like this:

            ...

            ANSWER

            Answered 2020-Mar-10 at 03:47

            Values of $vars variables cleared at the start of new message loop.

            So for the single message, it is safe.

            Kamailio run X threads(configurable in config/at startup), the main loop send each message to one of threads. That way processing can go concurent and use all CPUs.

            Source https://stackoverflow.com/questions/60515540

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install kamailio

            Step by step tutorials to install Kamailio from source code are available at:. Please read the INSTALL file from the source code for more information.
            https://www.kamailio.org/wiki/start#installation
            deb: https://www.kamailio.org/wiki/packages/debs
            rpm: https://www.kamailio.org/wiki/packages/rpms

            Support

            Github pull requests are the recommended way to contribute to Kamailio source code or documentation:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/kamailio/kamailio.git

          • CLI

            gh repo clone kamailio/kamailio

          • sshUrl

            git@github.com:kamailio/kamailio.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular TCP Libraries

            masscan

            by robertdavidgraham

            wait-for-it

            by vishnubob

            gnet

            by panjf2000

            Quasar

            by quasar

            mumble

            by mumble-voip

            Try Top Libraries by kamailio

            kamailio-docker

            by kamailioShell

            kamcli

            by kamailioPython

            kamailio-wiki

            by kamailioCSS

            kamailio-docs

            by kamailioPython

            kamailio-tests

            by kamailioShell