This is the wrong semantics for the marker bit, and, at least in the past, caused some phone to garble the audio for some time. The marker bit indicates a safe place to dump the contents of a jitter buffer, and isn’t supposed to indicate a source change; that should be done by changing the SSRC on the outgoing side.
However, as I said, the problems we had with this were temporary garbling of the audio, not total loss of media.
There’s probably a lot more answers to the log rotation questions on something like Stack Overflow vs. the FreePBX forums, but here’s a couple of ideas:
Set up a new limited SSH account on your logging server with a cronjob running on your PBX server to rsync the data over X times per day.
Attach a $10 128GB USB thumb drive to your physical PBX server, mount it, and have the cronjob rsync stuff there.
This line:
[2023-12-28 13:17:39] VERBOSE[371][C-00003575] app_dial.c: Called SIP/172.16.99.24/2072270
Should look more like this:
[2023-12-28 13:17:39] VERBOSE[371][C-00003575] app_dial.c: Called SIP/mytrunkname/2072270
You might be able to change the trunk name in the Connectivity → Trunks section of your FreePBX GUI.
That is the confusing part. They could be unrelated issues. One thing at a time!
OK, well you just helped reveal another configuration issue with this inherited setup. Believe it or not, that is the trunk name. I’m definitely going to have to change that.
According to what I have seen in the debug logs, it looks like Asterisk is not receiving RTP packets from the endpoint when this audio issue happens. As soon as the user calls back right away, then the audio is fine. Very odd.
OK, I am going to ask this question on the forum of our router’s organization, but wanted to also ask an opinion here.
When we setup this new Wireguard VPN tunnel, the routers defaulted to a MTU of 1500. We were experiencing high latency issues at the time and learned from Wireguard documentation that the MTU should be 1420. We changed the MTU and things seemed to settle down.
However, do you think that wasn’t an issue, and changing the MTU could be causing this random RTP issue?
I have replaced another desk phone with a newer Polycom that can handle PJSIP. That user will let me know if the audio issues continue.
No, RTP media packets are small. However, fragmented SIP control packets over UDP eg. INVITE can get (much) bigger and cause problems if the router is breaking them up.
Wish I found this information sooner. Spent several days trying to figure out why calls would ring over a VPN but were not answerable (separate VLANs). Eventually I found the setting.
My apologies to everyone for the delay in my reply / update. Anyone who works in the IT field knows how time can get away from you.
This situation improved after replacing the Wireguard VPN tunnel with an IPSEC tunnel. I’m not completely sure why, but maybe it can handle the older CHAN_SIP protocol better?
The greater influence has been the ISP infrastructure. Their internet connection stability has suffered due to new construction in the area and failed ISP equipment. So for now I am suspending my investigation until future decisions can be made with their Internet connection. It’s frustrating when a client suffers due to problems outside of your control. Time will tell.
Thank you again to everyone for virtually “putting your heads together” with me. You have helped me to troubleshoot a system that I inherited. I am being hopeful that future server and infrastructure upgrades will finally solve the phone audio issues.