Inbound call on pjsip trunk rejected because extension not found in context 'from-sip-external'

Derek,

Can you please send an email to [email protected] and we can help you resolve this issue?

Thanks,
Greg

I don’t think modules were loaded individually, but the system was first configured many years ago, and maybe our problem has trickled down through upgrades, etc. The system now is FreePBX 17.

For every trunk, if I check pjsip show endpoint [name-of-trunk] I see this line:
identify_by : username,ip

The global pjsip setting is
endpoint_identifier_order=ip,username,auth_username,header,anonymous

What could be the reason the trunks are being configured with username first?

Possibly to get the same behaviour as chan_sip? In any case, that wouldn’t produce an anonymous match. It’s more likely that you haven’t loaded the module that handles match by IP.

Would it be this one? It is running.

res_pjsip_endpoint_identifier_ip.so PJSIP IP endpoint identifier 0 Running core

On Friday, I realized calls started coming in on all of the trunks are now properly identified, and nothing is being called anonymous. I don’t know when it started, or if I changed anything that might have contributed to this. But I can’t really figure anything else out until or if it happens again. Thanks for the help everyone.