Giter VIP home page Giter VIP logo

Comments (4)

sauwming avatar sauwming commented on June 14, 2024

You need to stop opening a new Github issue for the same issue.
The reason you received no response so far is due to Github issue being currently for bug report only, and based on your description, there is no strong indication that this is a PJSIP issue.

if pjsua_ip_change_acc_cfg.reinvite_flags contains PJSUA_CALL_UPDATE_VIA, it should be updated accordingly. If not, you can debug into the function and find out why it's not the case.
The duration of the call (shorter or longer than 35 seconds) should be irrelevant to this case.

from pjproject.

xuan6zm avatar xuan6zm commented on June 14, 2024

You need to stop opening a new Github issue for the same issue. The reason you received no response so far is due to Github issue being currently for bug report only, and based on your description, there is no strong indication that this is a PJSIP issue.

if pjsua_ip_change_acc_cfg.reinvite_flags contains PJSUA_CALL_UPDATE_VIA, it should be updated accordingly. If not, you can debug into the function and find out why it's not the case. The duration of the call (shorter or longer than 35 seconds) should be irrelevant to this case.

I just modified this value in the project, and its function is only to modify the printed information in the log, but it still can not solve the problem that the call is less than 35 seconds and the two parties lose contact;

Example:

  1. Do not contain this value ->> The IP address will not change in the via of the invite sent by network switching.

  2. Contain this value >> Switch network when the call is less than 35 seconds; The address remains unchanged; The two sides are still out of contact
    >> Switch network when the call is longer than 35 seconds; The address has changed; Normal communication between two parties

  3. I tried to modify other values; The problem of double disconnection exists

Conclusion: The modification of this value can not correct the above problems;
Would this 35-second period affect the user re-invite request? There is currently no way to fix this problem

from pjproject.

xuan6zm avatar xuan6zm commented on June 14, 2024

You need to stop opening a new Github issue for the same issue. The reason you received no response so far is due to Github issue being currently for bug report only, and based on your description, there is no strong indication that this is a PJSIP issue.

if pjsua_ip_change_acc_cfg.reinvite_flags contains PJSUA_CALL_UPDATE_VIA, it should be updated accordingly. If not, you can debug into the function and find out why it's not the case. The duration of the call (shorter or longer than 35 seconds) should be irrelevant to this case.

Hello, I now find that the 35-second problem is caused by one of the values

I set PJSIP_TRANSPORT_IDLE_TIMETCP to 2. In this case, I only need to hold the call for more than 2 seconds to set up a connection

Ask if there are any problems with changing this value to less than 33

from pjproject.

xuan6zm avatar xuan6zm commented on June 14, 2024

PJSIP_TRANSPORT_IDLE_TIME

from pjproject.

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.