pjsip | Unofficial mirror/fork of http

 by   chakrit C Version: Current License: GPL-2.0

kandi X-RAY | pjsip Summary

kandi X-RAY | pjsip Summary

pjsip is a C library. pjsip has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Copyright (C) 2003-2008 Benny Prijono benny@prijono.org Copyright (C) 2008-2011 Teluu Inc. (This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see Getting Started: Building and Using PJSIP and PJMEDIA. [Last Update: $Date: 2007-02-02 20:42:44 +0000 (Fri, 02 Feb 2007) $]. This article describes how to download, customize, build, and use the open source PJSIP and PJMEDIA SIP and media stack. The online (and HTML) version of this file can be downloaded from
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

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

            kandi-Quality Quality

              pjsip has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              pjsip is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              pjsip 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 16992 lines of code, 673 functions and 343 files.
              It has high 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 pjsip
            Get all kandi verified functions for this library.

            pjsip Key Features

            No Key Features are available at this moment for pjsip.

            pjsip Examples and Code Snippets

            No Code Snippets are available at this moment for pjsip.

            Community Discussions

            QUESTION

            How to properly forward/redirect calls with pjsua2
            Asked 2022-Mar-18 at 16:38

            I can't find info on the net how to forward a call with pjsua2. Currently Im trying with the xfer method but Im getting:

            ...

            ANSWER

            Answered 2022-Mar-18 at 16:38

            I did something like this and works, dont know if some other way exist:

            (answering with no media, setting flag and in other thread xfering call to fwd_to string)

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

            QUESTION

            PJSIP version and update
            Asked 2022-Mar-07 at 22:37

            How can I determine the version of PJSIP library installed on my Asterisk server in CentOS platform? Also, how can I update the mentioned library?

            ...

            ANSWER

            Answered 2022-Mar-07 at 22:37

            QUESTION

            pjsua2 hangs at makeCall() after 1-2 calls
            Asked 2022-Feb-27 at 14:44

            I started writing application with Qt5, Im running pjsua2_demo.cpp from pjproject-2.9/pjsip-apps/src/samples/ in a QThread with infinite while(1) loop to leave pjsua2 running forever.

            When I make 1-2 calls it blocks/hangs at the makeCall() function here:

            ...

            ANSWER

            Answered 2022-Feb-27 at 14:44

            I solved the problem, it was the version of pjproject. Now I tried with v2.10 and everything fine.

            v2.12 and v2.11 don't work because they give me undefined references when I compile the demo app.

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

            QUESTION

            PJSUA2: Error creating SDP answer: SRTP crypto attribute required
            Asked 2022-Feb-24 at 13:08

            I'm trying to use the latest version of pjsip for android https://github.com/VoiSmart/pjsip-android.

            And got an error for incoming call:

            ...

            ANSWER

            Answered 2022-Feb-24 at 13:08

            It was a server problem. Works well after upgrade server and add a=crypto attribute into SDP.

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

            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

            How to read specific content(sip info request ) from PJSIP header files?
            Asked 2021-Oct-27 at 09:08

            How can i read below message: connection established while making call in pjsip pjsua2 for android app.

            ...

            ANSWER

            Answered 2021-Oct-27 at 09:08

            you will require. onCallTsxState call back function from call class to listen to Sip message shared during the call. I have already answered here at below link link

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

            QUESTION

            pjsip (pjsua2) - opus codec for windows
            Asked 2021-Oct-24 at 08:06

            is it possible to build pjsip with opus-codec for windows as dll? I built pjsua2.dll alone but seems no way to use opus with it.

            ...

            ANSWER

            Answered 2021-Oct-24 at 08:06

            I downloaded opus and pjsip , opened pjsip from visual studio solution, added opus projects to solution and made reference to them from libpjpproject, then build it using this link link

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

            QUESTION

            If I set AccountVideoConfig::autoTransmitOutgoing false in pjsip sdk, I can not show window remote
            Asked 2021-Sep-28 at 02:08

            If I set AccountVideoConfig::autoTransmitOutgoing false in pjsip sdk, I can not show window remote, and the screen is green without video data, I do not know why? But by the note, if AccountVideoConfig::autoTransmitOutgoing be set false, it just will not send video data to remote, and can receive and show window from remote. What has happen?

            This is my code:

            ...

            ANSWER

            Answered 2021-Sep-28 at 02:08

            I solved this problem by commenting out two lines of code at dshow_dev.c file:

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

            QUESTION

            aarch64-linux-gnu-gcc Cross Complier for arm fails
            Asked 2021-Sep-27 at 12:41
            ./configure --host=arm-elf-linux  CC=aarch64-linux-gnu-gcc --disable-sdl --disable-ffmpeg --disable-v4l2 --disable-openh264 --disable-libwebrtc --disable-libyuv
            
            make dep && make
            
            ...

            ANSWER

            Answered 2021-Sep-27 at 12:41

            Some of the libraries to link may not be built with the same toolchain. You can check with objdump.

            Example (The "file format" may not be the exact result in your case):

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install pjsip

            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/chakrit/pjsip.git

          • CLI

            gh repo clone chakrit/pjsip

          • sshUrl

            git@github.com:chakrit/pjsip.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