belledonnecommunications / liblinphone Goto Github PK
View Code? Open in Web Editor NEWLinphone.org mirror for liblinphone (git://git.linphone.org/liblinphone.git)
Home Page: http://linphone.org
License: GNU Affero General Public License v3.0
Linphone.org mirror for liblinphone (git://git.linphone.org/liblinphone.git)
Home Page: http://linphone.org
License: GNU Affero General Public License v3.0
Hi,
Can anyone please help me in finding API for getting all message history in linphone core? I found this API 'linphone_chat_room_get_history' in the document but it corresponds to one chatroom and conversation. My requirement is to fetch all conversations and show it on UI.
Hi,
I have another issue with linphone chat room api. The new incoming message is being updated to wrong chatroom as described below
In linphone code observed that to determine to create a new chatroom or not , it is using 'from' address in case of incoming message. I believe this should be based on the combination of 'from' and 'to' values
Please help me to resolve the above issue
Hi
I tried to build linphone with autotools and cmake but result is always the same.
[ 92%] Linking CXX executable linphone-daemon
cd /var/tmp/portage/net-voip/linphone-3.12.0/work/linphone-3.12.0_build/daemon && /usr/bin/cmake -E cmake_link_script CMakeFiles/linphone-daemon.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed CMakeFiles/linphone-daemon.dir/commands/adaptive-jitter-compensation.cc.o CMakeFiles/linphone-daemon.dir/commands/answer.cc.o CMakeFiles/linphone-daemon.dir/commands/audio-codec-get.cc.o CMakeFiles/linphone-daemon.dir/commands/audio-codec-move.cc.o CMakeFiles/linphone-daemon.dir/commands/audio-codec-set.cc.o CMakeFiles/linphone-daemon.dir/commands/audio-codec-toggle.cc.o CMakeFiles/linphone-daemon.dir/commands/audio-stream-start.cc.o CMakeFiles/linphone-daemon.dir/commands/audio-stream-stats.cc.o CMakeFiles/linphone-daemon.dir/commands/audio-stream-stop.cc.o CMakeFiles/linphone-daemon.dir/commands/auth-infos-clear.cc.o CMakeFiles/linphone-daemon.dir/commands/call.cc.o CMakeFiles/linphone-daemon.dir/commands/call-mute.cc.o CMakeFiles/linphone-daemon.dir/commands/call-pause.cc.o CMakeFiles/linphone-daemon.dir/commands/call-resume.cc.o CMakeFiles/linphone-daemon.dir/commands/call-stats.cc.o CMakeFiles/linphone-daemon.dir/commands/call-status.cc.o CMakeFiles/linphone-daemon.dir/commands/call-transfer.cc.o CMakeFiles/linphone-daemon.dir/commands/cn.cc.o CMakeFiles/linphone-daemon.dir/commands/conference.cc.o CMakeFiles/linphone-daemon.dir/commands/config.cc.o CMakeFiles/linphone-daemon.dir/commands/contact.cc.o CMakeFiles/linphone-daemon.dir/commands/dtmf.cc.o CMakeFiles/linphone-daemon.dir/commands/firewall-policy.cc.o CMakeFiles/linphone-daemon.dir/commands/help.cc.o CMakeFiles/linphone-daemon.dir/commands/ipv6.cc.o CMakeFiles/linphone-daemon.dir/commands/jitterbuffer.cc.o CMakeFiles/linphone-daemon.dir/commands/media-encryption.cc.o CMakeFiles/linphone-daemon.dir/commands/msfilter-add-fmtp.cc.o CMakeFiles/linphone-daemon.dir/commands/netsim.cc.o CMakeFiles/linphone-daemon.dir/commands/play-wav.cc.o CMakeFiles/linphone-daemon.dir/commands/pop-event.cc.o CMakeFiles/linphone-daemon.dir/commands/port.cc.o CMakeFiles/linphone-daemon.dir/commands/ptime.cc.o CMakeFiles/linphone-daemon.dir/commands/quit.cc.o CMakeFiles/linphone-daemon.dir/commands/register.cc.o CMakeFiles/linphone-daemon.dir/commands/register-info.cc.o CMakeFiles/linphone-daemon.dir/commands/register-status.cc.o CMakeFiles/linphone-daemon.dir/commands/terminate.cc.o CMakeFiles/linphone-daemon.dir/commands/unregister.cc.o CMakeFiles/linphone-daemon.dir/commands/version.cc.o CMakeFiles/linphone-daemon.dir/commands/video.cc.o CMakeFiles/linphone-daemon.dir/daemon.cc.o -o linphone-daemon -Wl,-rpath,/var/tmp/portage/net-voip/linphone-3.12.0/work/linphone-3.12.0_build/coreapi: -rdynamic ../coreapi/liblinphone.so.9 /usr/lib64/libmediastreamer_voip.so.10 /usr/lib64/libmediastreamer_base.so.10 /usr/lib64/libortp.so.13 /usr/lib64/libbctoolbox.so.1
../coreapi/liblinphone.so.9: undefined reference to `linphone_chat_room_find_message_with_dir'
I after a quick check it seems SQLITE_STORAGE_ENABLED should defined somewhere, otherwise this function is not compiled.
So looks like kind of inconsistency either in build system or source files.
Hello everyone!
I used much time searching for a click-to-call function for linphone. Unfortunately I found nothing, except other people trying to find something alike :)
Cause of my lacking programming skills: Is there someone who could help with this?
I imagine something like this: mark a number you want to dial -> use a keyboard-shortcut to call in linephone. If there already is an obvious solution, then I am sorry for asking.
Best regards
Sebastian
LDAP code exists here: https://github.com/BelledonneCommunications/linphone/blob/7ceddff0b9fafff1a0afc6a6519f9370b981e7a2/coreapi/ldapprovider.c
But there appears to be no documentation or interface for configuring it.
Hi,
Would it be possible to integrate some "Connected Line" functionality (in liblinphone) after setting up a call, so the display is updated with the name of the callee?
Asterisk is sending 2 parameters with could be interpreted:
P-Asserted-Identity: "NAME" sip:EXT@SERVER
Remote-Party-ID: "NAME" sip:EXT@SERVER;privacy=off;screen=no
File: Sal_op_call.c (linphone\coreapi\bellesip_sal)
In function call_process_response, when dialog_state is in BELLE_SIP_DIALOG_CONFIRMED and op->state is in SalOpStateEarly or SalOpStateActive, why response to UPDATE treated as call_accepted no matter the status code is 2xx or 3xx~6xx?
Thank you!
I wanted to check v7 and try to compiler master on OpenSuse-42.3. I get a strange error on prepare.py. It continues to request "pystache" when this module is already installed ? Did I miss something stupid ?
fulup@fulup-desktop:~/Workspace/Sip/linphone-desktop> ./prepare.py
ERROR: The following python modules are missing: pystache. Please install them using:
pip install pystache
fulup@fulup-desktop:~/Workspace/Sip/linphone-desktop> pip install pystache
Requirement already satisfied: pystache in /usr/lib/python3.4/site-packages
Note: my OpenSuse has obviously gcc7+qt5.10 installed
I enable lime on the desktop compilation.
Incoming chats works OK, but the outgoing ones do not add the previous zrtp hash, and are ALL in plain text.
In theory, If a lime enabled client try to send a message to a non lime-enabled one, the message won't be displayed and the sender will be notified that the message couldn't be delivered.
But this DO NOT WORK. I could send from a linphone lime enabled desktop client to another NON lime client (example jitsi) and the message could be delivered and received.
There is a bug there. Please check as seems LIme working ONE SIDE only. Incomings. But NOT outgoings.
Hi All,
I need help regarding how and which API to be used to fetch list of all voicemails using linphone core. Please guide me through if there is a supported API and how it can be used.
Any reference links to the documentation would be helpful.
Thanks
Lakshmi
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader
at java.lang.Runtime.loadLibrary(Runtime.java:367)
at java.lang.System.loadLibrary(System.java:1076)
at com.wav.wavphone.core.LinphoneCoreFactoryImpl.<clinit>(LinphoneCoreFactoryImpl.java:46)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:324)
at java.lang.Class.forName(Class.java:285)
at com.wav.wavphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:47)
at com.wav.wavphone.LinphoneService.onCreate(LinphoneService.java:300)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3873)
at android.app.ActivityThread.access$2100(ActivityThread.java:229)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1909)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7406)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
This code is for iOS but the thought applies everywhere.
I'm trying to add some simple information into the uri parameters to send to the other voip client, these will help identify the user in our database.
So far I have tried to include this information in a few different ways but none of them have been received on the other side.
Client 1
before starting call to address.
linphone_address_set_header(addr, "TEST", "TEST");
linphone_address_set_param(addr, "TEST", "TEST");
linphone_address_set_uri_param(addr, "TEST", "TEST");
linphone_call_params_add_custom_header(cp, "TEST", "TEST");
Client 2
On notification for kLinphoneCallUpdate
const char *lValue = linphone_address_get_header(cp, "TEST", "TEST");
const char *lValue = linphone_address_get_param(cp, "TEST", "TEST");
const char *lValue = linphone_address_get_uri_param(cp, "TEST", "TEST");
const char *lValue = linphone_call_params_get_custom_header(cp, "TEST", "TEST");
Is this the correct way?, I cannot find any information for this, I've seen some talk around sending information in a contact header but have no idea how to do this on iOS.
Hi, I have an issue with the way the INVITE sdp is generated (in an outgoing call and I use TURN/ICE).
In "linphone/coreapi/bellesip_sal/sal_sdp.c" at line 324:
if ((rtcp_port != (rtp_port + 1)) || (different_rtp_and_rtcp_addr == TRUE)) {
So if the remote rtcp port follows the remote rtp port the header "a=rtcp:port" won't be added to the sdp. I don't understand why you check that here.
Because of that my media server isn't opening the port for rtcp. Because I'm using TURN/ICE the ICEchecklist is never completed and it creates a lot of misbehavior during the call (e.g.: channel bind is not sent, and for exemple you can't really pause/resume the call).
I modified the check to be as follow:
if (rtcp_port != 0 || (different_rtp_and_rtcp_addr == TRUE)) {
I'm not totally sure that it's correct either, but it seems a little bit better to me. If I'm mistaken maybe you can explain to me why rtcp header shouldn't be sent when the rtcp port follow the rtp one.
Linphone had make registration using the TLS.
Registration is ok but make make call after get 200OK linphone send Ack Using the UDP.
is there any requirement on linphone?
in the 200OK does the linphone should include the Record-Route with transport=tls?
when I compile Linphone with Android Studio,I got the error:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.linphone, PID: 5358
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.linphone-2/base.apk", zip file "/data/app/org.linphone-2/split_lib_dependencies_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_0_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_1_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_2_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_3_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_4_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_5_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_6_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_7_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_8_apk.apk", zip file "/data/app/org.linphone-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libgnustl_shared.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:988)
at org.linphone.core.LinphoneCoreFactoryImpl.(LinphoneCoreFactoryImpl.java:46)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:309)
at java.lang.Class.forName(Class.java:273)
at org.linphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:47)
at org.linphone.LinphoneService.onCreate(LinphoneService.java:300)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2809)
at android.app.ActivityThread.access$1800(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1404)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:134)
at android.app.ActivityThread.main(ActivityThread.java:5377)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:967)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
How should I solve this problem ?
Seems to be a bug in the build scripts.
Here is the whole log:
root@raspberrypi:/root/linphone# cmake . -DENABLE_VIDEO=NO -DENABLE_X11=NO -DENABLE_GTK=NO -DENABLE_SQLITE_STORAGE=NO
-- Setting install rpath to /usr/local/lib
-- Could NOT find Soci (missing: SOCI_INCLUDE_DIRS SOCI_LIBRARIES)
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.3")
-- Found Intl: /usr/include
-- Found PythonInterp: /usr/bin/python (found version "2.7.9")
-- Looking for include file libudev.h
-- Looking for include file libudev.h - not found
-- Found Git: /usr/bin/git (found version "2.1.4")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found Git: /usr/bin/git (found suitable version "2.1.4", minimum required is "1.7.1")
-- Package file name is liblinphone-3.12.0-222
-- Configuring done
-- Generating done
-- Build files have been written to: /root/linphone
root@raspberrypi:/root/linphone# make
Scanning dependencies of target linphone-cxx-objects
[ 0%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/content/content.cpp.o
[ 1%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/core/core.cpp.o
[ 1%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/cpim/header/cpim-core-headers.cpp.o
[ 2%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/cpim/header/cpim-generic-header.cpp.o
[ 2%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/cpim/header/cpim-header.cpp.o
[ 2%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/cpim/message/cpim-message.cpp.o
[ 3%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/cpim/parser/cpim-grammar.cpp.o
[ 3%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/cpim/parser/cpim-parser.cpp.o
[ 3%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/logger/logger.cpp.o
[ 4%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/message/message.cpp.o
[ 4%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/object/clonable-object.cpp.o
[ 4%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/object/object.cpp.o
[ 5%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/utils/general.cpp.o
[ 5%] Building CXX object src/CMakeFiles/linphone-cxx-objects.dir/utils/utils.cpp.o
[ 5%] Built target linphone-cxx-objects
Scanning dependencies of target linphone-cxx-objects-static
[ 5%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/content/content.cpp.o
[ 6%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/core/core.cpp.o
[ 6%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/cpim/header/cpim-core-headers.cpp.o
[ 6%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/cpim/header/cpim-generic-header.cpp.o
[ 7%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/cpim/header/cpim-header.cpp.o
[ 7%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/cpim/message/cpim-message.cpp.o
[ 8%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/cpim/parser/cpim-grammar.cpp.o
[ 8%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/cpim/parser/cpim-parser.cpp.o
[ 8%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/logger/logger.cpp.o
[ 9%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/message/message.cpp.o
[ 9%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/object/clonable-object.cpp.o
[ 9%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/object/object.cpp.o
[ 10%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/utils/general.cpp.o
[ 10%] Building CXX object src/CMakeFiles/linphone-cxx-objects-static.dir/utils/utils.cpp.o
[ 10%] Built target linphone-cxx-objects-static
Scanning dependencies of target liblinphone-git-version
[ 10%] Built target liblinphone-git-version
Scanning dependencies of target linphone-static
[ 10%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/account_creator.c.o
/root/linphone/coreapi/account_creator.c: In function ‘unsigned int validate_uri(const char*, const char*, const char*)’:
/root/linphone/coreapi/account_creator.c:49:31: warning: ‘LinphoneProxyConfig* linphone_proxy_config_new()’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:38) [-Wdeprecated-declarations]
LinphoneProxyConfig* proxy = linphone_proxy_config_new();
^
/root/linphone/coreapi/account_creator.c:49:57: warning: ‘LinphoneProxyConfig* linphone_proxy_config_new()’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:38) [-Wdeprecated-declarations]
LinphoneProxyConfig* proxy = linphone_proxy_config_new();
^
/root/linphone/coreapi/account_creator.c:50:2: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(proxy, "sip:[email protected]");
^
/root/linphone/coreapi/account_creator.c:50:62: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(proxy, "sip:[email protected]");
^
/root/linphone/coreapi/account_creator.c:72:2: warning: ‘void linphone_proxy_config_destroy(LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:391) [-Wdeprecated-declarations]
linphone_proxy_config_destroy(proxy);
^
/root/linphone/coreapi/account_creator.c:72:37: warning: ‘void linphone_proxy_config_destroy(LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:391) [-Wdeprecated-declarations]
linphone_proxy_config_destroy(proxy);
^
/root/linphone/coreapi/account_creator.c: In function ‘char* get_identity(const LinphoneAccountCreator*)’:
/root/linphone/coreapi/account_creator.c:89:3: warning: ‘void linphone_proxy_config_destroy(LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:391) [-Wdeprecated-declarations]
linphone_proxy_config_destroy(proxy);
^
/root/linphone/coreapi/account_creator.c:89:38: warning: ‘void linphone_proxy_config_destroy(LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:391) [-Wdeprecated-declarations]
linphone_proxy_config_destroy(proxy);
^
[ 11%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/account_creator_service.c.o
[ 11%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/address.c.o
[ 11%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/authentication.c.o
[ 12%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_address_impl.c.o
[ 12%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_impl.c.o
[ 12%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_call.c.o
[ 13%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_call_transfer.c.o
[ 13%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_events.c.o
[ 13%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_impl.c.o
[ 14%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_info.c.o
[ 14%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_message.c.o
[ 15%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_presence.c.o
[ 15%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_publish.c.o
[ 15%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_op_registration.c.o
[ 16%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/bellesip_sal/sal_sdp.c.o
[ 16%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/buffer.c.o
[ 16%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/callbacks.c.o
[ 17%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/call_log.c.o
[ 17%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/call_params.c.o
[ 17%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/carddav.c.o
[ 18%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/chat.c.o
/root/linphone/coreapi/chat.c: In function ‘void linphone_chat_room_send_message(LinphoneChatRoom*, LinphoneChatMessage*)’:
/root/linphone/coreapi/chat.c:433:16: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c:433:56: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c: In function ‘void linphone_chat_room_send_is_composing_notification(LinphoneChatRoom*)’:
/root/linphone/coreapi/chat.c:1092:15: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c:1092:55: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c: In function ‘void linphone_chat_message_send_imdn(LinphoneChatMessage*, ImdnType, LinphoneReason)’:
/root/linphone/coreapi/chat.c:1248:14: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c:1248:54: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
[ 18%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/chat_file_transfer.c.o
[ 18%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/contactprovider.c.o
[ 19%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/content.c.o
[ 19%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/dial_plan.c.o
[ 19%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/dict.c.o
[ 20%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/ec-calibrator.c.o
[ 20%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/echo-tester.c.o
[ 21%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/enum.c.o
[ 21%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/error_info.c.o
[ 21%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/event.c.o
[ 22%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/factory.c.o
[ 22%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/friend.c.o
/root/linphone/coreapi/friend.c: In function ‘void linphone_friend_update_subscribes(LinphoneFriend*, bool_t)’:
/root/linphone/coreapi/friend.c:745:10: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
tmp,linphone_proxy_config_get_identity(cfg));
^
/root/linphone/coreapi/friend.c:745:48: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
tmp,linphone_proxy_config_get_identity(cfg));
^
[ 22%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/friendlist.c.o
[ 23%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/im_notif_policy.c.o
[ 23%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/info.c.o
[ 23%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/ldapprovider.c.o
[ 24%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/lime.c.o
[ 24%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/im_encryption_engine.c.o
[ 24%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/linphonecall.c.o
/root/linphone/coreapi/linphonecall.c: In function ‘void linphone_call_get_local_ip(LinphoneCall*, const LinphoneAddress*)’:
/root/linphone/coreapi/linphonecall.c:1252:6: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
if (linphone_core_get_firewall_policy(call->core)==LinphonePolicyUseNatAddress
^
/root/linphone/coreapi/linphonecall.c:1252:50: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
if (linphone_core_get_firewall_policy(call->core)==LinphonePolicyUseNatAddress
^
/root/linphone/coreapi/linphonecall.c: In function ‘LinphoneAddress* get_fixed_contact(LinphoneCore*, LinphoneCall*, LinphoneProxyConfig*)’:
/root/linphone/coreapi/linphonecall.c:5014:6: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
if (linphone_core_get_firewall_policy(lc)==LinphonePolicyUseNatAddress){
^
/root/linphone/coreapi/linphonecall.c:5014:42: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
if (linphone_core_get_firewall_policy(lc)==LinphonePolicyUseNatAddress){
^
[ 25%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/linphonecore.c.o
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_set_log_handler(BctbxLogFunc)’:
/root/linphone/coreapi/linphonecore.c:467:3: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func=liblinphone_user_log_func);
^
/root/linphone/coreapi/linphonecore.c:467:79: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func=liblinphone_user_log_func);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_set_log_file(FILE*)’:
/root/linphone/coreapi/linphonecore.c:474:2: warning: ‘void bctbx_set_log_file(FILE*)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:105) [-Wdeprecated-declarations]
bctbx_set_log_file(file); /gather everythings/
^
/root/linphone/coreapi/linphonecore.c:474:25: warning: ‘void bctbx_set_log_file(FILE*)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:105) [-Wdeprecated-declarations]
bctbx_set_log_file(file); /gather everythings/
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_enable_log_collection(LinphoneLogCollectionState)’:
/root/linphone/coreapi/linphonecore.c:692:3: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func = linphone_core_log_collection_handler);
^
/root/linphone/coreapi/linphonecore.c:692:92: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func = linphone_core_log_collection_handler);
^
/root/linphone/coreapi/linphonecore.c:694:3: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_user_log_func); /restaure /
^
/root/linphone/coreapi/linphonecore.c:694:50: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_user_log_func); /restaure /
^
/root/linphone/coreapi/linphonecore.c: In function ‘void net_config_read(LinphoneCore)’:
/root/linphone/coreapi/linphonecore.c:1065:3: warning: ‘void linphone_core_set_firewall_policy(LinphoneCore, LinphoneFirewallPolicy)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2669) [-Wdeprecated-declarations]
linphone_core_set_firewall_policy(lc, linphone_core_get_firewall_policy(lc));
^
/root/linphone/coreapi/linphonecore.c:1065:41: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
linphone_core_set_firewall_policy(lc, linphone_core_get_firewall_policy(lc));
^
/root/linphone/coreapi/linphonecore.c:1065:77: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
linphone_core_set_firewall_policy(lc, linphone_core_get_firewall_policy(lc));
^
/root/linphone/coreapi/linphonecore.c:1065:78: warning: ‘void linphone_core_set_firewall_policy(LinphoneCore*, LinphoneFirewallPolicy)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2669) [-Wdeprecated-declarations]
linphone_core_set_firewall_policy(lc, linphone_core_get_firewall_policy(lc));
^
/root/linphone/coreapi/linphonecore.c: In function ‘void codecs_config_read(LinphoneCore*)’:
/root/linphone/coreapi/linphonecore.c:1685:2: warning: ‘LinphoneStatus linphone_core_set_audio_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1684) [-Wdeprecated-declarations]
linphone_core_set_audio_codecs(lc,audio_codecs);
^
/root/linphone/coreapi/linphonecore.c:1685:48: warning: ‘LinphoneStatus linphone_core_set_audio_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1684) [-Wdeprecated-declarations]
linphone_core_set_audio_codecs(lc,audio_codecs);
^
/root/linphone/coreapi/linphonecore.c:1686:2: warning: ‘LinphoneStatus linphone_core_set_video_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1731) [-Wdeprecated-declarations]
linphone_core_set_video_codecs(lc,video_codecs);
^
/root/linphone/coreapi/linphonecore.c:1686:48: warning: ‘LinphoneStatus linphone_core_set_video_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1731) [-Wdeprecated-declarations]
linphone_core_set_video_codecs(lc,video_codecs);
^
/root/linphone/coreapi/linphonecore.c:1687:2: warning: ‘LinphoneStatus linphone_core_set_text_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1778) [-Wdeprecated-declarations]
linphone_core_set_text_codecs(lc, text_codecs);
^
/root/linphone/coreapi/linphonecore.c:1687:47: warning: ‘LinphoneStatus linphone_core_set_text_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1778) [-Wdeprecated-declarations]
linphone_core_set_text_codecs(lc, text_codecs);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_init(LinphoneCore*, LinphoneCoreCbs*, LinphoneConfig*, void*)’:
/root/linphone/coreapi/linphonecore.c:2163:3: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func=liblinphone_user_log_func); /default value/
^
/root/linphone/coreapi/linphonecore.c:2163:79: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func=liblinphone_user_log_func); /default value/
^
/root/linphone/coreapi/linphonecore.c: In function ‘LinphoneCore* linphone_core_new(const LinphoneCoreVTable*, const char*, const char*, void*)’:
/root/linphone/coreapi/linphonecore.c:2266:5: warning: ‘LinphoneCore* linphone_core_new_with_config(const LinphoneCoreVTable*, LpConfig*, void*)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:2251) [-Wdeprecated-declarations]
lc=linphone_core_new_with_config(vtable, config, userdata);
^
/root/linphone/coreapi/linphonecore.c:2266:59: warning: ‘LinphoneCore* linphone_core_new_with_config(const LinphoneCoreVTable*, LpConfig*, void*)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:2251) [-Wdeprecated-declarations]
lc=linphone_core_new_with_config(vtable, config, userdata);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void update_primary_contact(LinphoneCore*)’:
/root/linphone/coreapi/linphonecore.c:2391:9: warning: ‘int linphone_core_get_sip_port(LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2364) [-Wdeprecated-declarations]
port = linphone_core_get_sip_port(lc);
^
/root/linphone/coreapi/linphonecore.c:2391:38: warning: ‘int linphone_core_get_sip_port(LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2364) [-Wdeprecated-declarations]
port = linphone_core_get_sip_port(lc);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void assign_buddy_info(LinphoneCore*, BuddyInfo*)’:
/root/linphone/coreapi/linphonecore.c:3048:21: warning: ‘LinphoneFriend* linphone_core_get_friend_by_address(const LinphoneCore*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:5119) [-Wdeprecated-declarations]
LinphoneFriend lf=linphone_core_get_friend_by_address(lc,info->sip_uri);
^
/root/linphone/coreapi/linphonecore.c:3048:73: warning: ‘LinphoneFriend linphone_core_get_friend_by_address(const LinphoneCore*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:5119) [-Wdeprecated-declarations]
LinphoneFriend lf=linphone_core_get_friend_by_address(lc,info->sip_uri);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_grab_buddy_infos(LinphoneCore, LinphoneProxyConfig*)’:
/root/linphone/coreapi/linphonecore.c:3083:11: warning: ‘const bctbx_list_t* linphone_core_get_friend_list(const LinphoneCore*)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:2502) [-Wdeprecated-declarations]
for(elem=linphone_core_get_friend_list(lc);elem!=NULL;elem=elem->next){
^
/root/linphone/coreapi/linphonecore.c:3083:43: warning: ‘const bctbx_list_t* linphone_core_get_friend_list(const LinphoneCore*)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:2502) [-Wdeprecated-declarations]
for(elem=linphone_core_get_friend_list(lc);elem!=NULL;elem=elem->next){
^
/root/linphone/coreapi/linphonecore.c: In function ‘const char* linphone_core_get_identity(LinphoneCore*)’:
/root/linphone/coreapi/linphonecore.c:3311:8: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
from=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c:3311:48: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
from=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c: In function ‘const char* linphone_core_find_best_identity(LinphoneCore*, const LinphoneAddress*)’:
/root/linphone/coreapi/linphonecore.c:3444:10: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
return linphone_proxy_config_get_identity (cfg);
^
/root/linphone/coreapi/linphonecore.c:3444:49: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
return linphone_proxy_config_get_identity (cfg);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_configure_op_with_proxy(LinphoneCore*, SalOp*, const LinphoneAddress*, SalCustomHeader*, bool_t, LinphoneProxyConfig*)’:
/root/linphone/coreapi/linphonecore.c:3493:12: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c:3493:52: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c: In function ‘LinphoneCall* linphone_core_invite_address_with_params(LinphoneCore*, const LinphoneAddress*, const LinphoneCallParams*)’:
/root/linphone/coreapi/linphonecore.c:3557:8: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
from=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c:3557:48: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
from=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c:3594:11: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
else if (linphone_core_get_firewall_policy(call->core) == LinphonePolicyUseUpnp) {
^
/root/linphone/coreapi/linphonecore.c:3594:55: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
else if (linphone_core_get_firewall_policy(call->core) == LinphonePolicyUseUpnp) {
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_set_preview_video_size_by_name(LinphoneCore*, const char*)’:
/root/linphone/coreapi/linphonecore.c:5516:2: warning: ‘void linphone_core_set_preview_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5473) [-Wdeprecated-declarations]
linphone_core_set_preview_video_size(lc,vsize);
^
/root/linphone/coreapi/linphonecore.c:5516:47: warning: ‘void linphone_core_set_preview_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5473) [-Wdeprecated-declarations]
linphone_core_set_preview_video_size(lc,vsize);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_set_preferred_video_size_by_name(LinphoneCore*, const char*)’:
/root/linphone/coreapi/linphonecore.c:5531:22: warning: ‘void linphone_core_set_preferred_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5444) [-Wdeprecated-declarations]
if (vsize.width!=0) linphone_core_set_preferred_video_size(lc,vsize);
^
/root/linphone/coreapi/linphonecore.c:5531:69: warning: ‘void linphone_core_set_preferred_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5444) [-Wdeprecated-declarations]
if (vsize.width!=0) linphone_core_set_preferred_video_size(lc,vsize);
^
/root/linphone/coreapi/linphonecore.c:5532:7: warning: ‘void linphone_core_set_preferred_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5444) [-Wdeprecated-declarations]
else linphone_core_set_preferred_video_size(lc,default_vsize);
^
/root/linphone/coreapi/linphonecore.c:5532:62: warning: ‘void linphone_core_set_preferred_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5444) [-Wdeprecated-declarations]
else linphone_core_set_preferred_video_size(lc,default_vsize);
^
[ 25%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/linphone_tunnel_config.c.o
[ 25%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/localplayer.c.o
[ 26%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/lpc2xml.c.o
[ 26%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/lpconfig.c.o
[ 27%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/lsd.c.o
[ 27%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/message_storage.c.o
[ 27%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/misc.c.o
/root/linphone/coreapi/misc.c: In function ‘void linphone_core_update_allocated_audio_bandwidth(LinphoneCore*)’:
/root/linphone/coreapi/misc.c:137:11: warning: ‘const bctbx_list_t* linphone_core_get_audio_codecs(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1671) [-Wdeprecated-declarations]
for(elem=linphone_core_get_audio_codecs(lc);elem!=NULL;elem=elem->next){
^
/root/linphone/coreapi/misc.c:137:44: warning: ‘const bctbx_list_t* linphone_core_get_audio_codecs(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1671) [-Wdeprecated-declarations]
for(elem=linphone_core_get_audio_codecs(lc);elem!=NULL;elem=elem->next){
^
[ 28%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/nat_policy.c.o
[ 28%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/offeranswer.c.o
[ 28%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/payload_type.c.o
[ 29%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/player.c.o
[ 29%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/presence.c.o
[ 29%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/proxy.c.o
/root/linphone/coreapi/proxy.c: In function ‘char* linphone_proxy_config_normalize_phone_number(LinphoneProxyConfig*, const char*)’:
/root/linphone/coreapi/proxy.c:640:50: warning: ‘LinphoneProxyConfig* linphone_proxy_config_new()’ is deprecated (declared at /root/linphone/coreapi/proxy.c:144) [-Wdeprecated-declarations]
LinphoneProxyConfig tmpproxy = proxy ? proxy : linphone_proxy_config_new();
^
/root/linphone/coreapi/proxy.c:640:76: warning: ‘LinphoneProxyConfig linphone_proxy_config_new()’ is deprecated (declared at /root/linphone/coreapi/proxy.c:144) [-Wdeprecated-declarations]
LinphoneProxyConfig tmpproxy = proxy ? proxy : linphone_proxy_config_new();
^
/root/linphone/coreapi/proxy.c: In function ‘LinphoneProxyConfig linphone_proxy_config_new_from_config_file(LinphoneCore*, int)’:
/root/linphone/coreapi/proxy.c:1149:24: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char* default_value = linphone_proxy_config_get##param(cfg)?ms_strdup(linphone_proxy_config_get##param(cfg)):NULL;
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1149:61: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char* default_value = linphone_proxy_config_get##param(cfg)?ms_strdup(linphone_proxy_config_get##param(cfg)):NULL;
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1149:73: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char* default_value = linphone_proxy_config_get##param(cfg)?ms_strdup(linphone_proxy_config_get_##param(cfg)):NULL;
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1149:110: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char* default_value = linphone_proxy_config_get_##param(cfg)?ms_strdup(linphone_proxy_config_get_##param(cfg)):NULL;
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1150:2: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:315) [-Wdeprecated-declarations]
linphone_proxy_config_set_##param(cfg,lp_config_get_string(config,key,param_name,default_value));
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1150:97: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:315) [-Wdeprecated-declarations]
linphone_proxy_config_set_##param(cfg,lp_config_get_string(config,key,param_name,default_value));
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c: In function ‘void linphone_proxy_config_set_state(LinphoneProxyConfig*, LinphoneRegistrationState, const char*)’:
/root/linphone/coreapi/proxy.c:1314:58: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char msg=ortp_strdup_printf(_("Refreshing on %s..."), linphone_proxy_config_get_identity(cfg));
^
/root/linphone/coreapi/proxy.c:1314:96: warning: ‘const char linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char msg=ortp_strdup_printf(_("Refreshing on %s..."), linphone_proxy_config_get_identity(cfg));
^
/root/linphone/coreapi/proxy.c:1323:6: warning: ‘const char linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
linphone_proxy_config_get_identity(cfg),
^
/root/linphone/coreapi/proxy.c:1323:44: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
linphone_proxy_config_get_identity(cfg),
^
[ 30%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/quality_reporting.c.o
[ 30%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/remote_provisioning.c.o
[ 30%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/ringtoneplayer.c.o
[ 31%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/sal.c.o
[ 31%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/siplogin.c.o
/root/linphone/coreapi/siplogin.c: In function ‘int sip_login_do_login(SipSetupContext*, const char*, const char*, const char*)’:
/root/linphone/coreapi/siplogin.c:67:2: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(cfg,tmp);
^
/root/linphone/coreapi/siplogin.c:67:44: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(cfg,tmp);
^
[ 31%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/sipsetup.c.o
[ 32%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/sqlite3_bctbx_vfs.c.o
[ 32%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/video_definition.c.o
[ 33%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/xml2lpc.c.o
[ 33%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/xml.c.o
[ 33%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/xmlrpc.c.o
[ 34%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/vtables.c.o
[ 34%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/linphone_tunnel_stubs.c.o
[ 34%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/vcard_stubs.c.o
[ 35%] Building CXX object coreapi/CMakeFiles/linphone-static.dir/conference.cc.o
/root/linphone/coreapi/conference.cc: In constructor ‘Linphone::Conference::Params::Params(const LinphoneCore*)’:
/root/linphone/coreapi/conference.cc:86:41: warning: ‘const LinphoneVideoPolicy* linphone_core_get_video_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:3307) [-Wdeprecated-declarations]
const LinphoneVideoPolicy policy = linphone_core_get_video_policy(core);
^
/root/linphone/coreapi/conference.cc:86:76: warning: ‘const LinphoneVideoPolicy linphone_core_get_video_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:3307) [-Wdeprecated-declarations]
const LinphoneVideoPolicy policy = linphone_core_get_video_policy(core);
^
[ 35%] Linking CXX static library liblinphone.a
[ 35%] Built target linphone-static
Scanning dependencies of target linphone
[ 36%] Building CXX object coreapi/CMakeFiles/linphone.dir/account_creator.c.o
/root/linphone/coreapi/account_creator.c: In function ‘unsigned int validate_uri(const char, const char*, const char*)’:
/root/linphone/coreapi/account_creator.c:49:31: warning: ‘LinphoneProxyConfig* linphone_proxy_config_new()’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:38) [-Wdeprecated-declarations]
LinphoneProxyConfig* proxy = linphone_proxy_config_new();
^
/root/linphone/coreapi/account_creator.c:49:57: warning: ‘LinphoneProxyConfig* linphone_proxy_config_new()’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:38) [-Wdeprecated-declarations]
LinphoneProxyConfig* proxy = linphone_proxy_config_new();
^
/root/linphone/coreapi/account_creator.c:50:2: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(proxy, "sip:[email protected]");
^
/root/linphone/coreapi/account_creator.c:50:62: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(proxy, "sip:[email protected]");
^
/root/linphone/coreapi/account_creator.c:72:2: warning: ‘void linphone_proxy_config_destroy(LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:391) [-Wdeprecated-declarations]
linphone_proxy_config_destroy(proxy);
^
/root/linphone/coreapi/account_creator.c:72:37: warning: ‘void linphone_proxy_config_destroy(LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:391) [-Wdeprecated-declarations]
linphone_proxy_config_destroy(proxy);
^
/root/linphone/coreapi/account_creator.c: In function ‘char* get_identity(const LinphoneAccountCreator*)’:
/root/linphone/coreapi/account_creator.c:89:3: warning: ‘void linphone_proxy_config_destroy(LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:391) [-Wdeprecated-declarations]
linphone_proxy_config_destroy(proxy);
^
/root/linphone/coreapi/account_creator.c:89:38: warning: ‘void linphone_proxy_config_destroy(LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:391) [-Wdeprecated-declarations]
linphone_proxy_config_destroy(proxy);
^
[ 36%] Building CXX object coreapi/CMakeFiles/linphone.dir/account_creator_service.c.o
[ 36%] Building CXX object coreapi/CMakeFiles/linphone.dir/address.c.o
[ 37%] Building CXX object coreapi/CMakeFiles/linphone.dir/authentication.c.o
[ 37%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_address_impl.c.o
[ 37%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_impl.c.o
[ 38%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_call.c.o
[ 38%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_call_transfer.c.o
[ 38%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_events.c.o
[ 39%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_impl.c.o
[ 39%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_info.c.o
[ 40%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_message.c.o
[ 40%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_presence.c.o
[ 40%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_publish.c.o
[ 41%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_op_registration.c.o
[ 41%] Building CXX object coreapi/CMakeFiles/linphone.dir/bellesip_sal/sal_sdp.c.o
[ 41%] Building CXX object coreapi/CMakeFiles/linphone.dir/buffer.c.o
[ 42%] Building CXX object coreapi/CMakeFiles/linphone.dir/callbacks.c.o
[ 42%] Building CXX object coreapi/CMakeFiles/linphone.dir/call_log.c.o
[ 42%] Building CXX object coreapi/CMakeFiles/linphone.dir/call_params.c.o
[ 43%] Building CXX object coreapi/CMakeFiles/linphone.dir/carddav.c.o
[ 43%] Building CXX object coreapi/CMakeFiles/linphone.dir/chat.c.o
/root/linphone/coreapi/chat.c: In function ‘void linphone_chat_room_send_message(LinphoneChatRoom*, LinphoneChatMessage*)’:
/root/linphone/coreapi/chat.c:433:16: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c:433:56: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c: In function ‘void linphone_chat_room_send_is_composing_notification(LinphoneChatRoom*)’:
/root/linphone/coreapi/chat.c:1092:15: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c:1092:55: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c: In function ‘void linphone_chat_message_send_imdn(LinphoneChatMessage*, ImdnType, LinphoneReason)’:
/root/linphone/coreapi/chat.c:1248:14: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/chat.c:1248:54: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity = linphone_proxy_config_get_identity(proxy);
^
[ 43%] Building CXX object coreapi/CMakeFiles/linphone.dir/chat_file_transfer.c.o
[ 44%] Building CXX object coreapi/CMakeFiles/linphone.dir/contactprovider.c.o
[ 44%] Building CXX object coreapi/CMakeFiles/linphone.dir/content.c.o
[ 44%] Building CXX object coreapi/CMakeFiles/linphone.dir/dial_plan.c.o
[ 45%] Building CXX object coreapi/CMakeFiles/linphone.dir/dict.c.o
[ 45%] Building CXX object coreapi/CMakeFiles/linphone.dir/ec-calibrator.c.o
[ 46%] Building CXX object coreapi/CMakeFiles/linphone.dir/echo-tester.c.o
[ 46%] Building CXX object coreapi/CMakeFiles/linphone.dir/enum.c.o
[ 46%] Building CXX object coreapi/CMakeFiles/linphone.dir/error_info.c.o
[ 47%] Building CXX object coreapi/CMakeFiles/linphone.dir/event.c.o
[ 47%] Building CXX object coreapi/CMakeFiles/linphone.dir/factory.c.o
[ 47%] Building CXX object coreapi/CMakeFiles/linphone.dir/friend.c.o
/root/linphone/coreapi/friend.c: In function ‘void linphone_friend_update_subscribes(LinphoneFriend*, bool_t)’:
/root/linphone/coreapi/friend.c:745:10: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
tmp,linphone_proxy_config_get_identity(cfg));
^
/root/linphone/coreapi/friend.c:745:48: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
tmp,linphone_proxy_config_get_identity(cfg));
^
[ 48%] Building CXX object coreapi/CMakeFiles/linphone.dir/friendlist.c.o
[ 48%] Building CXX object coreapi/CMakeFiles/linphone.dir/im_notif_policy.c.o
[ 48%] Building CXX object coreapi/CMakeFiles/linphone.dir/info.c.o
[ 49%] Building CXX object coreapi/CMakeFiles/linphone.dir/ldapprovider.c.o
[ 49%] Building CXX object coreapi/CMakeFiles/linphone.dir/lime.c.o
[ 49%] Building CXX object coreapi/CMakeFiles/linphone.dir/im_encryption_engine.c.o
[ 50%] Building CXX object coreapi/CMakeFiles/linphone.dir/linphonecall.c.o
/root/linphone/coreapi/linphonecall.c: In function ‘void linphone_call_get_local_ip(LinphoneCall*, const LinphoneAddress*)’:
/root/linphone/coreapi/linphonecall.c:1252:6: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
if (linphone_core_get_firewall_policy(call->core)==LinphonePolicyUseNatAddress
^
/root/linphone/coreapi/linphonecall.c:1252:50: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
if (linphone_core_get_firewall_policy(call->core)==LinphonePolicyUseNatAddress
^
/root/linphone/coreapi/linphonecall.c: In function ‘LinphoneAddress* get_fixed_contact(LinphoneCore*, LinphoneCall*, LinphoneProxyConfig*)’:
/root/linphone/coreapi/linphonecall.c:5014:6: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
if (linphone_core_get_firewall_policy(lc)==LinphonePolicyUseNatAddress){
^
/root/linphone/coreapi/linphonecall.c:5014:42: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
if (linphone_core_get_firewall_policy(lc)==LinphonePolicyUseNatAddress){
^
[ 50%] Building CXX object coreapi/CMakeFiles/linphone.dir/linphonecore.c.o
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_set_log_handler(BctbxLogFunc)’:
/root/linphone/coreapi/linphonecore.c:467:3: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func=liblinphone_user_log_func);
^
/root/linphone/coreapi/linphonecore.c:467:79: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func=liblinphone_user_log_func);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_set_log_file(FILE*)’:
/root/linphone/coreapi/linphonecore.c:474:2: warning: ‘void bctbx_set_log_file(FILE*)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:105) [-Wdeprecated-declarations]
bctbx_set_log_file(file); /gather everythings/
^
/root/linphone/coreapi/linphonecore.c:474:25: warning: ‘void bctbx_set_log_file(FILE*)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:105) [-Wdeprecated-declarations]
bctbx_set_log_file(file); /gather everythings/
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_enable_log_collection(LinphoneLogCollectionState)’:
/root/linphone/coreapi/linphonecore.c:692:3: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func = linphone_core_log_collection_handler);
^
/root/linphone/coreapi/linphonecore.c:692:92: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func = linphone_core_log_collection_handler);
^
/root/linphone/coreapi/linphonecore.c:694:3: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_user_log_func); /restaure /
^
/root/linphone/coreapi/linphonecore.c:694:50: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_user_log_func); /restaure /
^
/root/linphone/coreapi/linphonecore.c: In function ‘void net_config_read(LinphoneCore)’:
/root/linphone/coreapi/linphonecore.c:1065:3: warning: ‘void linphone_core_set_firewall_policy(LinphoneCore, LinphoneFirewallPolicy)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2669) [-Wdeprecated-declarations]
linphone_core_set_firewall_policy(lc, linphone_core_get_firewall_policy(lc));
^
/root/linphone/coreapi/linphonecore.c:1065:41: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
linphone_core_set_firewall_policy(lc, linphone_core_get_firewall_policy(lc));
^
/root/linphone/coreapi/linphonecore.c:1065:77: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
linphone_core_set_firewall_policy(lc, linphone_core_get_firewall_policy(lc));
^
/root/linphone/coreapi/linphonecore.c:1065:78: warning: ‘void linphone_core_set_firewall_policy(LinphoneCore*, LinphoneFirewallPolicy)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2669) [-Wdeprecated-declarations]
linphone_core_set_firewall_policy(lc, linphone_core_get_firewall_policy(lc));
^
/root/linphone/coreapi/linphonecore.c: In function ‘void codecs_config_read(LinphoneCore*)’:
/root/linphone/coreapi/linphonecore.c:1685:2: warning: ‘LinphoneStatus linphone_core_set_audio_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1684) [-Wdeprecated-declarations]
linphone_core_set_audio_codecs(lc,audio_codecs);
^
/root/linphone/coreapi/linphonecore.c:1685:48: warning: ‘LinphoneStatus linphone_core_set_audio_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1684) [-Wdeprecated-declarations]
linphone_core_set_audio_codecs(lc,audio_codecs);
^
/root/linphone/coreapi/linphonecore.c:1686:2: warning: ‘LinphoneStatus linphone_core_set_video_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1731) [-Wdeprecated-declarations]
linphone_core_set_video_codecs(lc,video_codecs);
^
/root/linphone/coreapi/linphonecore.c:1686:48: warning: ‘LinphoneStatus linphone_core_set_video_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1731) [-Wdeprecated-declarations]
linphone_core_set_video_codecs(lc,video_codecs);
^
/root/linphone/coreapi/linphonecore.c:1687:2: warning: ‘LinphoneStatus linphone_core_set_text_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1778) [-Wdeprecated-declarations]
linphone_core_set_text_codecs(lc, text_codecs);
^
/root/linphone/coreapi/linphonecore.c:1687:47: warning: ‘LinphoneStatus linphone_core_set_text_codecs(LinphoneCore*, bctbx_list_t*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1778) [-Wdeprecated-declarations]
linphone_core_set_text_codecs(lc, text_codecs);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_init(LinphoneCore*, LinphoneCoreCbs*, LinphoneConfig*, void*)’:
/root/linphone/coreapi/linphonecore.c:2163:3: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func=liblinphone_user_log_func); /default value/
^
/root/linphone/coreapi/linphonecore.c:2163:79: warning: ‘void bctbx_set_log_handler(BctbxLogFunc)’ is deprecated (declared at /usr/local/include/bctoolbox/logging.h:101) [-Wdeprecated-declarations]
bctbx_set_log_handler(liblinphone_current_log_func=liblinphone_user_log_func); /default value/
^
/root/linphone/coreapi/linphonecore.c: In function ‘LinphoneCore* linphone_core_new(const LinphoneCoreVTable*, const char*, const char*, void*)’:
/root/linphone/coreapi/linphonecore.c:2266:5: warning: ‘LinphoneCore* linphone_core_new_with_config(const LinphoneCoreVTable*, LpConfig*, void*)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:2251) [-Wdeprecated-declarations]
lc=linphone_core_new_with_config(vtable, config, userdata);
^
/root/linphone/coreapi/linphonecore.c:2266:59: warning: ‘LinphoneCore* linphone_core_new_with_config(const LinphoneCoreVTable*, LpConfig*, void*)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:2251) [-Wdeprecated-declarations]
lc=linphone_core_new_with_config(vtable, config, userdata);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void update_primary_contact(LinphoneCore*)’:
/root/linphone/coreapi/linphonecore.c:2391:9: warning: ‘int linphone_core_get_sip_port(LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2364) [-Wdeprecated-declarations]
port = linphone_core_get_sip_port(lc);
^
/root/linphone/coreapi/linphonecore.c:2391:38: warning: ‘int linphone_core_get_sip_port(LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2364) [-Wdeprecated-declarations]
port = linphone_core_get_sip_port(lc);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void assign_buddy_info(LinphoneCore*, BuddyInfo*)’:
/root/linphone/coreapi/linphonecore.c:3048:21: warning: ‘LinphoneFriend* linphone_core_get_friend_by_address(const LinphoneCore*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:5119) [-Wdeprecated-declarations]
LinphoneFriend lf=linphone_core_get_friend_by_address(lc,info->sip_uri);
^
/root/linphone/coreapi/linphonecore.c:3048:73: warning: ‘LinphoneFriend linphone_core_get_friend_by_address(const LinphoneCore*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:5119) [-Wdeprecated-declarations]
LinphoneFriend lf=linphone_core_get_friend_by_address(lc,info->sip_uri);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_grab_buddy_infos(LinphoneCore, LinphoneProxyConfig*)’:
/root/linphone/coreapi/linphonecore.c:3083:11: warning: ‘const bctbx_list_t* linphone_core_get_friend_list(const LinphoneCore*)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:2502) [-Wdeprecated-declarations]
for(elem=linphone_core_get_friend_list(lc);elem!=NULL;elem=elem->next){
^
/root/linphone/coreapi/linphonecore.c:3083:43: warning: ‘const bctbx_list_t* linphone_core_get_friend_list(const LinphoneCore*)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:2502) [-Wdeprecated-declarations]
for(elem=linphone_core_get_friend_list(lc);elem!=NULL;elem=elem->next){
^
/root/linphone/coreapi/linphonecore.c: In function ‘const char* linphone_core_get_identity(LinphoneCore*)’:
/root/linphone/coreapi/linphonecore.c:3311:8: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
from=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c:3311:48: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
from=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c: In function ‘const char* linphone_core_find_best_identity(LinphoneCore*, const LinphoneAddress*)’:
/root/linphone/coreapi/linphonecore.c:3444:10: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
return linphone_proxy_config_get_identity (cfg);
^
/root/linphone/coreapi/linphonecore.c:3444:49: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
return linphone_proxy_config_get_identity (cfg);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_configure_op_with_proxy(LinphoneCore*, SalOp*, const LinphoneAddress*, SalCustomHeader*, bool_t, LinphoneProxyConfig*)’:
/root/linphone/coreapi/linphonecore.c:3493:12: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c:3493:52: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
identity=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c: In function ‘LinphoneCall* linphone_core_invite_address_with_params(LinphoneCore*, const LinphoneAddress*, const LinphoneCallParams*)’:
/root/linphone/coreapi/linphonecore.c:3557:8: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
from=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c:3557:48: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
from=linphone_proxy_config_get_identity(proxy);
^
/root/linphone/coreapi/linphonecore.c:3594:11: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
else if (linphone_core_get_firewall_policy(call->core) == LinphonePolicyUseUpnp) {
^
/root/linphone/coreapi/linphonecore.c:3594:55: warning: ‘LinphoneFirewallPolicy linphone_core_get_firewall_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:2679) [-Wdeprecated-declarations]
else if (linphone_core_get_firewall_policy(call->core) == LinphonePolicyUseUpnp) {
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_set_preview_video_size_by_name(LinphoneCore*, const char*)’:
/root/linphone/coreapi/linphonecore.c:5516:2: warning: ‘void linphone_core_set_preview_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5473) [-Wdeprecated-declarations]
linphone_core_set_preview_video_size(lc,vsize);
^
/root/linphone/coreapi/linphonecore.c:5516:47: warning: ‘void linphone_core_set_preview_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5473) [-Wdeprecated-declarations]
linphone_core_set_preview_video_size(lc,vsize);
^
/root/linphone/coreapi/linphonecore.c: In function ‘void linphone_core_set_preferred_video_size_by_name(LinphoneCore*, const char*)’:
/root/linphone/coreapi/linphonecore.c:5531:22: warning: ‘void linphone_core_set_preferred_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5444) [-Wdeprecated-declarations]
if (vsize.width!=0) linphone_core_set_preferred_video_size(lc,vsize);
^
/root/linphone/coreapi/linphonecore.c:5531:69: warning: ‘void linphone_core_set_preferred_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5444) [-Wdeprecated-declarations]
if (vsize.width!=0) linphone_core_set_preferred_video_size(lc,vsize);
^
/root/linphone/coreapi/linphonecore.c:5532:7: warning: ‘void linphone_core_set_preferred_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5444) [-Wdeprecated-declarations]
else linphone_core_set_preferred_video_size(lc,default_vsize);
^
/root/linphone/coreapi/linphonecore.c:5532:62: warning: ‘void linphone_core_set_preferred_video_size(LinphoneCore*, MSVideoSize)’ is deprecated (declared at /root/linphone/coreapi/linphonecore.c:5444) [-Wdeprecated-declarations]
else linphone_core_set_preferred_video_size(lc,default_vsize);
^
[ 50%] Building CXX object coreapi/CMakeFiles/linphone.dir/linphone_tunnel_config.c.o
[ 51%] Building CXX object coreapi/CMakeFiles/linphone.dir/localplayer.c.o
[ 51%] Building CXX object coreapi/CMakeFiles/linphone.dir/lpc2xml.c.o
[ 52%] Building CXX object coreapi/CMakeFiles/linphone.dir/lpconfig.c.o
[ 52%] Building CXX object coreapi/CMakeFiles/linphone.dir/lsd.c.o
[ 52%] Building CXX object coreapi/CMakeFiles/linphone.dir/message_storage.c.o
[ 53%] Building CXX object coreapi/CMakeFiles/linphone.dir/misc.c.o
/root/linphone/coreapi/misc.c: In function ‘void linphone_core_update_allocated_audio_bandwidth(LinphoneCore*)’:
/root/linphone/coreapi/misc.c:137:11: warning: ‘const bctbx_list_t* linphone_core_get_audio_codecs(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1671) [-Wdeprecated-declarations]
for(elem=linphone_core_get_audio_codecs(lc);elem!=NULL;elem=elem->next){
^
/root/linphone/coreapi/misc.c:137:44: warning: ‘const bctbx_list_t* linphone_core_get_audio_codecs(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:1671) [-Wdeprecated-declarations]
for(elem=linphone_core_get_audio_codecs(lc);elem!=NULL;elem=elem->next){
^
[ 53%] Building CXX object coreapi/CMakeFiles/linphone.dir/nat_policy.c.o
[ 53%] Building CXX object coreapi/CMakeFiles/linphone.dir/offeranswer.c.o
[ 54%] Building CXX object coreapi/CMakeFiles/linphone.dir/payload_type.c.o
[ 54%] Building CXX object coreapi/CMakeFiles/linphone.dir/player.c.o
[ 54%] Building CXX object coreapi/CMakeFiles/linphone.dir/presence.c.o
[ 55%] Building CXX object coreapi/CMakeFiles/linphone.dir/proxy.c.o
/root/linphone/coreapi/proxy.c: In function ‘char* linphone_proxy_config_normalize_phone_number(LinphoneProxyConfig*, const char*)’:
/root/linphone/coreapi/proxy.c:640:50: warning: ‘LinphoneProxyConfig* linphone_proxy_config_new()’ is deprecated (declared at /root/linphone/coreapi/proxy.c:144) [-Wdeprecated-declarations]
LinphoneProxyConfig tmpproxy = proxy ? proxy : linphone_proxy_config_new();
^
/root/linphone/coreapi/proxy.c:640:76: warning: ‘LinphoneProxyConfig linphone_proxy_config_new()’ is deprecated (declared at /root/linphone/coreapi/proxy.c:144) [-Wdeprecated-declarations]
LinphoneProxyConfig tmpproxy = proxy ? proxy : linphone_proxy_config_new();
^
/root/linphone/coreapi/proxy.c: In function ‘LinphoneProxyConfig linphone_proxy_config_new_from_config_file(LinphoneCore*, int)’:
/root/linphone/coreapi/proxy.c:1149:24: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char* default_value = linphone_proxy_config_get##param(cfg)?ms_strdup(linphone_proxy_config_get##param(cfg)):NULL;
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1149:61: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char* default_value = linphone_proxy_config_get##param(cfg)?ms_strdup(linphone_proxy_config_get##param(cfg)):NULL;
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1149:73: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char* default_value = linphone_proxy_config_get##param(cfg)?ms_strdup(linphone_proxy_config_get_##param(cfg)):NULL;
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1149:110: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char* default_value = linphone_proxy_config_get_##param(cfg)?ms_strdup(linphone_proxy_config_get_##param(cfg)):NULL;
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1150:2: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:315) [-Wdeprecated-declarations]
linphone_proxy_config_set_##param(cfg,lp_config_get_string(config,key,param_name,default_value));
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c:1150:97: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:315) [-Wdeprecated-declarations]
linphone_proxy_config_set_##param(cfg,lp_config_get_string(config,key,param_name,default_value));
^
/root/linphone/coreapi/proxy.c:1176:2: note: in expansion of macro ‘CONFIGURE_STRING_VALUE’
CONFIGURE_STRING_VALUE(cfg,config,key,identity,"reg_identity")
^
/root/linphone/coreapi/proxy.c: In function ‘void linphone_proxy_config_set_state(LinphoneProxyConfig*, LinphoneRegistrationState, const char*)’:
/root/linphone/coreapi/proxy.c:1314:58: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char msg=ortp_strdup_printf(_("Refreshing on %s..."), linphone_proxy_config_get_identity(cfg));
^
/root/linphone/coreapi/proxy.c:1314:96: warning: ‘const char linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
char msg=ortp_strdup_printf(_("Refreshing on %s..."), linphone_proxy_config_get_identity(cfg));
^
/root/linphone/coreapi/proxy.c:1323:6: warning: ‘const char linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
linphone_proxy_config_get_identity(cfg),
^
/root/linphone/coreapi/proxy.c:1323:44: warning: ‘const char* linphone_proxy_config_get_identity(const LinphoneProxyConfig*)’ is deprecated (declared at /root/linphone/coreapi/proxy.c:935) [-Wdeprecated-declarations]
linphone_proxy_config_get_identity(cfg),
^
[ 55%] Building CXX object coreapi/CMakeFiles/linphone.dir/quality_reporting.c.o
[ 55%] Building CXX object coreapi/CMakeFiles/linphone.dir/remote_provisioning.c.o
[ 56%] Building CXX object coreapi/CMakeFiles/linphone.dir/ringtoneplayer.c.o
[ 56%] Building CXX object coreapi/CMakeFiles/linphone.dir/sal.c.o
[ 56%] Building CXX object coreapi/CMakeFiles/linphone.dir/siplogin.c.o
/root/linphone/coreapi/siplogin.c: In function ‘int sip_login_do_login(SipSetupContext*, const char*, const char*, const char*)’:
/root/linphone/coreapi/siplogin.c:67:2: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(cfg,tmp);
^
/root/linphone/coreapi/siplogin.c:67:44: warning: ‘LinphoneStatus linphone_proxy_config_set_identity(LinphoneProxyConfig*, const char*)’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(cfg,tmp);
^
[ 57%] Building CXX object coreapi/CMakeFiles/linphone.dir/sipsetup.c.o
[ 57%] Building CXX object coreapi/CMakeFiles/linphone.dir/sqlite3_bctbx_vfs.c.o
[ 58%] Building CXX object coreapi/CMakeFiles/linphone.dir/video_definition.c.o
[ 58%] Building CXX object coreapi/CMakeFiles/linphone.dir/xml2lpc.c.o
[ 58%] Building CXX object coreapi/CMakeFiles/linphone.dir/xml.c.o
[ 59%] Building CXX object coreapi/CMakeFiles/linphone.dir/xmlrpc.c.o
[ 59%] Building CXX object coreapi/CMakeFiles/linphone.dir/vtables.c.o
[ 59%] Building CXX object coreapi/CMakeFiles/linphone.dir/linphone_tunnel_stubs.c.o
[ 60%] Building CXX object coreapi/CMakeFiles/linphone.dir/vcard_stubs.c.o
[ 60%] Building CXX object coreapi/CMakeFiles/linphone.dir/conference.cc.o
/root/linphone/coreapi/conference.cc: In constructor ‘Linphone::Conference::Params::Params(const LinphoneCore*)’:
/root/linphone/coreapi/conference.cc:86:41: warning: ‘const LinphoneVideoPolicy* linphone_core_get_video_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:3307) [-Wdeprecated-declarations]
const LinphoneVideoPolicy policy = linphone_core_get_video_policy(core);
^
/root/linphone/coreapi/conference.cc:86:76: warning: ‘const LinphoneVideoPolicy linphone_core_get_video_policy(const LinphoneCore*)’ is deprecated (declared at /root/linphone/include/linphone/core.h:3307) [-Wdeprecated-declarations]
const LinphoneVideoPolicy policy = linphone_core_get_video_policy(core);
^
[ 60%] Linking CXX shared library liblinphone.so
[ 60%] Built target linphone
Scanning dependencies of target buddy_status
[ 60%] Building C object coreapi/help/examples/C/CMakeFiles/buddy_status.dir/buddy_status.c.o
/root/linphone/coreapi/help/examples/C/buddy_status.c: In function ‘registration_state_changed’:
/root/linphone/coreapi/help/examples/C/buddy_status.c:82:5: warning: ‘linphone_proxy_config_get_identity’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:272) [-Wdeprecated-declarations]
,linphone_proxy_config_get_identity(cfg)
^
/root/linphone/coreapi/help/examples/C/buddy_status.c: In function ‘main’:
/root/linphone/coreapi/help/examples/C/buddy_status.c:126:2: warning: ‘linphone_core_new’ is deprecated (declared at /root/linphone/include/linphone/core.h:905) [-Wdeprecated-declarations]
lc=linphone_core_new(&vtable,NULL,NULL,NULL);
^
/root/linphone/coreapi/help/examples/C/buddy_status.c:130:3: warning: ‘linphone_proxy_config_new’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:38) [-Wdeprecated-declarations]
LinphoneProxyConfig proxy_cfg = linphone_proxy_config_new();
^
/root/linphone/coreapi/help/examples/C/buddy_status.c:144:3: warning: ‘linphone_proxy_config_set_identity’ is deprecated (declared at /root/linphone/include/linphone/proxy_config.h:81) [-Wdeprecated-declarations]
linphone_proxy_config_set_identity(proxy_cfg,identity); /set identity with user name and domain/
^
/root/linphone/coreapi/help/examples/C/buddy_status.c:203:2: warning: ‘linphone_core_destroy’ is deprecated (declared at /root/linphone/include/linphone/core.h:3961) [-Wdeprecated-declarations]
linphone_core_destroy(lc);
^
[ 60%] Linking CXX executable buddy_status
../../../liblinphone.a(chat.c.o): In function linphone_core_message_received': chat.c:(.text+0x1efc): undefined reference to
linphone_chat_room_find_message_with_dir'
../../../liblinphone.a(chat.c.o): In function process_imdn(_LinphoneChatRoom*, _xmlparsing_context*)': chat.c:(.text+0x297c): undefined reference to
linphone_chat_room_find_message_with_dir'
collect2: error: ld returned 1 exit status
coreapi/help/examples/C/CMakeFiles/buddy_status.dir/build.make:103: receptet för målet ”coreapi/help/examples/C/buddy_status” misslyckades
make[2]: *** [coreapi/help/examples/C/buddy_status] Fel 1
CMakeFiles/Makefile2:381: receptet för målet ”coreapi/help/examples/C/CMakeFiles/buddy_status.dir/all” misslyckades
make[1]: *** [coreapi/help/examples/C/CMakeFiles/buddy_status.dir/all] Fel 2
Makefile:149: receptet för målet ”all” misslyckades
make: *** [all] Fel 2
root@raspberrypi:/root/linphone#
Hello,
I used flexisip+kamailio for voip calling and messaging with linphone.
but i got some issue...
issue:
When content-length of message higher then 1050 then message not received at receiver side, but for small messages working good.
I trace sip packet then i see message reach in to flexisip server but not received at receiver side...
Thanks
Hi there is any README.arm for latest linphone on arm for example buildroot ( buildroot only pack with linphone 3.6.1)
Hi,
I am new in linphone. Anyone can guide me how to receive dtmf during call in
iOS. I puted method this in LinphoneCoreVTable.
.dtmf_received = linphone_iphone_notify_dtmf_received. (LinphoneCoreDtmfReceivedCb)
But when this method call I don't know.
Hi,
I am developing an application by using linphone core api for messaging and found an issue with linphone_chat_message_get_local_address() and linphone_chat_message_get_to_address() API as described below.
Success case:
Failure case:
Following is the order of API that I am invoking in my code
linphone_core_get_chat_rooms()
linphone_chat_room_get_history()
linphone_chat_message_get_local_address()
or
linphone_chat_message_get_to_address()
Please correct me if I am doing anything wrong here or if it is bug.
Thanks
Lakshmi
Are there any plans to implement SCA (shared call appearance) ? If not, would you please consider adding this feature?
here is a full exaple how to implement it
Thanks,
Is there any example that allow me to have access to the video stream call without using native window ?
I'm calling this function --> " linphone_call_set_native_video_window_id(call, (void*)-1); ".
I need to process RGB Video buffer.
Thank's so mutch.
The file coreapi/friendlist.c
includes unconditionally <polarssl/md5.h>
, so it is impossible to compile linphone if polarssl is missing (which is listed as an optional dependency). Would it be possible to make it optional, since we already have --enable-lime
to enable/disable encryption support?
Please add hotkey support for linux gui version
Hi, I am having a problem at the time of executing the cmake command, it is returning the following message:
CMake Error at CMakeLists.txt:41 (bc_project_build_version):
Unknown CMake command "bc_project_build_version".
-- Configuring incomplete, errors occurred!
See also "/home/edison/mediastreamer2-master/build/CMakeFiles/CMakeOutput.log".
I wonder if anyone has been through this error and a probable solution.
Hello,
So alright, i have this strange behavior with linphone, on all platform, where the voice start being choppy, slows down and eventually stop being intellegible after not receiving any udp packets for a few second.
The use case is this, we have a custom voicemail, that start by telling you to enter your private code in order to access your inbox, then the voice stops for 5 seconds, DTMF input, and repeat the same message about 5 time before closing the call.
The thing is while the IVR is waiting for the user to type his code, in order to reduce bandwith we don't send any packets, we aren't broadcasting silence we are litteraly not sending packets at all, and when the message is repeated, packets are being sent again and that's where the voice start being all buggy.
My assumption is that linphone interpret that 5 seconds without receiving anything as packets being droped et the PLC get a bit confused, and that's why causing the probleme, so i'd like your confirmation about my theory, can the system handle not being sent packets for a short period of time or does it break things up?
I am unsure of if this is the right place to ask, maybe mediastream would be more relevent, tell me if that's the case.
Thank you for your time.
Edit : I noticed that during this process the bars representing the network are slowly going down during the "off" time, so it might be related to the adaptive rate control instead, but desabling it doesn't seems to solve the probleme, so yeah, i don't know, maybe this helps.
Edit 2 : Is there anyway to fix the jitter buffer to a certain size? I've noticed it changing drasticaly (up to 900 ms) during "off" time, and i figured it really might be the probleme here.
Sorry for overexpending and thanks again for your time.
Hello,
When I send a chat message, I can't get the custom headers from the 200 OK response. The linphone_chat_message_get_custom_header(msg, "xxxxx")
method returns null.
Best regards
Arthur
Call recording does not work : file creation impossible due to special characters
2017-12-06 11:53:22:027 MESSAGE QT: "Start recording call:" CallModel(0x134d7768)
2017-12-06 11:53:22:027 MESSAGE MKVRecorder: opening file D:/Marc/Documents/Linphone/captures\2017-12-06_11:53:15.mkv in create mode
2017-12-06 11:53:22:027 ERROR MKVRecorder: fail to open D:/Marc/Documents/Linphone/captures\2017-12-06_11:53:15.mkv
Windows does not want : in file names
Hello,
I wonder whether it is possible to run command line linphone client with external Video source, that is H264 IP camera sending rtsp stream to the network?
The important thing is to avoid decoding/encoding the stream due to low CPU power of the system running linphone.
Thanks!
When you click on a number from a Google search, it launches in linphone with the tel: prefix entered before the number, causing the call to fail with a "user not found" error.
I keep on getting this error when I try to call
linphoneCore.iterate();
Failed adding to JNI local ref table (has 512 entries)
Whenever I setup a new proxy address, I make sure I clear the existing one with the following code
linphoneCore.clearAuthInfos();
linphoneCore.clearProxyConfigs();
linphoneCore.clearCallLogs();
The other thing am noticing is, whenever I add an account it seems the above code doesn't work hence creating many proxy configs. To see this, onregistration state I get several of them according to the number of times I have added my account.
Anyone with the best way to solve this??
Thanks
Hello,
we setup flexisip, push service, all work fine, but when I lclose app and service from android at all, (not in background mode), after that when i call to android, I got message from firebasemessaging:
see time when start service and when start next step - mediaplayer after that start Activity
it long time approx 52sec.
after that Linphone starts
but 52 sec after calling so long.
08-14 16:12:58.171 9348-9348/org.linphone I/LinphoneService: text: %s registered
08-14 16:13:50.839 9348-9348/org.linphone D/MediaPlayer: setSubtitleAnchor in MediaPlayer
may be I incorrect flexisip?
what should I do?
Thank you!
Debug linphone
08-14 16:12:53.914 9348-14095/org.linphone I/FirebaseMessaging: [Push Notification] Received
08-14 16:12:53.918 9348-9348/org.linphone I/LinphoneService: ==== Phone information dump ====
08-14 16:12:53.919 9348-9348/org.linphone I/LinphoneService: DEVICE=generic_x86
MODEL=Android SDK built for x86
MANUFACTURER=Google
SDK=24
Supported ABIs=x86,
08-14 16:12:53.919 9348-9348/org.linphone I/LinphoneService: Linphone version is 3.2.8 (3280)
08-14 16:12:58.171 9348-9348/org.linphone I/LinphoneService: text: %s registered
08-14 16:13:50.839 9348-9348/org.linphone D/MediaPlayer: setSubtitleAnchor in MediaPlayer
08-14 16:13:51.005 9348-9348/org.linphone V/FA: onActivityCreated
08-14 16:13:51.005 9348-9348/org.linphone I/LinphoneService: Activity created:org.linphone.LinphoneActivity@3705c68
08-14 16:13:51.068 9348-9348/org.linphone I/LinphoneService: Activity started:org.linphone.LinphoneActivity@3705c68
08-14 16:13:51.070 9348-9348/org.linphone I/LinphoneService: Activity resumed:org.linphone.LinphoneActivity@3705c68
I downloaded SDK from http://linphone.org/releases/android/liblinphone-android-sdk-latest.zip
And I got error like this when download openH264
Didn't find class "org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream"
And I try to install linphone apps from Google Play and I had Force Close (maybe same problem). Can anyone help me?
If you add a listener for the Call object, the application's operation terminates abnormally with the message:
Bad cast to belle_sip_object_t at /home/xxx/src/linphone-desktop/submodules/belle-sip/src/belle_sip_object.c:114
On Windows I installed the latest Linphone. Copy and past on contacts and dial field works only while keyboard layout is English (secondary layout is Russian).
void Object::unsetData(const std::string &key) {
- map<string,void *> userData = getUserData();
+ map<string,void *> &userData = getUserData();
map<string,void *>::iterator it = userData.find(key);
if (it != userData.end()) userData.erase(it);
}
https://github.com/BelledonneCommunications/linphone/blob/master/wrappers/cpp/object.cc#L46
Is it possible to add an ability to update audio params as well by calling linphone_call_update (linphonecall.c)? Now it's just updating a video params and ignoring an audio ones.
The problem is, that I'm starting a call with 'Inactive' audio direction, and then I need to switch the audio direction to 'SendRcv' without re-invitation.
[ 61%] Built target linphonec
make -f wrappers/cpp/CMakeFiles/linphone++.dir/build.make wrappers/cpp/CMakeFiles/linphone++.dir/depend
make[2]: Entering directory '/var/tmp/portage/net-voip/linphone-3.12.0/work/linphone-3.12.0_build'
make[2]: *** No rule to make target 'coreapi/help/doc/doxygen/xml/index.xml', needed by 'wrappers/cpp/include/linphone++/linphone.hh'. Stop.
make[2]: Leaving directory '/var/tmp/portage/net-voip/linphone-3.12.0/work/linphone-3.12.0_build'
make[1]: *** [CMakeFiles/Makefile2:1510: wrappers/cpp/CMakeFiles/linphone++.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Hi,
I am receiving the following error while attempting to compile Linphone via the 'PKG_CONFIG_PATH=/opt/local/lib/pkgconfig ./configure --prefix=/opt/local --with-srtp=/opt/local --with-gsm=/opt/local --enable-zrtp --disable-strict && make' step in 'linphone-iphone/submodules/linphone/README.macos.md'.
videofilters/videoenc.c:268:14: error: use of undeclared identifier
'PIX_FMT_YUVJ420P'; did you mean 'AV_PIX_FMT_YUVJ420P'?
c->pix_fmt=PIX_FMT_YUVJ420P;
^~~~~~~~~~~~~~~~
AV_PIX_FMT_YUVJ420P
I am trying to rebuild the entire project from source so that I can have the latest changes incorporating iOS 9 support and whatnot. Any information or assistance would be greatly appreciated.
https://www.linphone.org/docs/liblinphone/group__registration__tutorials.html works with Liblinphone 3.* but does not work with Liblinphone 4.1.1. My guess is that the sequence of calls has changed but I don't know how. Please update the example or at least post the updated instructions here.
Hi there. Is it possible to get a list of SIP message header values for a LinphoneCall? Thanks.
Hi,
I would like to set zrtp as Mandatory in Preferences, Network Settings, Media Encryption type.
But that option is not clickable, while on SRTP is working.
Please fix this, so i could setup as mandatory
I could not do a direct zrtp call between 2 linphone desktops clients. Direct to direct.
regards.
When phone's camera only support the resolution that the width is greater than height, the video sent to other side is unusual. The remote will display green stripes.
e.g: one phone only support resolution as follows, the remote will display green stripes when making video call.
01-03 18:00:34.036 9155 9155 I Linphone: mediastreamer8 supported resolutions :
01-03 18:00:34.036 9155 9155 I Linphone: mediastreamer 640x480
01-03 18:00:34.036 9155 9155 I Linphone: mediastreamer 2592x1952
01-03 18:00:34.036 9155 9155 I Linphone: mediastreamer 3264x1840
01-03 18:00:34.036 9155 9155 I Linphone: mediastreamer 3264x2448
01-03 18:00:34.036 9155 9155 I Linphone: mediastreamer 2448x2448
01-03 18:00:34.036 9155 9155 I Linphone: mediastreamer 320x240
01-03 18:00:34.036 9155 9155 I Linphone: mediastreamer 1280x720
01-03 18:00:34.037 9155 9155 I Linphone: mediastreamer 1920x1080
In case of INVITE from Phone with RTP/DTLS Encryption and exists media application
v=0
o=- 3260511571530071 3260511571530072 IN IP4 10.0.200.40
s=xxxxx
c=IN IP4 10.0.200.40
t=0 0
m=audio 15486 UDP/TLS/RTP/SAVP 101 102 115 114 112 113 116 9 8 0 3 103 18 96
a=sendrecv
a=rtcp:15487 IN IP4 10.0.200.40
a=rtpmap:101 speex/32000
a=rtpmap:102 speex/16000
a=rtpmap:115 G7221/32000
a=fmtp:115 bitrate=48000
a=rtpmap:114 G7221/32000
a=fmtp:114 bitrate=32000
a=rtpmap:112 G7221/16000
a=fmtp:112 bitrate=32000
a=rtpmap:113 G7221/32000
a=fmtp:113 bitrate=24000
a=rtpmap:116 G7221/16000
a=fmtp:116 bitrate=24000
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:103 speex/8000
a=rtpmap:18 G729/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=setup:actpass
a=fingerprint:SHA-256 D6:5F:69:F7:E3:FE:58:93:D7:63:56:37:6C:89:15:5B:A4:C6:74:05:DD:E1:FD:B0:C2:50:BF:79:3C:6C:84:95
m=video 11470 UDP/TLS/RTP/SAVP 97 105 104 111 112 113 109 110 99 107 34 98
b=TIAS:1024000
a=sendrecv
a=content:main
a=label:1
a=rtcp:11471 IN IP4 10.0.200.40
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=0;profile-level-id=428032
a=rtpmap:105 H264/90000
a=fmtp:105 packetization-mode=1;profile-level-id=428032
a=rtpmap:104 H264/90000
a=fmtp:104 packetization-mode=0;profile-level-id=640032
a=rtpmap:111 H264/90000
a=fmtp:111 packetization-mode=1;profile-level-id=640032
a=rtpmap:112 H264/90000
a=fmtp:112 packetization-mode=0;profile-level-id=42801F
a=rtpmap:113 H264/90000
a=fmtp:113 packetization-mode=1;profile-level-id=42801F
a=rtpmap:109 H264/90000
a=fmtp:109 packetization-mode=0;profile-level-id=64001F
a=rtpmap:110 H264/90000
a=fmtp:110 packetization-mode=1;profile-level-id=64001F
a=rtpmap:99 H263-1998/90000
a=fmtp:99 SQCIF=1;QCIF=1;CIF=1;CIF4=1;CIF16=1;CUSTOM=320,240,1;CUSTOM=640,480,1;CUSTOM=800,600,1;CUSTOM=1280,720,1;CUSTOM=1920,1080,1
a=rtpmap:107 H263-2000/90000
a=fmtp:107 SQCIF=1;QCIF=1;CIF=1;CIF4=1;CIF16=1;CUSTOM=320,240,1;CUSTOM=640,480,1;CUSTOM=800,600,1;CUSTOM=1280,720,1;CUSTOM=1920,1080,1
a=rtpmap:34 H263/90000
a=fmtp:34 SQCIF=1;QCIF=1;CIF=1;CIF4=1;CIF16=1
a=rtpmap:98 VP8/90000
a=fmtp:98 max-fr=30;max-fs=32400;
a=setup:actpass
a=fingerprint:SHA-256 D6:5F:69:F7:E3:FE:58:93:D7:63:56:37:6C:89:15:5B:A4:C6:74:05:DD:E1:FD:B0:C2:50:BF:79:3C:6C:84:95
m=application 12480 UDP/BFCP *
a=floorctrl:c-s
a=setup:actpass
a=connection:new
Call doesn't received because linphone decide that SRTP will not Assumed in case that there are exists not DTLS proto like UDP/BFCP
it's not correct
sal_media_description_has_dtls - always return false,
sal_media_description_has_dtls need ignore media like applications fort decide if DTLS exists, in case linphone doesn't support any application
sal_media_description_has_dtls
some of example is fix sal_media_description_has_dtls, sal_media_description_has_srtp...
add ignore applications media sections
if (md->streams[i].type==SalOther) continue;
or may be another way
We have made a Linphone based android application which has the following issue;
Once you take a device in which no other Apps are installed and keep it idle for more than 36 hours and then it doesn't receive any calls (because service becomes unavailable). We tried the same with Linphone 3.2.5 and it was working fine. Seems like our app does not keep the run time status in the background.
As long as another app maintains the network connection status by synchronization in the
background, our app is also available for call.
We cant see anything in the database because the app sleeps after a long rest period! Please suggest a solution for this.
Devices we used for testing are; BQ Aquaris U plus, Huawei P8 lite etc..
I am referring to this issue BelledonneCommunications/linphone-desktop#46
this may be a more relevant place to post it.
thanks
I have installed Linphone 4 on Ubuntu 17.10 with Flatpack following instructions on your downloads page, and there are no UI languages except English and French, although in this repo there are also other languages (Russian in particular, which is what I need). It seems that installed Linphone gets translations from qph
files in files/phrasebooks/
directory, and along with English and French there are also other languages (13 total now), including Russian, but they are not showed as UI language options in Linphone.
Good afternoon, how do I generate the LinphoneWrapper.cs class? Someone has this class to make me available, or support me with a step-by-step how to generate it. This is a bit confusing the wiki content for min. Thank you !
Why LICENCE_COMMERCIAL is applied when compiling with readline support?
readline is GPL licensed as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.