pjsip | Unofficial mirror/fork of http
kandi X-RAY | pjsip Summary
kandi X-RAY | pjsip Summary
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
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pjsip
pjsip Key Features
pjsip Examples and Code Snippets
Community Discussions
Trending Discussions on pjsip
QUESTION
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:38I 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)
QUESTION
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:37You can do like this:
QUESTION
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:44I 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.
QUESTION
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:08It was a server problem. Works well after upgrade server and add a=crypto attribute into SDP.
QUESTION
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.
- Download the source for PjProject and extract the source using 7Zip.
- Added a config_site.h file in the pjlib\include\pj.
- Using Visual Studio 2022, Open PjProject and select pjsua as the source project.
- Setting up the configuration for the project as -> Debug-Static for x64. and Build.
- 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.
- Now, I downloaded the latest source of MicroSIP 3.20.7 from the official website and extracted the source code using 7Zip.
- 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}
- 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.
unresolved external symbol pjmedia_get_vid_subsys referenced in function "public: void __cdecl CmainDlg::OnTimer(unsigned __int64)" (?OnTimer@CmainDlg@@QEAAX_K@Z)
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:30It might be missing
QUESTION
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:
Got the source of latest version of PjProject and loaded the project in Visual Studio 2022.
Mention the Opus Include directory and Opus Library Directory after compiling and building LibOpus.
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:38After a long try I get the solution as following:
- 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.
QUESTION
How can i read below message: connection established while making call in pjsip pjsua2 for android app.
...
ANSWER
Answered 2021-Oct-27 at 09:08you 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
QUESTION
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:06I 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
QUESTION
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:08I solved this problem by commenting out two lines of code at dshow_dev.c file:
QUESTION
./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:41Some 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):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pjsip
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page