[SOLVED] PJSIP trunk: call drop after 3 minutes

I’ve migrated a customer to PJSIP, now we have call drops on one of the SIP providers where after 3 minutes the call is terminated.

Here’s the pjsip.conf: https://pastebin.com/raw/E6gFEkzQ

And here’s the call log: https://pastebin.com/raw/2F31hAJ0

Any clues?

The peer closed the call for no apparent reason.

Hi David. The strange thinkg here is that on chan_sip it works. We have another SIP provider who’s having the same problem, he disabled some “OPTIONS check” on their side and it worked, so I think that’s some configuration on my side.

Your problem sounds familiar. I have service providers who do not accept OPTION requests. In chan_sip there needs to be a setting qualify=no here (or aor/qualify_frequency=). In these cases one also has to look at the parameter for the session timers, i.e. disable them. In one instances the problem with a reINVITE was the other phone. reINVITES were rejected because of a peculiar setting in Snom Phones that allows additional filtering of registrars. I needed to turn off this option (but the setting was mentioned on Snom’s wiki).

1 Like

Solved, I’ve to load the module res_pjsip_dlg_options.so, it seems the provider uses the OPTIONS packet to make some check on their side.

1 Like