Filtering message

I’m getting hammered with thousands of messages like this:

[2019-05-25 18:13:43] WARNING[7553]: res_pjsip_registrar.c:989 registrar_on_rx_request: Endpoint 'anonymous' has no configured AORs

I’m trying to debug other things but it is difficult wading through these. How can I filter these out or eliminate them all together?

AOR section is used for the the configuration for a location of an endpoint, is to tell Asterisk where an endpoint can be contacted, you just do that with trusted endpoints not with anoymous one If you dont want to allow anonymous calls remove the Endpoint 'anonymous

I assumed the OP had a legitimate need for anonymous end points.

I don’t want to allow anonymous sip calls at all. I am using FreePBX and I asssume FreePBX set up the configuration files.

Sir you will need to define if you start using plain Asterisk or FreePBX because the issue here is that setting on FreePBX are done using the GUI and any solution we gave you here, it is assuming you will edit configuration files on this case /etc/asterisk/pjsip.conf file

I’d like to see any solution you might have anyway

easy way is remove the anonymous endpoint from your pjsip configuration also unloading the module will disable the anonymous authentication support

are you re usigng FreePBX check this out

Yes. I’ve done that and now there is no anonymous endpoint. Messages have been reduced


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.