pjsua | Docker version | Continuous Deployment library

 by   andrius Shell Version: Current License: No License

kandi X-RAY | pjsua Summary

kandi X-RAY | pjsua Summary

pjsua is a Shell library typically used in Devops, Continuous Deployment, Docker applications. pjsua has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

SIP user agent (cli) based on PJSUA. Docker version
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pjsua has a low active ecosystem.
              It has 7 star(s) with 5 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 0 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pjsua is current.

            kandi-Quality Quality

              pjsua has 0 bugs and 0 code smells.

            kandi-Security Security

              pjsua has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pjsua code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pjsua does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              pjsua releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              It has 26 lines of code, 0 functions and 2 files.
              It has low 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 pjsua
            Get all kandi verified functions for this library.

            pjsua Key Features

            No Key Features are available at this moment for pjsua.

            pjsua Examples and Code Snippets

            No Code Snippets are available at this moment for pjsua.

            Community Discussions

            QUESTION

            Building MicroSIP 3.20.7: Showing error "Unresolved External Symbols"
            Asked 2022-Jan-28 at 11:45

            I am trying to build MicroSIP version 3.20.7 for Windows 10 64-bit Operating System.

            I already build PjProject (As mentioned in the documentation) and obtained all the .lib files for the same and now I am trying to use those .lib files for building MicroSIP as mentioned in the documentation over their website.

            But I fall for an error of Unresolved External Symbols that is LNK2019 / LNK2001 / LNK1120.

            (An image for the reference have been attached)

            I am concluding with following steps.

            1. Download the source for PjProject and extract the source using 7Zip.
            2. Added a config_site.h file in the pjlib\include\pj.
            3. Using Visual Studio 2022, Open PjProject and select pjsua as the source project.
            4. Setting up the configuration for the project as -> Debug-Static for x64. and Build.
            5. After a successfull build I got all the .lib files for the PjProject and successfully deployed the pjsua project showing a cli menu for PjSIP.
            6. Now, I downloaded the latest source of MicroSIP 3.20.7 from the official website and extracted the source code using 7Zip.
            7. Setting the configuration for the project as Debug for x64, and including all the header files and library files from windows kit as well as the other media libraries to the Include Directories and Library Directories {Opus, SDL2, FFMPEG,x264, VPX, PjProject}
            8. I started to build the MicroSIP 3.20.7 and obtained the MicroSIP.lib file successfully.

            But at the last where the build must give an executable file for MicroSIP, there are the list of error stating Unresolved External Symbols {LNK2019 / LNK2001 / LNK1120}

            Below is the link to the image having all the error in console windows.

            The error states the following message.

            1. unresolved external symbol pjmedia_get_vid_subsys referenced in function "public: void __cdecl CmainDlg::OnTimer(unsigned __int64)" (?OnTimer@CmainDlg@@QEAAX_K@Z)

            2. unresolved external symbol pjmedia_vid_dev_refrence referenced in function "public: void __cdecl CmainDlg::OnTimer(unsigned __int64)" (?OnTimer@CmainDlg@@QEAAX_K@Z).

            etc there are other 17 error (Kindly take the refrence of above image.)

            Below is the link to the image having error logged in output tab.

            These are the message logged into the output tab

            ...

            ANSWER

            Answered 2022-Jan-04 at 19:30

            QUESTION

            Error while Compiling Opus Library with PjSip {PJSUA}
            Asked 2022-Jan-27 at 05:38

            I am trying to compile and build PjProject {PJSUA}, with both audio and video support into it. But falling into the errors everytime which is Unresolved_External_Symbols.

            I am building this project for Windows-32-BIT using Visual Studio 2022 and toolchain set latest version that is v143.

            I want to intialize the various codec {OPUS, OPENH264, FFMPEG, OPENSSL, SDL etc}. I will just ask about the OPUS LIBRARY.

            The steps are as follows:

            1. Got the source of latest version of PjProject and loaded the project in Visual Studio 2022.

            2. Mention the Opus Include directory and Opus Library Directory after compiling and building LibOpus.

            3. Making PJSUA as source project and Setting configuration as Debug-Static-Win32 and start building the project.

            NOTE

            • Other addition dependencies such as SDL header and lib file have been included already.
            • The config_site.h have been used to define the codec use {#define PJMEDIA_HAS_OPUS_CODEC 1}

            The error that I have received into the error log are as following:

            ...

            ANSWER

            Answered 2022-Jan-27 at 05:38

            After a long try I get the solution as following:

            1. In config_site.h we need to mention and activate our codec for compilation as #define PJMEDIA_HAS_OPUS_CODEC

            #define PJMEDIA_HAS_OPUS_CODEC must be active througout the program and rest function line that is #define PJMEDIA_HAS_OPUS_CODEC 1 must be clearly removed from the program to find the ease for the compilation which will ommit out the different function those are called during the build.

            I would still refer that while building on windows use Microsoft Visual Studio latest Version along with the latest toolset to compile and built different programs for a Single Linker.

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

            QUESTION

            UnsatisfiedLinkError when run System.loadLibrary
            Asked 2020-Sep-17 at 10:44

            I am using pjsip library through android ndk. I used Android NDK 16 to compile pjsip. One user (HTC One, Android 5.0.2) faced a lot of crashes while trying to start our project. This is the error:

            ...

            ANSWER

            Answered 2020-Sep-17 at 10:44

            You probably compiled binaries with a higher API Level.

            This is how they are defined in stdio.h

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

            QUESTION

            Should I call pjsua_call_make_call (pj::Call::makeCall) in a background thread?
            Asked 2020-Aug-07 at 13:42

            I am developing a multi-account SIP softphone with custom media transport. I need to manage multiple calls simultaneously. I have read in "PJSUA2 Book" (3 PJSUA2-High Level API / General concepts / Asynchronous Operations):

            (...) all operations that involve sending and receiving SIP messages are asynchronous, meaning that the function that invokes the operation will complete immediately (...) When this function [pj::Call::makeCall] returns successfully, it does not mean that the call has been established, but rather it means that the call has been initiated successfully. You will be given the report of the call progress and/or completion in the onCallState() callback method of Call class.

            So I thought that I could call pj::Call::makeCall whenever/wherever I needed to initiate a call, the function would return nearly immediately and any progress would be reported in the callback methods. But today in my test environment I noticed a few seconds delay between the moment I called the function and it returned. Below there are detailed PJSIP logs that appear between makeCall is called and it returned. One can see almost 4s gap before "RTP socket reachable":

            ...

            ANSWER

            Answered 2020-Aug-07 at 13:42

            After even more research I can reply to my own question. Maybe it could help someone...

            I discovered makeCall triggered two DNS queries for localhost which failed after nearly 2 second each. That would make nearly 4 second gap.

            The solution is to disable localhost IP address resolution completely by adding #define PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION 1 into the pjlib/include/pj/config_site.h configuration file and recompile the PJSIP library.

            The issue turned out to be already known and has been resolved in case of iOS: https://trac.pjsip.org/repos/ticket/1342

            There was somebody else who experienced the same problem on Linux: https://www.spinics.net/lists/pjsip/msg20517.html

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

            QUESTION

            Convert PCM WAV to normal WAV in python
            Asked 2020-Jul-03 at 15:20

            I was using speech_recognition with a wav file that pjsua recorded, and it always ends with an error msg when I try to send the content of the file.

            Audio file could not be read as PCM WAV, AIFF/AIFF-C, or Native FLAC; check if file is corrupted or in another format

            The file plays normally using MPV, and inspecting the file show that it's a PCM (I used the file command).

            test2.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 16000 Hz

            Looking up, I found a guy with a similar problem, the proposed solution (change a few parameters using the wave library) did not work out to me. After I use the wav.setparams((2, 2, 44100, 0, 'NONE', 'NONE')) the audio became complete garbage, like ant's talking.

            I really don't understand enough about sound files to understand what the "channels", "sampwidth", "framerate", "nframes", "comptype" and "compname" means...

            ...

            ANSWER

            Answered 2020-Jul-03 at 15:20

            You've misunderstood the error message. PCM is intrinsic to the wave file format. There is no "PCM" version, and then a "Normal" version - The wave file format always uses Pulse Code Modulation (PCM) - that really just means that the samples that make up your signal are quantized digitally and contiguous. If your speech_recognition function can't parse the wave file, it's not because of anything related to PCM.

            I don't know anything about the SpeechRecognition module (I'm assuming that's what you're using?). I also don't know anything about pjsua. My guess is that pjsua is possibly baking in some additional chunks in the header meta-data, which the SpeechRecognition API isn't expecting. Is there any chance you can share the wave file via dropbox, etc?

            Also, the reason your audio sounded like "ants talking" is because of the discrepency between the meta-data your wave file contains, and the meta-data you wrote to your new wave file. Your wave file is mono - that means one channel, you wrote two. Your file also has a samplerate of 16khz, but you wrote 44.1khz.

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

            QUESTION

            Pjsua (pjsip client) does not want use TCP
            Asked 2020-May-18 at 07:57

            I'm trying to make a SIP request to a SIP server, using pjsua, a SIP client by pjsip (version 2.10, 2020-02-14). Starting the client this way:

            ...

            ANSWER

            Answered 2020-May-18 at 07:57

            You should add ;transport=tcp to your request URI each time.

            You can read more here (link)

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

            QUESTION

            PJSUA: verbosity of debug information on the application console
            Asked 2020-Feb-26 at 15:47

            If I create an application using PJSUA, then after the pjsua_create() system call, a huge amount of debugging information falls onto the console of my application. This is convenient at the development stage, but after it interferes with the work with programm.

            How can you predefine verbosity level of this debugging information? So that when pjsua_create() is called, it is already set.

            Thank you for the informative answers.

            ...

            ANSWER

            Answered 2020-Feb-26 at 15:47

            You can do this by calling pj_log_set_level(int level) (link) for example before pj_init(). Also you can define PJ_LOG_MAX_LEVEL const in config_site.h with value suited to your needs at compilation time.

            This also may be interesting for you (link).

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install pjsua

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/andrius/pjsua.git

          • CLI

            gh repo clone andrius/pjsua

          • sshUrl

            git@github.com:andrius/pjsua.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