I am using an OVH SIP account. Outgoing calls to a landline or to another OVH SIP account drop after 32s, this is 100% reproducible.
I am using Trisquel 9 on a desktop PC and added Jami repository, the version of jami is 2021-03-08 21:43:25 UTC . The network connection is via ethernet, my ISP is SFR in Paris France, fiber connection.
The attached log was obtained with
/usr/lib/ring/dring -d -c 2>&1 (closed) | tee dring5.log
The image is a screen capture taken immediately after the call drop (less than 1s after) in order to show what was visible in the log. The big seqence of consecutive "underrun occured" was during the call but it paused more than 10s before the call drop.
My system has a package called pulseaudio that is installed, I have read the wikipedia page on pulseaudio but I still have no clue what the suggestion is.
Is it to activate some option when using Jami? Or trying something else? Any link saying what to do?
In media settings, for the backend you have a choice between alsa & pulseaudio (if present). So my point is to know if it's related to alsa or not, that's why I'm asking if you can try to use pulseaudio instead
Just found out that I can configure codecs priority order, with the following options:
g711
g729, g711
g711, g729
g722, g729, g711
g722, g711, g729
Now the configuration is g711, g729
EDIT: a note says g722 will only be used between SIP lines of my provider
One more info, the last line of the log when the call was just started is:
[1615901647.824|19762|media_decoder.cpp :506 ] Not using hardware decoding for pcm_alaw
In recent years, we have focused on peer-to-peer communication and had neglected Jami's ability to work as a SIP phone. This gap is now closed with MALOYA which offers better SIP protocol support, allowing Jami users to use SIP-compatible telephone systems and service providers. This feature brings the ability to place and receive calls with regular phone numbers. Please try out MALOYA’s SIP phone feature, and let us know about your experience! Your feedback will be greatly appreciated and immensely useful in helping us further improve Jami’s SIP phone features.
If yes, I tried again, the call is dropped after 32s exactly, same like before. I am sorry I did not provide wireshark logs yet, I will soon have time to do it if useful.
So far, for SIP, I am using Linphone which works without problem, hence why this is not a critical issue for me.
Hi, May be it's already the case, but just make sure that "Auto Registration After Expired" is enabled.
It is enabled for me. I have flipped pretty much every switch in the settings, and nothing (that still allows me to remain connected) has worked.
As a lark I downloaded jami via flatpak and tried to see if that changed anything. Nope. Still disconnects after 32 seconds exactly.
I think The relevant logs that print out right at the disconnect are:
[xxx.xxx| x|xxx.xxx :xxx ] username = , server = xxx.xxx.xxx.xxx, from = xxx.xxx.xxx.xxx[xxx.xxx| x|xxx.xxx :xxx ] [call:xxx] INVITE@xxx state changed to 6 (DISCONNCTD): cause=408, tsx@xxx status 408 (Request Timeout)
very heavily redacted, because if I don't recognize a string I have to assume it could de-anonimise me. if it would help (and if it wont de-anon me) I can add more details.
Using linphone "works" for me, in that I can use it to make and receive phone calls, but it sucks at pretty much every other level. the UI sucks (I cant tell which sip account is being called, and I have many) and it breaks my system consistently (every time i open the settings gnome crashes, sometimes rebooting gracefully but other times forcing me to re log in)
We tested with OVH accounts and I can confirm that we reproduce the issue, the call ends after 32s.
We will work on it soon and will this issue when we have more.