freeswitch | Software Defined Telecom Stack enabling the digital | TCP library

 by   signalwire C Version: v1.10.9 License: Non-SPDX

kandi X-RAY | freeswitch Summary

kandi X-RAY | freeswitch Summary

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

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device. Combined with our hosted cloud platform, SignalWire, FreeSWITCH can interconnect with the outside world and scale to any size. Visit or for more info.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              freeswitch has a medium active ecosystem.
              It has 2382 star(s) with 1127 fork(s). There are 131 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 549 open issues and 568 have been closed. On average issues are closed in 178 days. There are 200 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of freeswitch is v1.10.9

            kandi-Quality Quality

              freeswitch has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              freeswitch 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

              freeswitch releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.
              It has 89548 lines of code, 2124 functions and 1032 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            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 freeswitch
            Get all kandi verified functions for this library.

            freeswitch Key Features

            No Key Features are available at this moment for freeswitch.

            freeswitch Examples and Code Snippets

            No Code Snippets are available at this moment for freeswitch.

            Community Discussions

            QUESTION

            Using FreeSwitch Embedded, getting heap corruption error. No error targeting Framework 4.0, does happen with all later Framework
            Asked 2022-Feb-28 at 22:28

            I have code that is working targeted to .NET Framework 4.0, which is no longer MS supported. You can not even install .NET Framework 4.0 SDK to newest versions of Visual Studio. I am attempting to update to a later framework, preferably 4.7.2 for widest compatibility, but 4.6.1 would be acceptable as I can at least have the SDK available in my IDE. Code compiles without any errors. 64 bit would be a nice bonus, but not a requirement.

            The error happens at the first call to initialize the FreeSWITCH.Managed.dll as outlined here:

            FreeSwitch embedded

            Relevant code here:

            ...

            ANSWER

            Answered 2022-Feb-28 at 22:28

            Actually got this working now.

            The answer was fairly straight forward, I updated the DLL to the latest from FreeSwitch instead of trying to use the same ancient version the old .NET 4.0 code had been using.

            The newer DLL will only run as 64 bit whereas the old ones would only run in 32 bit. So keeping an archive copy of the old programs for any 32 bit users will be necessary, but can finally get to actually updating the code now.

            There is an MSI installer that has all the updated libraries linked from the FreeSwitch webpage for Windows installation.

            FreeSwitch Windows Install Page

            Do Note: With the updated DLL, all the ref keyword on calls to the FreeSwitch libraries will need to be changed to out keyword.

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

            QUESTION

            cant install mod_python3 on freeswitch
            Asked 2022-Feb-22 at 06:02

            I have installed Freeswitch-mod-python3 on my freeswitch box running version 1.10.7. I then uncommented out the python3 line in the module.conf file. Then did a reloadxml, this reloaded successfully. When I do a "module_exists mod_python3" I get false. Then I tried to load it and the error I get is below, which is weird cause python3.so is a file in that directory and has the same permissions as every other file in that dir. I have rebooted the box as well as restarted FS and no luck. What else can I try?

            ...

            ANSWER

            Answered 2022-Feb-22 at 06:02

            This worked for me:

            apt-get install freeswitch-mod-python3

            Then I loaded the module by adding it to the end of my autoload_configs/modules.conf.xml

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

            QUESTION

            freeswitch can't receive b-leg dtmf during calling to an agent of callcenter for at least 60 seconds
            Asked 2021-Dec-02 at 06:06

            As the title says, I have a problem of getting dtmf digits from b-leg. When I call a queue in callcenter, the two legs can be bridged. But It doesn't have any reaction when I press '*7' on my b-leg telephone.

            Here is the dialplan:

            ...

            ANSWER

            Answered 2021-Nov-03 at 03:04

            I know how to fix it now. It's cause by freeswitch set 2833 dtmf send payload to 105 recv payload to 101, but the telephone still send 105 dtmf payload type to freeswitch. I modified 'rfc2833-pt' in sip_profiles/internal.xml to '105' and it worked for me.

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

            QUESTION

            From Freeswitch CHANNEL_HANGUP events determine which part has disconnected a call
            Asked 2021-Oct-04 at 09:12

            Is it possible from FreeSWITCH CHANNEL_HANGUP event (or others) determine who has disconnected a call?

            ...

            ANSWER

            Answered 2021-Oct-04 at 09:12

            I have resolved this by inspecting the following SIP header - 'sip_hangup_disposition'

            Link to the corresponding documentation https://freeswitch.org/confluence/display/FREESWITCH/sip_hangup_disposition

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

            QUESTION

            Implement ESL in amazon connect
            Asked 2021-Sep-18 at 22:31

            In Amazon connect, I need to pass call flow to an external application via a socket and control the call from that application .

            Something like ESL in Freeswitch: Event Socket Library

            For those who do not know what ESL is, it pass the call to a socket in external application and get command from that application like Play, Disconnect

            And then all commands are available in ESL library in Freeswitch.

            Does amazon connect have such ability?

            Thanks

            ...

            ANSWER

            Answered 2021-Sep-18 at 16:15

            Yes, you can start connection using websockets

            As per AWS manual for the Amazon Connect Participant Service:

            Method CreateParticipantConnection creates the participant's connection. Note that ParticipantToken is used for invoking this API instead of ConnectionToken.

            The response URL for WEBSOCKET Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.

            Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.

            Request Syntax

            ``POST /participant/connection HTTP/1.1 X-Amz-Bearer: ParticipantToken Content-type: application/json

            { "Type": [ "string" ] }``

            URI Request Parameters

            The request uses the following URI parameters.

            ParticipantToken

            This is a header parameter.

            The Participant Token as obtained from StartChatContact API response.

            Length Constraints: Minimum length of 1. Maximum length of 1000.

            Required: Yes

            Request Body

            The request accepts the following data in JSON format.

            Type

            Type of connection information required.

            Type: Array of strings

            Array Members: Minimum number of 1 item.

            Valid Values: WEBSOCKET | CONNECTION_CREDENTIALS

            Sample GO code

            Source

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

            QUESTION

            Unable to retrieve Duration from freeswitch using ESL
            Asked 2021-Aug-27 at 04:43

            I am new to FreeSWITCH and I am trying to apply click-to-call in my NodeJs application.

            This is my code when executing click-to-call, I use the 'originate command', this is my reference

            ...

            ANSWER

            Answered 2021-Aug-26 at 06:06

            Use the CHANNEL_HANGUP_COMPLETE event for this purpose.you:

            it gives following response ...

            variable_billsec: 17

            variable_billmsec: 16660

            variable_billusec: 16660036

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

            QUESTION

            Checking if a session is bridged to another one
            Asked 2021-May-23 at 14:40

            I've got a js Freeswitch script where caller has to call another number after a digit.
            I've just made a bridge in this way

            ...

            ANSWER

            Answered 2021-May-23 at 14:40

            QUESTION

            Freeswitch doesn't seek back
            Asked 2021-May-16 at 14:32

            I'm trying to get rid of controlling audio played via session.streamFile() in Freeswitch. For this I tried the 3rd example of this documentation.

            Almost everything here is working, but the DTMF 1 (seek:-500) doesn't seek back. It always starts from the beginning (like seek:0). What could be the reason here? I'm using exactly the example.

            Code:

            ...

            ANSWER

            Answered 2021-May-16 at 14:32

            Meanwhile I found the reason. It belongs to the samplerate. Freeswitch prefers wav's with a samplerate of 16000. Others are working too, but makeing trouble with seeking etc.

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

            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

            Call timed out (error 1006) - bigbluebutton
            Asked 2020-Nov-17 at 18:58

            I have installed bigbluebutton on my serverand it was working properly but suddenly microphone can not connect anymore and after a while being stucked in "echo test" i'll get 1006 error and i have tested:

            ...

            ANSWER

            Answered 2020-Aug-30 at 16:52

            run the command:

            sudo nano /etc/bigbluebutton/nginx/sip.nginx

            something like this will open:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install freeswitch

            FreeSWITCH is available on Github in source code format. You can checkout the development branch and build for many popular platforms including Linux, Windows, MacOSX and BSD. There is an issue tracker and pull request system available as part of the repo online. See https://freeswitch.com/#getting-started for more detailed instructions.
            Step by step tutorials to install FreeSWITCH from packages or source code are available at:.
            Debian 10 Buster [Recommended]
            Raspberry Pi
            CentOS 7

            Support

            The main index for documentation is available at:.
            Find more information at:

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

            Find more libraries

            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 signalwire

            signalwire-node

            by signalwireTypeScript

            signalwire-python

            by signalwirePython

            libks

            by signalwireC

            libstirshaken

            by signalwireC

            signalwire-php

            by signalwirePHP