Giter VIP home page Giter VIP logo

Comments (6)

RobGries avatar RobGries commented on May 22, 2024

I am also having a very similar issue. Could this be due to misconfigured media codecs?

#0 0x0000ffffb7f72740 in linphone_call_accept_with_params () from /home/linaro/.../linphone-desktop/OUTPUT/desktop/lib/liblinphone.so.9 #1 0x0000aaaaaaab2a64 in linphonec_idle_call () #2 0x0000aaaaaaab2ad8 in linphonec_readline () #3 0x0000aaaaaaab1510 in main ()

from linphone-desktop.

totakura avatar totakura commented on May 22, 2024

Hi! I am seeing the same segfault with the latest 3.12.0 version. Could this issue to be reopened?

from linphone-desktop.

totakura avatar totakura commented on May 22, 2024

The segfault also happens when autoanswer is enabled.

from linphone-desktop.

uli7 avatar uli7 commented on May 22, 2024

Here is a little patch that should solve this issue. Perhaps someone with right to patch can do this?

diff -ur linphone-3.12.0/console/commands.c linphone-3.12.0-patched/console/commands.c
--- linphone-3.12.0/console/commands.c  2017-07-21 09:36:30.000000000 +0200
+++ linphone-3.12.0-patched/console/commands.c  2017-12-11 19:34:00.255869469 +0100
@@ -787,7 +787,7 @@
                int nb=(int)bctbx_list_size(linphone_core_get_calls(lc));
                if (nb==1){
                        //if just one call is present answer the only one in passing NULL to the linphone_core_accept_call ...
-                       if ( -1 == linphone_core_accept_call(lc, NULL) )
+                       if ( -1 == linphone_core_accept_call(lc, linphone_core_get_current_call(lc)) )
                        {
                                linphonec_out("Fail to accept incoming call\n");
                        }

from linphone-desktop.

totakura avatar totakura commented on May 22, 2024

Thanks @uli7.
I think the comment line is now irrelevant because NULL is not being explicitly passed anymore.

I do not have the rights to commit this patch. Hopefully this gets accepted soon.

from linphone-desktop.

uli7 avatar uli7 commented on May 22, 2024

Yes you are right - the comment is somehow obsolete now :-D
I manged to create a pull request - lets see what happens.
btw. this is the wrong project. Correct project is BelledonneCommunications/linphone

from linphone-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.