[asterisk-users] Can I turn off logging of Invalid packets received by PJSIP?

Joshua C. Colp jcolp at sangoma.com
Mon Dec 14 11:09:57 CST 2020


On Mon, Dec 14, 2020 at 1:04 PM Steve Sether <ssether at usinternet.com> wrote:

> We get some noise in our Asterisk error file generated by scanners sending
> invalid invites.  Example below (details removed)
>

<snip>


> This seems to be a feature added in pjsip.  While it's often very useful
> to log error packers, in our case it just winds up being noise 99.9% of the
> time.
>
> Is their some way to configure Asterisk or PJSIP to not log these packets
> as errors?  Or maybe some way to just filter them out entirely before pjsip
> even gets it (other than using an IP, which of course changes).
>

These are deep down in the transport layer, and there's no explicit
configuration option in Asterisk or the PJSIP library itself to disable
them. PJSIP appears to raise them as a normal log message at level 1.

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20201214/2cb397a0/attachment.html>


More information about the asterisk-users mailing list