Comments (4)
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.
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
containsPJSUA_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:
-
Do not contain this value ->> The IP address will not change in the via of the invite sent by network switching.
-
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 -
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.
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
containsPJSUA_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.
PJSIP_TRANSPORT_IDLE_TIME
from pjproject.
Related Issues (20)
- Loop transport does not work with PJSUA(2) HOT 1
- pjmedia_wav_player_port_create() does not close the file when successfull. HOT 1
- heap-use-after-free in turn_sock (TCP) HOT 1
- How to support H265? HOT 1
- Problem for compiling a Example HOT 1
- We know that the client registration session also will keep the TCP connection active throughout the registration session. Now we create a non-actually registered account and call it directly. How can we keep the TCP connection active like the real registration mode? HOT 4
- Cross compile doesn't work
- Worker threads and ioqueue_select timeouts HOT 2
- pjsua2: player cannot be destroyed when Normal call clearing HOT 2
- [PJSUA][ACC] Service-Route header not cleared HOT 5
- The network was already in a bad state since 22:20:39, causing the subsequent INVITE and UPDATE not to be responded. So the ip change will naturally fail with PJ_EINVALIDOP due to pending re-INVITE. HOT 1
- The Account class in the pygui example does not have a findBuddy method
- build.mak file missing when building PJSUA2 SWIG Python module HOT 1
- Assertion when receiving INVITE with sdp media "m=application 48180 udp"
- Unregistered mode TCP call after switching network, it seems that the two parties lost contact HOT 6
- Crash, the location is in the mdf.c file st->play_buf[i] = st->play_buf[i+st->frame_size]; this line of code HOT 4
- [PJSUA] onIncomingCall never gets called, call hangs HOT 1
- while changing the network video call are stuck HOT 1
- SIP acc not registering (VOIP) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pjproject.