I’ve been experiencing consistent disconnects at approximately 30 seconds on inbound calls and 30 minutes on outbound calls.
I’ve been troubleshooting this for some time. There is excellent information to be found searching Google.
After having researched and checked everything including those esoteric NAT UDP firewall timeouts I collected a log to post here.
In cleaning the log (removing identifying information), being very thorough, I came across an incorrect local IP address.
I found a type-o in pjsip.conf
external_signaling_address
Setting an incorrect external_signaling_address apparently is one way to automatically disconnect your inbound calls at ~30s and outbound calls at ~30m.
This did not come up in any of my searches so I am posting, here, in hopes it pops-up and helps someone in the future!
Of course, it would be exposed in a log. In my defense, I would point out if it is a one-digit type-o from a 9 to a 3 even an eagle-eye like me might miss it until I started using vi tools to clean and review personal data in a log to post. o.0
I haven’t had a call last long enough to confirm the ~30m dc resolved.
During my substantial research I did investigate session timers. In pjsip they are configured with the endpoint–am I correct? Is there another place a session timer could be hiding? Here is my endpoint from pjsip.conf: