Giter Site home page Giter Site logo

belledonnecommunications / linphone-desktop Goto Github PK

View Code? Open in Web Editor NEW
376.0 34.0 198.0 75.17 MB

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git

Home Page: https://linphone.org/

License: GNU General Public License v3.0

CMake 4.35% C++ 53.51% QML 38.81% JavaScript 2.53% Objective-C 0.08% Shell 0.50% Objective-C++ 0.23% Batchfile 0.01%
linphone desktop voip phone sip video call conference chat message

linphone-desktop's Introduction

pipeline status weblate status

Linphone Desktop

Linphone is an open source softphone for voice and video over IP calling and instant messaging.

It is fully SIP-based, for all calling, presence and IM features.

General description is available from Linphone web site

License

Copyright © Belledonne Communications

Linphone is dual licensed, and is available either :

  • under a GNU/GPLv3 license, for free (open source). Please make sure that you understand and agree with the terms of this license before using it (see LICENSE file for details).

  • under a proprietary license, for a fee, to be used in closed source applications. Contact Belledonne Communications for any question about costs and services.

Documentation

Parameters

--help : display available parameters.

--verbose : print logs into stdout/stderr.

--qt-logs-only : print only logs from the application. It strips SDK logs from the output.

Getting started

Here are the general instructions to build Linphone for desktop. The specific instructions for each build platform is described just below. You will need the tools :

For Desktop : you will need Qt5 (5.15 or newer). C++11 support is required!

Set your environment

  1. It's necessary to install the pip command and to execute:

     pip install pystache six
    
  2. You have to set the environment variable Qt5_DIR to point to the path containing the cmake folders of Qt5, and the PATH to the Qt5 bin. Example:

     Qt5_DIR="~/Qt/5.15.2/gcc_64/lib/cmake/Qt5"
     PATH="~/Qt/5.15.2/gcc_64/bin/:$PATH"
    

Note: If you have the third party tool qtchooser installed : eval "$(qtchooser -print-env)" export Qt5_DIR=${QTLIBDIR}/cmake/Qt5 export PATH=${QTTOOLDIR}:$PATH 3. For specific requirements, see platform instructions sections below.

Summary of Building steps

    `git clone https://gitlab.linphone.org/BC/public/linphone-desktop.git --recursive`
    `cd linphone-desktop`
    `mkdir build`
    `cd build`
    `cmake .. -DCMAKE_BUILD_PARALLEL_LEVEL=10 -DCMAKE_BUILD_TYPE=RelWithDebInfo`
    `cmake --build . --parallel 10 --config RelWithDebInfo`
    `cmake --install .`
    `./OUTPUT/bin/linphone --verbose` or `./OUTPUT/Linphone.app/Contents/MacOS/linphone --verbose`

Get sources

    git clone https://gitlab.linphone.org/BC/public/linphone-desktop.git --recursive        

Building : General Steps

The build is done by building the SDK and the application. Their targets are sdk and linphone-qt.

  1. Create your build folder at the root of the project : mkdir build Go to this new folder and begin the build process : cd build

  2. Prepare your options : cmake ... By default, it will try compile all needed dependencies. You can remove some by adding -DENABLE_<COMPONENT>=NO to the command. You can use cmake-gui .. if you want to have a better access to them. You can add -DCMAKE_BUILD_PARALLEL_LEVEL=<count> to do <count> parallel builds for speeding up the process. Also, you can add -DENABLE_BUILD_VERBOSE=ON to get more feedback while generating the project.

Note : For Makefile or Ninja, you have to add -DCMAKE_BUILD_TYPE=<your_config> if you wish to build in a specific configuration (for example RelWithDebInfo).

  1. Build and install the whole project : cmake --build . --target <target> --parallel <count> (replace <target> with the target name and <count> by the number of parallel builds).

Note : For XCode or Visual Studio, you have to add --config <your_config> if you wish to build in a specific configuration (for example RelWithDebInfo).

When all are over, the files will be in the OUTPUT folder in the build directory. When rebuilding, you have to use cmake --build . --target install (or cmake --install .) to put the application in the correct configuration.

Binaries inside other folders (like linphone-app and linphone-sdk) are not supposed to work.

  1. When doing some modifications in the SDK, you can rebuild only the SDK with the target sdk and the same for the application with linphone-qt-only

  2. In order to get packages, you can use cmake .. -DENABLE_APP_PACKAGING=YES. The files will be in OUTPUT/packages folder.

Update your project

  1. Update your project with :

     git fetch
     git pull --rebase
    
  2. Update sub-modules from your current branch

     git submodule update --init --recursive
    

Then simply re-build using cmake.

General Troubleshooting

  • The latest version of Doxygen may not work with the SDK. If you some build issues and have a specific version of Doxygen that is not in your PATH, you can use -DLINPHONESDK_DOXYGEN_PROGRAM.

Eg on Mac : -DLINPHONESDK_DOXYGEN_PROGRAM=/Applications/Doxygen.app/Contents/Resources/doxygen

  • If the build of the SDK crash with something like "cmd.exe failed" and no more info, it can be a dependency that is not available. You have to check if all are in your PATH. Usually, if it is about VPX or Decaf, this could come from your Perl installation.

  • If the application doesn't start and create an empty file with a random name, it could be come from a bad configuration between your application and others sub-modules. Check your configurations and force them with -DCMAKE_BUILD_TYPE=<your_config> or --config <your_config>.

  • On Mac, the application can crash at the start from QOpenGLContext. A workaround is to deactivate the mipmap mode on images by adding into your configuration file (linphonerc): mipmap_enabled=0 in [ui] section.

Specific instructions for the Mac Os X platform

To install the required dependencies on Mac OS X, you can use Homebrew. Before you install packages with Brew, you may have to change directories permissions (if you can't change permissions with sudo on a MacOS >= High Sierra, get a look at this StackOverflow answer).

  1. Install XCode from the Apple store. Run it at least once to allow it to install its tools. You may need to run :

     xcode-select --install
    
  2. Install Homebrew by following the instructions here https://brew.sh/

  3. Install dependencies:

     brew install cmake pkg-config git doxygen nasm yasm
    
  4. First ensure you have pip

  5. Then, you can install a pip package with the following command:

     python -m pip install [package]
    

For instance, enter the following command:

    python -m pip install pystache six graphviz
  1. Download Qt, install a Qt5 version and set Qt5_DIR and PATH variables.

  2. The default architecture is x86_64 because Qt 5.15.2 is not available for arm64. LINPHONEAPP_MACOS_ARCHS can be used to change it.

    -DLINPHONEAPP_MACOS_ARCHS=arm64

  3. Build as usual (General Steps).

  4. If you get an error about modules that are not found for Python, it may be because cmake try to use another version from your PATH. It can be the case if you installed Python from brew. Install Python modules by using absolute path. For example:

     /opt/homebrew/python3 -m pip install pystache six graphviz
    

Specific instructions for the Windows platform

  1. Install main tools:
  • MinGW/MSYS2 : download
    • Follow instructions on their "Getting Started" page.
    • Install toolchains and prepare python:
      • pacman -Sy --needed base-devel mingw-w64-x86_64-toolchain
      • pacman -S python3-pip in MSYS2 MSYS console
      • python3 -m pip install pystache six in cmd
      • In this order, add C:\msys64\mingw64\bin, C:\msys64\ and C:\msys64\usr\bin in your PATH environement variable from Windows advanced settings. Binaries from the msys folder (not from mingw32/64) doesn't fully support Windows Path and thus, they are to be avoided.

When building the SDK, it will install automatically from MSYS2 : toolchain, python, doxygen, perl, yasm, gawk, bzip2, nasm, sed, patch, pkg-config, gettext, glib2, intltool and graphviz (if needed)

  • git : use MSYS2 : pacman -S git or download

  • Visual Studio must also be properly configured with addons. Under "Tools"->"Obtain tools and features", make sure that the following components are installed:

    • Tasks: Select Windows Universal Platform development, Desktop C++ Development, .NET Development
  1. Ensure that you have downloaded the Qt msvc2019 version (64-bit). Note that Qt msvc2019 can be use with earlier version of Visual Studio.

  2. Or open a Command line with Visual Studio Developer Command Prompt for VS 2019 and call qtenv2.bat that is in your qt binaries eg: C:\Qt\<version>\msvc2019\bin\qtenv2.bat

  3. Build as usual with adding -A x64 to cmake .. (General Steps) :

  • cmake .. -DCMAKE_BUILD_PARALLEL_LEVEL=10 -DCMAKE_BUILD_TYPE=RelWithDebInfo -A x64 The default build is very long. It is prefered to use the Ninja generator -G "Ninja"
  • cmake --build . --target ALL_BUILD --parallel 10 --config RelWithDebInfo
  1. The project folder will be in the build directory and binaries should be in the OUTPUT folder.

Installing dependencies

There are docker files configurations where dependencies can be retrieved.

Also, more configurations are available in the docker-files folder of linphone-sdk submodule.

Options

Options Description Default value
ENABLE_APP_LICENSE Enable the license in packages. YES
ENABLE_APP_PACKAGING Enable packaging. Package will be deployed in OUTPUT/packages NO
ENABLE_APP_PDF_VIEWER Enable PDF viewer. Need Qt PDF module. YES
ENABLE_APP_WEBVIEW Enable webview for accounts. The Webview engine must be deployed, it takes a large size. NO
ENABLE_APP_PACKAGE_ROOTCA Embed the rootca file (concatenation of all root certificates published by mozilla) into the package YES
ENABLE_BUILD_APP_PLUGINS Enable the build of plugins YES
ENABLE_BUILD_EXAMPLES Enable the build of examples NO
ENABLE_BUILD_VERBOSE Enable the build generation to be more verbose NO
ENABLE_DAEMON Enable the linphone daemon interface. NO
ENABLE_PQCRYPTO Enable post quantum ZRTP. NO
ENABLE_SCREENSHARING Enable screen sharing. YES
ENABLE_STRICT Build with strict compilator flags e.g. -Wall -Werror NO
ENABLE_TESTS Build with testing binaries of SDK NO
ENABLE_TESTS_COMPONENTS Build libbctoolbox-tester NO
ENABLE_TOOLS Enable tools of SDK NO
ENABLE_UNIT_TESTS Enable unit test of SDK. NO
ENABLE_UPDATE_CHECK Enable update check. YES
LINPHONE_SDK_MAKE_RELEASE_FILE_URL Make a RELEASE file that work along check_version and use this URL ""

Contributing

Code

In order to submit a patch for inclusion in Linphone's source code:

  1. First make sure that your patch applies to the latest Git sources before submitting : patches made to old versions can't and won't be merged.

  2. Fill out and send the contributor agreement for your patch to be included in the Git tree by following links there. The goal of this agreement is to grant us the peaceful exercise of our rights to the Linphone source code, without losing your rights over your contribution.

  3. Then go to the github repository and make a Pull Requests based on your code.

Please note that we don't offer free support and these contributions will be addressed on our free-time.

Translation status

Languages


Linphone is getting a full internationalization support.

We no longer use transifex for the translation process, instead we have deployed our own instance of [Weblate](https://weblate.linphone.org).


If you want you can contribute at: https://weblate.linphone.org/projects/linphone-desktop/



Feedback or bug reporting

Launch the application with --verbose parameter to get full logs and send it with your request. You can use the "Send logs" button in settings to upload log files and share it by email or with a post in the corresponding Github project :

On some OS (like Fedora 22 and later), they disable Qt debug output by default. To get full output, you need to create ~/.config/QtProject/qtlogging.ini and add :

    [Rules]
    *.debug=true
    qt.*.debug=false

linphone-desktop's People

Contributors

alejandro-rt avatar alexl000 avatar andreagianarda avatar andreapier avatar antun3s avatar bagage avatar bellingeri avatar cdeschambc avatar cweiske avatar datbewar avatar delinuxco avatar digicommid avatar emintufan avatar fabc avatar fgrisez avatar flibor avatar giosal avatar jeannotlapin avatar julonexus avatar lowersaxony avatar mariiaalt avatar mickhopes avatar npepperlinux avatar ovari avatar quelbs avatar sanavak avatar smorlat avatar tomo90 avatar viish avatar wescoeur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linphone-desktop's Issues

Calls blacklist

Add a sip addresses list in Settings to block and reject calls.

Problem: If a sip address is on a contact, is it necessary to block the other sip addresses of this contact?

Error during make

I'm a noob at this so please tell me step by step how to solve this.
During the second step for Linux in the README.md, I encountered the following error

[ 38%] Performing configure step for 'EP_xml2'
loading initial cache file /home/pi/linphone-desktop/WORK/desktop//tmp/EP_xml2/EP_xml2-cache.cmake
-- Configuring done
CMake Error at CMakeLists.txt:345 (add_library):
Cannot find source file:

schematron.c

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

-- Build files have been written to: /home/pi/linphone-desktop/WORK/desktop/Build/xml2
CMakeFiles/EP_xml2.dir/build.make:103: recipe for target '/home/pi/linphone-desktop/WORK/desktop/Stamp/EP_xml2/EP_xml2-configure' failed
make[3]: *** [/home/pi/linphone-desktop/WORK/desktop/Stamp/EP_xml2/EP_xml2-configure] Error 1
make[3]: Leaving directory '/home/pi/linphone-desktop/WORK/desktop/cmake'
CMakeFiles/Makefile2:854: recipe for target 'CMakeFiles/EP_xml2.dir/all' failed
make[2]: *** [CMakeFiles/EP_xml2.dir/all] Error 2
make[2]: Leaving directory '/home/pi/linphone-desktop/WORK/desktop/cmake'
Makefile:76: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pi/linphone-desktop/WORK/desktop/cmake'
Makefile:14: recipe for target 'desktop-build' failed
make: *** [desktop-build] Error 2

another error

Bad position of Menu window (Wayland issue)

when trying to open the menu window, the window opens in random places. here is the warning I get
Gdk-Message: Window 0x18b24d0 is a temporary window without parent, application will not be able to position it on screen.

using
Desktop 4.0-165-gde2fcd99 - Qt5.9.1

OSX package error

This error occurs when adding the -package parameter to compile

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: no LC_RPATH load command with path ...

Limit number of concurrent calls

Hi,

In some situations, this is not desirable to have multiple calls at a time, neither it is possible to limit those calls at the server side.

Beeing able to handle multiple calls with Linphone is great but it would be even greater to be able to limit the number of simultaneous calls on the Linphone side with an option in the preferences (or at least, in the ini file).
Something like "max_concurrent_calls=n" would be great.
Calls coming over the limit would then receive a BUSY state.

Regards.

Linphone calls are (sometimes?) extremely quiet

Hi, I just tried Linphone 4.0 out with a friend and we found that the call was extremely quiet. The actual Linphone program had the right volume -- the ringtone was fine, but we could barely hear eachother in the call without turning the system volume up drastically, which makes every other sound (including the Linphone ringtones) deafeningly loud.

There don't appear to be any volume options in the settings, either, so we had to switch back to Mumble to be able to talk.

I was using the Linux Flatpak, and my friend was using the Windows version on Windows 7.

Please ask if you need any more info.

Linphone concatenates numbers when calling long numbers

Hi,

Linphone concatenates numbers when calling long numbers:

Example from linphonec (version 3.11.1)

linphonec> call +47580013000503
Establishing call id to sip:[email protected], assigned id 1
Contacting sip:[email protected]
linphonec> Call 1 to sip:[email protected] in progress.
linphonec> Not Found
linphonec> Call 1 with sip:[email protected] error.

We can observe the same in the SIP invite sent from the client:
2017/06/01 12:52:14.727244 10.11.12.119:5060 -> XX.XXX.XX.XXX:5060
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.11.12.119:5060;branch=z9hG4bK.GjlM4qTQm;rport
From: sip:[email protected];tag=dFSZuYvJo
To: sip:[email protected]
CSeq: 20 INVITE
Call-ID: qemDEfmtLX
Max-Forwards: 70
Supported: replaces, outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 622
Contact: sip:[email protected]:32145;transport=udp;+sip.instance="urn:uuid:6188349d-dc77-4460-8db1-09986cab15c9"
User-Agent: Linphonec/3.11.1 (belle-sip/1.6.1)

v=0
o=+47580013000504 3150 2190 IN IP4 10.11.12.119
s=Talk
c=IN IP4 10.11.12.119
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 7078 RTP/AVP 96 97 0 8 18 101 98
a=rtpmap:96 speex/16000
a=fmtp:96 vbr=on
a=rtpmap:97 speex/8000
a=fmtp:97 vbr=on
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/16000
a=rtpmap:98 telephone-event/8000
a=rtcp-fb:* trr-int 5000
a=rtcp-fb:* ccm tmmbr
m=video 9078 RTP/AVP 96
a=rtpmap:96 VP8/90000
a=rtcp-fb:* trr-int 5000
a=rtcp-fb:* ccm tmmbr
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 nack sli
a=rtcp-fb:96 ack rpsi
a=rtcp-fb:96 ccm fir

Best Regards,
Perparim

Cannot get working build

Good morning (evening in France),

Is there a working build at SHA-1 = 9043c7f of this repo? If not, what is a usable SHA of this repo that I can mimic submodules for a good mac build?

Thanks,

Zack

linphone-desktop compile issue

After downloading the latest desktop source and following the instructions above; I was able to run the python prepare which generated the Visual Studio project.sln.

I then opened the project.sln in VS 2015 and tried a REBUILD ALL and received an error;

Code C2220
Project: EP_linphone
File: info.c
Description: warning treated as error - no 'object' file generated linphone.vcxproj

Did I miss something?

Thank you,

building (macOS) with all-codecs option fails

building 4.0 branch with prepary.py --all-codecs on macOS environment fails

make output error

nasm: fatal: unrecognised output format `macho64' - use -hf for a list
type `nasm -h' for help
make[4]: *** [codec/common/x86/cpuid.o] Error 1
make[3]: *** [/Users/massimo/Linphone/linphone-desktop/WORK/desktop/Stamp/EP_openh264/EP_openh264-build] Error 2
make[2]: *** [CMakeFiles/EP_openh264.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [desktop-build] Error 2

output of nasm -hf on my system

valid output formats for -f are (`*' denotes default):
  * bin       flat-form binary files (e.g. DOS .COM, .SYS)
    aout      Linux a.out object files
    aoutb     NetBSD/FreeBSD a.out object files
    coff      COFF (i386) object files (e.g. DJGPP for DOS)
    elf       ELF32 (i386) object files (e.g. Linux)
    as86      Linux as86 (bin86 version 0.3) object files
    obj       MS-DOS 16-bit/32-bit OMF object files
    win32     Microsoft Win32 (i386) object files
    rdf       Relocatable Dynamic Object File Format v2.0
    ieee      IEEE-695 (LADsoft variant) object file format
    macho     NeXTstep/OpenStep/Rhapsody/Darwin/MacOS X object files

compile is successful but app doesn't not launch

Hello,

I have managed to compile the app but when I launch it from the build output folder

OUTPUT/desktop/build/linphone

a terminal windows opens up and I can see from the dock (I am on mac) that the app icon appears and disappears, like it would fail and close straight away.

I don't know where I would find logs of the app. The terminal windows stays open (see below)

Nicolas-MacBook-Air:~ massimo$ /Users/massimo/Linphone/linphone-desktop/OUTPUT/desktop/bin/linphone ; exit;
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Maybe I am not supposed to launch the app this way. How shall I launch it with logging enabled and where they will be located?

I followed the instructions in the README, the only difference is the QT installation, I have used a different compiler because QT 5.9 installation didn't have gcc_64 folder.

This was the content of 5.9 folder

MacBook-Air:~ massimo$ ls Qt/5.9/
.DS_Store      android_armv7/ clang_64/      ios/ 

the environment variable were set as below

Qt5_DIR="~/Qt/5.9/clang_64/lib/cmake"

export PATH="~/Qt/5.9/clang_64/bin/:$PATH"

Any help is appreciated

regards

Massimo

audio config

Retaining audio device settings would be great. On top, forming a decive hierarchry might be even better. This part of the preferences is quite brittle. Again, if done on CLI level, then that would be even better.

Echo/feedback in version 4.1.1

I tried to use the latest version 4.1.1 between a laptop with Ubuntu 17.04 and a laptop with Linux Mint 18.1, and the audio was almost unusable because of strong feedback/echo. On both machines echo cancellation was enabled in Linphone preferences (i also tried to disable it on one machine, but it only made it worse, i believe).

I tried before the versions of Linphone provided by these two distributions (versions 3 -- something) and had no big issues with the audio (but there were problems with the video).

However, on one attempt of using version 4.1.1, for the first minute or so, the echo was almost absent. So, i am not sure if there were any regression.

bctoolbox compile error (vs2015, win7x64)

After running prepare.exe -G "Visual Studio 14" -DENABLE_VIDEO=NO,
I build the Project.sln (Release W32) and get a C2037 error, for undefined struct (_OList) in
"\submodules\bctoolbox\src\utils\port.c"

I assume the dllexport is not working, and therefore the import is failing, resulting in the given error.
Here is the concrete error:

C:\Projects\linphone-desktop\submodules\bctoolbox\src\utils\port.c(687):
error C2037: Auf der linken Seite von "next" wird eine undefinierte struct/union "_OList" bestimmt [C:\Projects\linphone-desktop\WORK\Build\bctoolbox\src\bctoolbox.vcxproj]

C:\Projects\linphone-desktop\submodules\bctoolbox\src\utils\port.c(688):
error C2037: Auf der linken Seite von "data" wird eine undefinierte struct/union "_OList" bestimmt [C:\Projects\linphone-desktop\WORK\Build\bctoolbox\src\bctoolbox.vcxproj]

The output is partially german:
Auf der linken Seite von "foo" wird eine undefinierte struct/union "bar" bestimmt
means
On the left side of "foo" a undefined struct/union "bar" is defined

Here is the complete error from bctoolbox.vcxproj
bctoolbox_log.txt

Can you help me with this issue?
Is the vs2015 generator working with the project?
Is there anything else I must provide for detailed issue-description?

non determisitc password setting

It's a pain that one has to rerun linphone-gui for password changes. The CLI does not support this either. So, either way should be brushed up a little.

build errors

Im building linphone-desktop , followed the instructions in readme
using cmake 3.8.1
python prepare.py created the solution file , build it

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2001	unresolved external symbol _mbedtls_snprintf [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\cmake\x509_crt.obj	1	
Error	LNK2001	unresolved external symbol _mbedtls_snprintf [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\cmake\x509_crl.obj	1	
Error	LNK2001	unresolved external symbol _mbedtls_snprintf [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\cmake\x509_crt.obj	1	
Error	LNK2001	unresolved external symbol _mbedtls_snprintf [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\cmake\x509_csr.obj	1	
Error	LNK2001	unresolved external symbol _mbedtls_snprintf [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\cmake\x509_crl.obj	1	
Error	LNK2001	unresolved external symbol _mbedtls_snprintf [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\cmake\x509_csr.obj	1	
Error	LNK2019	unresolved external symbol _mbedtls_snprintf referenced in function _mbedtls_x509_dn_gets [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\cmake\x509.obj	1	
Error	LNK2019	unresolved external symbol _mbedtls_snprintf referenced in function _mbedtls_x509_dn_gets [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\cmake\x509.obj	1	
Error	LNK1120	1 unresolved externals [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\MinSizeRel\mbedx509.dll	1	
Error	LNK1120	1 unresolved externals [C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\mbedx509.vcxproj]	EP_mbedtls	C:\linphone-desktop\WORK\desktop\Build\mbedtls\library\MinSizeRel\mbedx509.dll	1	
Error	MSB6006	"cmd.exe" exited with code 2.	EP_ffmpeg	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	EP_bctoolbox	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	EP_belr	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	EP_bzrtp	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	EP_ortp	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	EP_bellesip	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	EP_belcard	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	EP_ms2	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	EP_linphone	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	

How to configure account to connect to multi-tenant pbx

Hello

I am trying to use the desktop app with freeswitch pbx.

My freeswitch pbx support multi domain so I am trying to see if I can use the desktop version with the multi domain feature (or multi tenants).

I managed to configure the linphone desktop account using the following setup, assuming pbx ip is 192.168.1.82 and extension 0000002 (the pbx use 7 digits extension format) is under domain "mydomain".

SIP Address --> sip:0000002@mydomain
SIP Server Address --> sip:192.168.1.82;transport=tcp

the same setup was done on the linphone android app

username --> 0000002
domain --> mydomain
proxy --> sip:192.168.1.82;transport=tcp
outbound proxy --> Enabled

With this setup I managed to call successfully from app to desktop client (audio both directions), the problem I have is that I cannot call the extension registered on the app.
The desktop client seems to ignore the proxy settings and the call does nothing (wireshark does not show any SIP flow) as it fails.

I wanted to investigate what prevents the desktop app to make the call, so I was trying to see if the client write any logs (I am using the mac version).

My question is, does the client write logs somewhere, and if yes where are they?

Apologies if this is not the right place to post this issue.

Thanks for your help

Massimo

Linphone app is always asking me password

It's very annoying, when I open the app I have to insert the password again. Why does it not save?

If I have to make a call passed X time, it asks me for the password again.

OpenGL errors at startup with Flatpak

$ flatpak run com.belledonnecommunications.linphone
Gtk-Message: Failed to load module "unity-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Unrecognized OpenGL version
Unrecognized OpenGL version

Compile issue after last commit

In submodules/linphone/coreapi/lpconfig.c:524:2: error: ‘bctbx_level’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
bctbx_logv(BCTBX_LOG_DOMAIN, bctbx_level,fmt,list);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Does anyone know how to fix this?

Not able to register to SIP Server from Windows Desktop - But Working fine in Android, Linphone Web

We are not able to register to SIP Server through windows desktop (3.10.2) but working fine in android and linphone web.

message: 2017-02-17 19:07:22:827 nict_on_timer_E: sending retransmission
message: 2017-02-17 19:07:22:827 channel [052D7B70]: message sent to [UDP://sip-162412.accounts.vocalocity.com:5060], size: [617] bytes
REGISTER sip:sip-162412.accounts.vocalocity.com SIP/2.0

Via: SIP/2.0/UDP 192.168.137.173:5060;branch=z9hG4bK.NdxFswHqf;rport

From: sip:[email protected];tag=L5G8CxAAv

To: sip:[email protected]

CSeq: 21 REGISTER

Call-ID: Pp2PNLV1x2

Max-Forwards: 70

Supported: replaces, outbound

Accept: application/sdp

Accept: text/plain

Accept: application/vnd.gsma.rcs-ft-http+xml

Contact: sip:[email protected];transport=udp;+sip.instance="urn:uuid:1d9814c4-c469-4ff4-bd41-5c747c133a38"

Expires: 3600

User-Agent: Linphone/3.10.2 (belle-sip/1.5.0)

message: 2017-02-17 19:07:23:295 A timeout related to this channel occured and no message received during last 60 seconds. This channel is suspect, moving to error state
message: 2017-02-17 19:07:23:295 channel 052D7B70: state ERROR
warning: 2017-02-17 19:07:23:295 Transaction [01201418] reporting timeout, reporting to channel.
message: 2017-02-17 19:07:23:327 transaction [01201418] channel state changed to [ERROR]
message: 2017-02-17 19:07:23:327 Refresher: scheduling next timer in 60000 ms
message: 2017-02-17 19:07:23:327 Register refresher [503] reason [io error] for proxy [sip:sip-162412.accounts.vocalocity.com;transport=udp]
message: 2017-02-17 19:07:23:327 Refresher: scheduling next timer in 2000 ms
message: 2017-02-17 19:07:23:327 Register refresher [408] reason [timeout] for proxy [sip:sip-162412.accounts.vocalocity.com;transport=udp]
message: 2017-02-17 19:07:23:327 Changing [client] [REGISTER] transaction [01201418], from state [TRYING] to [TERMINATED]
message: 2017-02-17 19:07:23:327 Client internal REGISTER transaction [01201418] terminated
message: 2017-02-17 19:07:25:352 Channel [052D7B70] destroyed
message: 2017-02-17 19:07:25:352 Transaction [01201418] deleted
message: 2017-02-17 19:07:25:352 belle_sip_client_transaction_send_request(): waiting channel to be ready
message: 2017-02-17 19:07:25:352 channel [052D7B70]: starting resolution of sip-162412.accounts.vocalocity.com
message: 2017-02-17 19:07:25:352 channel 052D7B70: state RES_IN_PROGRESS
message: 2017-02-17 19:07:25:352 transaction [01201778] channel state changed to [RES_IN_PROGRESS]
message: 2017-02-17 19:07:25:368 Resolver is using DNS server(s):
message: 2017-02-17 19:07:25:368 192.168.137.3
message: 2017-02-17 19:07:25:368 8.8.8.8
message: 2017-02-17 19:07:25:368 resolver_process_data dns_res_check() in progress
message: 2017-02-17 19:07:25:368 DNS resolution awaiting response, queued to main loop
message: 2017-02-17 19:07:25:383 SRV _sip._udp.sip-162412.accounts.vocalocity.com resolved to [target:reg6app1.proxy.vocalocity.com. port:5060 prio:5 weight:10]
message: 2017-02-17 19:07:25:383 SRV _sip._udp.sip-162412.accounts.vocalocity.com resolved to [target:reg2app1.proxy.vocalocity.com. port:5060 prio:10 weight:10]
message: 2017-02-17 19:07:25:383 Starting A/AAAA query for srv result [reg6app1.proxy.vocalocity.com.]
message: 2017-02-17 19:07:25:399 Resolver is using DNS server(s):
message: 2017-02-17 19:07:25:399 192.168.137.3
message: 2017-02-17 19:07:25:399 8.8.8.8
message: 2017-02-17 19:07:25:399 resolver_process_data dns_res_check() in progress
message: 2017-02-17 19:07:25:399 DNS resolution awaiting response, queued to main loop
message: 2017-02-17 19:07:25:399 Starting A/AAAA query for srv result [reg2app1.proxy.vocalocity.com.]
message: 2017-02-17 19:07:25:415 Resolver is using DNS server(s):
message: 2017-02-17 19:07:25:415 192.168.137.3
message: 2017-02-17 19:07:25:415 8.8.8.8
message: 2017-02-17 19:07:25:415 resolver_process_data dns_res_check() in progress
message: 2017-02-17 19:07:25:415 DNS resolution awaiting response, queued to main loop
message: 2017-02-17 19:07:25:415 reg2app1.proxy.vocalocity.com. resolved to 107.23.9.200
message: 2017-02-17 19:07:25:415 A query finished for srv result [reg2app1.proxy.vocalocity.com.]
message: 2017-02-17 19:07:25:415 reg6app1.proxy.vocalocity.com. resolved to 54.213.138.55
message: 2017-02-17 19:07:25:415 A query finished for srv result [reg6app1.proxy.vocalocity.com.]
message: 2017-02-17 19:07:25:415 All A/AAAA results for combined resolution have arrived.
message: 2017-02-17 19:07:25:415 channel 052D7B70: state RES_DONE
message: 2017-02-17 19:07:25:415 transaction [01201778] channel state changed to [RES_DONE]
message: 2017-02-17 19:07:25:415 channel 052D7B70: state CONNECTING
message: 2017-02-17 19:07:25:415 transaction [01201778] channel state changed to [CONNECTING]
message: 2017-02-17 19:07:25:415 Trying to connect to [UDP://54.213.138.55:5060]
message: 2017-02-17 19:07:25:415 belle_sip_get_src_addr_for(): af_inet6=0
message: 2017-02-17 19:07:25:415 Channel has local address 192.168.137.173:5060
message: 2017-02-17 19:07:25:415 channel 052D7B70: state READY
message: 2017-02-17 19:07:25:415 transaction [01201778] channel state changed to [READY]
message: 2017-02-17 19:07:25:415 Changing [client] [REGISTER] transaction [01201778], from state [INIT] to [TRYING]
message: 2017-02-17 19:07:25:415 channel [052D7B70]: message sent to [UDP://sip-162412.accounts.vocalocity.com:5060], size: [617] bytes
REGISTER sip:sip-162412.accounts.vocalocity.com SIP/2.0

Via: SIP/2.0/UDP 192.168.137.173:5060;branch=z9hG4bK.xRTF29uW5;rport

From: sip:[email protected];tag=L5G8CxAAv

To: sip:[email protected]

CSeq: 22 REGISTER

Call-ID: Pp2PNLV1x2

Max-Forwards: 70

Supported: replaces, outbound

Accept: application/sdp

Accept: text/plain

Accept: application/vnd.gsma.rcs-ft-http+xml

Contact: sip:[email protected];transport=udp;+sip.instance="urn:uuid:1d9814c4-c469-4ff4-bd41-5c747c133a38"

Expires: 3600

User-Agent: Linphone/3.10.2 (belle-sip/1.5.0)

message: 2017-02-17 19:07:25:927 nict_on_timer_E: sending retransmission
message: 2017-02-17 19:07:25:927 channel [052D7B70]: message sent to [UDP://sip-162412.accounts.vocalocity.com:5060], size: [617] bytes
REGISTER sip:sip-162412.accounts.vocalocity.com SIP/2.0

Via: SIP/2.0/UDP 192.168.137.173:5060;branch=z9hG4bK.xRTF29uW5;rport

From: sip:[email protected];tag=L5G8CxAAv

To: sip:[email protected]

CSeq: 22 REGISTER

Call-ID: Pp2PNLV1x2

Max-Forwards: 70

Supported: replaces, outbound

Accept: application/sdp

Accept: text/plain

Accept: application/vnd.gsma.rcs-ft-http+xml

Contact: sip:[email protected];transport=udp;+sip.instance="urn:uuid:1d9814c4-c469-4ff4-bd41-5c747c133a38"

Expires: 3600

User-Agent: Linphone/3.10.2 (belle-sip/1.5.0)

App crashes when creating an account with proxy settings

this issue is repeatable on fresh app install.

The case scenario is as follow:

creating an account under a multi-tenant pbx configuration as such

sip:<extension_id>@<realm_name>
e.g. sip:0000005@italy_pbx

and leveraging proxy settings (route field) to point to the pbx ip address which manage the realm

How to replicate

Upon launching the app from a fresh install (no account exists), instead of using the assistant, go to preferences and add a new proxy account

in the sip account form fill data as sample below

sip address: sip:0000005@italy_pbx
sip server address: sip:34.34.36.173;transport=udp
route: sip:34.34.36.173;transport=udp

pressing confirm will crash the app.

errors shown in the logs

2017-07-01 17:24:12:380 WARNING QT: qrc:/ui/views/App/Settings/SettingsSipAccountsEdit.js:14: Error: Unknown method return type: std::shared_ptrlinphone::ProxyConfig
2017-07-01 17:24:14:216 ERROR fast_header_address parser error for [ ]
2017-07-01 17:24:14:216 ERROR Cannot create LinphoneAddress, bad uri [ ]
2017-07-01 17:24:21:332 ERROR fast_header_address parser error for [s]
2017-07-01 17:24:21:332 ERROR Cannot create LinphoneAddress, bad uri [s]
2017-07-01 17:24:21:678 ERROR fast_header_address parser error for [si]
2017-07-01 17:24:21:678 ERROR Cannot create LinphoneAddress, bad uri [si]
2017-07-01 17:24:22:342 ERROR fast_header_address parser error for [sip]
2017-07-01 17:24:22:342 ERROR Cannot create LinphoneAddress, bad uri [sip]
2017-07-01 17:24:22:757 ERROR fast_header_address parser error for [sip:]
2017-07-01 17:24:22:757 ERROR Cannot create LinphoneAddress, bad uri [sip:]
2017-07-01 17:24:25:269 MESSAGE [org.antlr.runtime.MismatchedTokenException] reason []
2017-07-01 17:24:25:269 ERROR fast_header_address parser error for [sip:0000005@]
2017-07-01 17:24:25:269 ERROR Cannot create LinphoneAddress, bad uri [sip:0000005@]

workaround

use assistant to create a simple account (sip:[email protected]) it doesn't matter if details do not allow to register on the server.
once account is created, go to preferences and change values as test case.

linphonec coredumps when answering calls

Hi

I have tried to compile the latest version 3.11.2 from the master branch and calling out works fine, but when I am trying to answer calls the linphonec process core dumps. The linphone application works fine, but the commandline version does not handle incoming calls at all.

I have not compiled with debug info but got the following backtrace in gdb from the generated core file:

Core was generated by `./linphonec -d 6 -l /home/velferd/bin/log.txt'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fdc9d265a94 in linphone_call_accept_with_params () from /home/velferd/linphone-desktop/OUTPUT/desktop/lib/liblinphone.so.9
[Current thread is 1 (Thread 0x7fdc9d6d7740 (LWP 19166))]
(gdb) bt
#0 0x00007fdc9d265a94 in linphone_call_accept_with_params () from /home/velferd/linphone-desktop/OUTPUT/desktop/lib/liblinphone.so.9
#1 0x0000563c5ab76532 in lpc_cmd_answer ()
#2 0x0000563c5ab7715e in linphonec_parse_command_line ()
#3 0x0000563c5ab71327 in main ()
(gdb) quit

There is also a post of the same problem here:
https://lists.gnu.org/archive/html/linphone-developers/2017-05/msg00007.html

Does anyone have a workaround for this issue or could someone patch the master branch to fix it?

I rolled back to version 3.11.1-192-g2a4a17bff and everything is working like a charm there!

Best Regards,
Tomas

Error during make

I am building latest version (commit 14312f9) for python and I get following issue:
`
Scanning dependencies of target pylinphone
make[6]: Leaving directory '/home/surendra/linphone-desktop/WORK/python/Build/pylinphone'
make[6]: Entering directory '/home/surendra/linphone-desktop/WORK/python/Build/pylinphone'
[ 50%] Building C object CMakeFiles/pylinphone.dir/linphone.c.o
/home/surendra/linphone-desktop/WORK/python/Build/pylinphone/linphone.c: In function ‘pylinphone_Core_set_im_encryption_engine’:
/home/surendra/linphone-desktop/WORK/python/Build/pylinphone/linphone.c:16409:69: error: ‘pylinphone_ImEncryptionEngineType’ undeclared (first use in this function)
if ((value != Py_None) && !PyObject_IsInstance(value, (PyObject *)&pylinphone_ImEncryptionEngineType)) {
^
/home/surendra/linphone-desktop/WORK/python/Build/pylinphone/linphone.c:16409:69: note: each undeclared identifier is reported only once for each function it appears in
/home/surendra/linphone-desktop/WORK/python/Build/pylinphone/linphone.c:16418:27: error: implicit declaration of function ‘pylinphone_ImEncryptionEngine_get_native_ptr’ [-Werror=implicit-function-declaration]
if ((_imee_native_ptr = pylinphone_ImEncryptionEngine_get_native_ptr(_imee)) == NULL) {
^
/home/surendra/linphone-desktop/WORK/python/Build/pylinphone/linphone.c:16418:25: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
if ((_imee_native_ptr = pylinphone_ImEncryptionEngine_get_native_ptr(_imee)) == NULL) {
^
cc1: all warnings being treated as errors
CMakeFiles/pylinphone.dir/build.make:67: recipe for target 'CMakeFiles/pylinphone.dir/linphone.c.o' failed
make[6]: *** [CMakeFiles/pylinphone.dir/linphone.c.o] Error 1
make[6]: Leaving directory '/home/surendra/linphone-desktop/WORK/python/Build/pylinphone'
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/pylinphone.dir/all' failed
make[5]: *** [CMakeFiles/pylinphone.dir/all] Error 2
make[5]: Leaving directory '/home/surendra/linphone-desktop/WORK/python/Build/pylinphone'
Makefile:127: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/surendra/linphone-desktop/WORK/python/Build/pylinphone'
CMakeFiles/TARGET_pylinphone.dir/build.make:111: recipe for target '/home/surendra/linphone-desktop/WORK/python/Stamp/TARGET_pylinphone/TARGET_pylinphone-build' failed
make[3]: *** [/home/surendra/linphone-desktop/WORK/python/Stamp/TARGET_pylinphone/TARGET_pylinphone-build] Error 2
make[3]: Leaving directory '/home/surendra/linphone-desktop/WORK/python/cmake'
CMakeFiles/Makefile2:1116: recipe for target 'CMakeFiles/TARGET_pylinphone.dir/all' failed
make[2]: *** [CMakeFiles/TARGET_pylinphone.dir/all] Error 2
make[2]: Leaving directory '/home/surendra/linphone-desktop/WORK/python/cmake'
Makefile:83: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/surendra/linphone-desktop/WORK/python/cmake'
Makefile:14: recipe for target 'python-build' failed
make: *** [python-build] Error 2

`

IO error on call

I've just installed the latest Linphone from the PPA (3.9.1-1) on a Linux Mint machine. Created an account with sip.linphone.org, and the client shows it's registered. However: If I call to my other account used on my Android phone (different SIP provider), I only get an "IO error". Same the other way around (calling this SIP account from the Android device).

As both devices are currently in the same WiFi, I tried via UDP at the user@192* local address. That works without issues. But as we want that installation for calls from/to abroad, a local address is not really helpful.

I've configured Linphone to use a STUN server (stun.linphone.org) and told it I'm behind a firewall and it should use that STUN. No dice, it keeps complaining "IO error" and doesn't establish a single call from/to outside.

Any ideas?

Do Not Disturb

Please re-consider the "Do Not Disturb" feature! There are MANY instances where one would wish to have calls sent to VM. There are many other status modes that will allow calls to ring through. Please allow at least one mode to send calls to Voice Mail.

linphone-desktop compile issue

I am getting these errors. After the latest update.. Is there any configuration need to be done in the visual-studio, I am using visual-studio-2012.

**Error MSB6006 "cmd.exe" exited with code 2. EP_ffmpeg C:\ProgramFiles(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

Error MSB6006 "cmd.exe" exited with code 1. EP_bctoolbox C:\ProgramFiles(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

Error MSB6006 "cmd.exe" exited with code 1. EP_belr C:\ProgramFiles(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

Error MSB6006 "cmd.exe" exited with code 1. EP_bzrtp
C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

Error MSB6006 "cmd.exe" exited with code 1. EP_ortp
C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

Error MSB6006 "cmd.exe" exited with code 1. EP_bellesip
C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

Error MSB6006 "cmd.exe" exited with code 1. EP_belcard
C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

Error MSB6006 "cmd.exe" exited with code 1. EP_ms2
C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

Error MSB6006 "cmd.exe" exited with code 1. EP_linphone
C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 172

DNS: resoving domain names fail

Recently linphone stopped working for me. Neither registration nor calling outwards is possible anymore. Calling results in an IO Error.
Starting linphone --verbose revealed:

linphone-message : transaction [0xd0cdd0] channel state changed to [RES_IN_PROGRESS]
linphone-message : Resolver is using DNS server(s):
linphone-message : 	192.168.1.1
linphone-message : No SRV result for [_sip._tcp.sip.easybell.de], trying A/AAAA.
linphone-message : Resolver is using DNS server(s):
linphone-message : 	192.168.1.1
linphone-error : channel_res_done: DNS resolution failed for sip.easybell.de
linphone-message : channel 0xd31750: state ERROR

So it seems to be an DNS resolving problem. Indeed it's true that there is no SRV, but an A entry for sip.easybell.de and it had worked before (at least with linphone 3.9).

Actually there are more people experiencing the same issue at the Arch Linux forum.

Is this a bug or a configuration issue? Please let me know if I can provide you with more information.
Thanks a lot in advance.

Edit:
Linphone 3.10.2-3 on Arch Linux.

video freezes

The video freezes during a call.
It also happens when using the 'video preview' function (in the video menu). it starts well and then it freezes. Here are the logs I get when it stops working:

2017-07-14 13:50:38:568 WARNING VIDIOC_QBUF 1 failed: No such device
2017-07-14 13:50:43:569 WARNING ms2017-07-14 13:50:38:568 WARNING VIDIOC_QBUF 1 failed: No such device
2017-07-14 13:50:43:569 WARNING msv4l2: still [3] buffers not dequeued at exit !
2017-07-14 13:50:43:569 ERROR VIDIOC_STREAMOFF failed: No such device
2017-07-14 13:50:43:605 MESSAGE msv4l2_thread exited.
2017-07-14 13:50:43:605 MESSAGE msv4l2 thread has joined.
2017-07-14 13:50:43:605 MESSAGE ms_filter_unlink: MSV4L2Capture:0x56d6c30,0-->MSPixConv:0x56d6b30,0
2017-07-14 13:50:43:605 MESSAGE ms_filter_unlink: MSPixConv:0x56d6b30,0-->MSTee:0x5665d90,0
2017-07-14 13:50:43:605 MESSAGE ms_filter_unlink: MSTee:0x5665d90,1-->MSOGL:0x567e4a0,0
2017-07-14 13:50:43:605 MESSAGE ms_filter_unlink: MSTee:0x5665d90,2-->MSJpegWriter:0x565ae40,0
2017-07-14 13:50:43:607 MESSAGE Video MSTicker thread exiting
2017-07-14 13:50:43:607 WARNING ms_yuv_buf_allocator_free(): leaving 1 mblk_t still ref'd, possible leak.
2017-07-14 13:50:43:609 MESSAGE QT: "Delete context info:" 0x5637c20
v4l2: still [3] buffers not dequeued at exit !
2017-07-14 13:50:43:569 ERROR VIDIOC_STREAMOFF failed: No such device
2017-07-14 13:50:43:605 MESSAGE msv4l2_thread exited.
2017-07-14 13:50:43:605 MESSAGE msv4l2 thread has joined.
2017-07-14 13:50:43:605 MESSAGE ms_filter_unlink: MSV4L2Capture:0x56d6c30,0-->MSPixConv:0x56d6b30,0
2017-07-14 13:50:43:605 MESSAGE ms_filter_unlink: MSPixConv:0x56d6b30,0-->MSTee:0x5665d90,0
2017-07-14 13:50:43:605 MESSAGE ms_filter_unlink: MSTee:0x5665d90,1-->MSOGL:0x567e4a0,0
2017-07-14 13:50:43:605 MESSAGE ms_filter_unlink: MSTee:0x5665d90,2-->MSJpegWriter:0x565ae40,0
2017-07-14 13:50:43:607 MESSAGE Video MSTicker thread exiting
2017-07-14 13:50:43:607 WARNING ms_yuv_buf_allocator_free(): leaving 1 mblk_t still ref'd, possible leak.
2017-07-14 13:50:43:609 MESSAGE QT: "Delete context info:" 0x5637c20

if I close the window and try video preview again, I see a black screen with the log:

2017-07-14 13:52:35:790 MESSAGE Setting video size 640x480 on stream [0x561da60]
2017-07-14 13:52:35:790 ERROR Could not open /dev/video0: No such file or directory
2017-07-14 13:52:35:790 ERROR Could not open /dev/video0: No such file or directory
2017-07-14 13:52:35:790 MESSAGE ogl_display_new : 0x318b3e0

2017-07-14 13:52:35:790 ERROR no such method on filter MSOGL, fid=16387 method index=1
2017-07-14 13:52:35:790 MESSAGE ms_filter_link: MSV4L2Capture:0x561bc40,0-->MSPixConv:0x5634f60,0
2017-07-14 13:52:35:790 MESSAGE ms_filter_link: MSPixConv:0x5634f60,0-->MSTee:0x318b590,0
2017-07-14 13:52:35:790 MESSAGE ms_filter_link: MSTee:0x318b590,1-->MSOGL:0x561aed0,0
2017-07-14 13:52:35:790 MESSAGE ms_filter_link: MSTee:0x318b590,2-->MSJpegWriter:0x55f8d60,0
2017-07-14 13:52:35:790 MESSAGE Video MSTicker priority left to normal.
2017-07-14 13:52:35:790 MESSAGE msv4l2_thread starting
2017-07-14 13:52:35:791 ERROR Could not open /dev/video0: No such file or directory
2017-07-14 13:52:35:791 WARNING msv4l2 could not be openned
2017-07-14 13:52:35:791 MESSAGE msv4l2_thread exited.
2017-07-14 13:52:35:792 MESSAGE QT: Thread QThread(0x1d7a7d0) "Set context info (width: 590, height: 395):" 0x562a330
2017-07-14 13:52:35:792 MESSAGE set native window id: 0x562a330 (width: 590, height: 395)

2017-07-14 13:52:35:792 ERROR no such method on filter MSV4L2Capture, fid=16387 method index=4
2017-07-14 13:52:35:792 MESSAGE init opengles_display (590 x 395, gl initialized:0)
2017-07-14 13:52:35:793 MESSAGE resize opengles_display (590 x 395, gl initialized:0)
2017-07-14 13:52:35:803 MESSAGE OpenGL program info: [NO INFORMATION]
2017-07-14 13:52:38:490 MESSAGE msv4l2 thread has joined.
2017-07-14 13:52:38:490 MESSAGE ms_filter_unlink: MSV4L2Capture:0x561bc40,0-->MSPixConv:0x5634f60,0
2017-07-14 13:52:38:490 MESSAGE ms_filter_unlink: MSPixConv:0x5634f60,0-->MSTee:0x318b590,0
2017-07-14 13:52:38:490 MESSAGE ms_filter_unlink: MSTee:0x318b590,1-->MSOGL:0x561aed0,0
2017-07-14 13:52:38:490 MESSAGE ms_filter_unlink: MSTee:0x318b590,2-->MSJpegWriter:0x55f8d60,0
2017-07-14 13:52:38:490 MESSAGE Video MSTicker thread exiting
2017-07-14 13:52:38:493 MESSAGE QT: "Delete context info:" 0x562a330

I am using gnome 3.24.2

Error with ./prepare.py --package in OS X El Capitan (10.11.4)

Hi all, I'm a noob with the project.

I have an error compiling after I run the prepare.py script with the --package option. But when I run the prepare.py script without the --package option and compile again it works just fine.

Output from iTerm:

Install the project...
-- Install configuration: "Release"
Cannot find source to copy: /Users/pvaldivieso/Downloads/linphone-desktop/OUTPUT/lib/mediastreamer/plugins/*.*.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: /Users/pvaldivieso/Downloads/linphone-desktop/WORK/PACKAGE/Linphone.app/Contents/MacOS/Linphone-bin (No such file or directory)
/usr/bin/patch: **** Can't find file /Users/pvaldivieso/Downloads/linphone-desktop/WORK/PACKAGE/Linphone.app/Contents/Resources/share/themes/Quartz/gtk-2.0/gtkrc : No such file or directory
pkgbuild: error: Component path "/Users/pvaldivieso/Downloads/linphone-desktop/WORK/PACKAGE/Linphone.app" does not exist.
[100%] Completed 'TARGET_linphone_package'
[100%] Built target TARGET_linphone_package

It goes all the way to the end and fails. I think it's related to mediastreamer and not finding some .dylib but I'm not sure.

Any help?

Fairly easy question

I have been contemplating Linphone-desktop for well over a year now. Can it be used as a replacement for Skype? That would be the question. I'm considering the possibility to use your software and recommend it to my friends as well. Much appreciated in advance.

linphone doesn't have any sound on fedora

when i installed your software on ubuntu and debian it works very good, in fedora it can not hear any sound? your protocol is necessary to have microphone on?
thanks

error MSB6006: "cmd.exe" exited with code 1 & error C2065: 'ENETUNREACH' : undeclared identifier

I want to build linphone-desktop in windows 10.
After running the prepare.py script without any error, I build the Visual Studio solution (Project.sln) but two errors appeared.

error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151

&

error C2065: 'ENETUNREACH' : undeclared identifier [C:\linphone-desktop\WORK\desktop\Build\bctoolbox\src\bctoolbox.vcxproj] C:\submodules\bctoolbox\src\utils\port.c

How can I fix these errors?

Getting errors on prepare.py

Hello, I tried ./prepare.py -c & ./prepare.py on MacOS. Getting errors on the make as follows:

Traceback (most recent call last):
  File "./prepare.py", line 263, in <module>
    sys.exit(main())
  File "./prepare.py", line 247, in main
    if target.generator.endswith('Ninja'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Freezes when running on remote Linux desktop (X2Go)

Hi,

I'm running Linphone on a remote Linux desktop with X2Go (ThinClient setup).
Everything runs smooth and Linphone is great in this environment but, on some random occasions, the Linphone GUI freezes for a few seconds or even 2-3 minutes sometimes while Linphone still works normaly (sound ok, communication ok), only the GUI is frozen and thus, it is impossible to hangup or do anything.

This visibly only occur under X2Go and I see that kind of logs in .xsession-errors :


Avertissement du gestionnaire de fenêtres : Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160004c (Linphone) 
Avertissement du gestionnaire de fenêtres : meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed. 
Avertissement du gestionnaire de fenêtres : Fenêtre WM_TRANSIENT_FOR 0x180004c non valide indiquée pour 0x184cb8e (Linphone).

This didn't happen with Linphone 3.6.1 which is the version shipped with Ubuntu 16.04 (which this setup is based on) but I had more annoying problems with this version (truncated communications) so I installed Linphone Team PPA which provides Linphone 3.9.1.
From then, I get these "freezes" issues.
I built many different releases from then, even the current 3.11.1 that I built myself.

Here are a few setup informations, please ask if you need more :

OS : Ubuntu 16.04.2 LTS
Desktop : MATE Destop 1.12.1
X2Go Server : 4.1.0.0

Regards.

Unspecified session_description parser error

I'm having an issue when interacting with FreeSWITCH, where linphone core fails to parse the SDP on a reply to re-INVITE that is initiating the pause state. I already resolved one issue with line endings in FS, so the latest 1.7 unstable branch has that fix, but I'm getting this out of Linphone core:

2016-07-12 10:53:58.424 PUC[35781:17085859] 3.9.1-962-g40778ef E session_description parser error for [v=0
o=FreeSWITCH 1468325773 1468325775 IN IP4 104.197.230.189
s=FreeSWITCH
c=IN IP4 104.197.230.189
t=0 0
m=audio 11366 RTP/AVP 9 101
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=recvonly
a=rtcp:11367
m=video 11406 RTP/AVP 102
a=rtpmap:102 H264/90000
a=fmtp:102 profile-level-id=42801F;packetization-mode=1
b=AS:1024
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 ccm tmmbr
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=recvonly
a=rtcp:11407
]
2016-07-12 10:53:58.425 PUC[35781:17085859] 3.9.1-962-g40778ef E Failed to parse SDP message.
2016-07-12 10:53:58.425 PUC[35781:17085859] ****** callupdate

I've scanned through belle_sdp.g with this SDP and I can't see anything obvious, and suspect it's failing to set one of the parameters. Unfortunately, I can't tell which. I'm also attaching a PCAP with the SIP dialog that created the issue. There is a second call that comes in, and we attempt a "pause and answer". The pause state fails due to the issue parsing the SDP on the reply, and, in this case, crashes the client (VTCSecure PUC for Windows). This also impacts "pause" in general when engaged in dialogue with FreeSWITCH. This does not occur outside of FreeSWITCH, so there is some incompatible parameter that FS is sending and it would be great if someone from Belladonne can help spot the problem in the SDP so that I can address it.
ACD-352 - StillCrashingAfterSDPFix.pcapng.zip

Undefined Symbols for architecture x86_64

Building on Mac OS 10.12.5

Undefined symbols for architecture x86_64: "_allocb", referenced from: _dec_process in amrnb.c.o _enc_process in amrnb.c.o _enc_process in amrwb.c.o _dec_process in amrwb.c.o "_fmtp_get_value", referenced from: _amr_match in msamr.c.o _enc_add_fmtp in amrnb.c.o _enc_add_fmtp in amrwb.c.o "_freemsg", referenced from: _dec_process in amrnb.c.o _enc_process in amrnb.c.o _enc_process in amrwb.c.o _dec_process in amrwb.c.o "_getq", referenced from: _dec_process in amrnb.c.o _enc_process in amrnb.c.o _enc_process in amrwb.c.o _dec_process in amrwb.c.o "_mblk_meta_copy", referenced from: _dec_process in amrnb.c.o _dec_process in amrwb.c.o "_msgdsize", referenced from: _dec_process in amrnb.c.o _dec_process in amrwb.c.o "_ortp_free", referenced from: _enc_uninit in amrnb.c.o _enc_uninit in amrwb.c.o _dec_uninit in amrwb.c.o "_ortp_logv", referenced from: _ortp_message in msamr.c.o _ortp_warning in amrnb.c.o _ortp_message in amrnb.c.o _ortp_error in amrnb.c.o _ortp_warning in amrwb.c.o _ortp_message in amrwb.c.o _ortp_error in amrwb.c.o ... "_ortp_malloc", referenced from: _enc_init in amrwb.c.o _dec_init in amrwb.c.o "_ortp_malloc0", referenced from: _enc_init in amrnb.c.o "_payload_type_clone", referenced from: _amr_match in msamr.c.o "_putq", referenced from: _dec_process in amrnb.c.o _enc_process in amrnb.c.o _enc_process in amrwb.c.o _dec_process in amrwb.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[6]: *** [src/libmsamr.so] Error 1 make[5]: *** [src/CMakeFiles/msamr.dir/all] Error 2 make[4]: *** [all] Error 2 make[3]: *** [/Users/jash/Developer/linphone-desktop/WORK/desktop/Stamp/EP_msamr/EP_msamr-build] Error 2 make[2]: *** [CMakeFiles/EP_msamr.dir/all] Error 2 make[1]: *** [all] Error 2 make: *** [desktop-build] Error 2

Not saving TURN password

As soon as I tab away or press enter the TURN password disappears. Calls do not seem to make use of it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.