I have inbound SIP trunks. All extensions are PJSIP.
In Asterisk SIP Settings - Security Settings, if I do not “Allow Anonymous Inbound SIP Calls” and “Allow SIP Guests”, all inbound calls will not be successfully picked up by the FreePBX.
As soon as I changed it to “Yes”, inbound calls via our SIP Trunks work as expected.
In Call Detail, I can see the “Channel Name” showing as PJSIP/anonymous-0000000nn where nn are numbers. with context = from-sip-external
How to “make” inbound calls from the registered SIP trunks not an anymous?
Obviously, this is a security concern.