Hello,
In a SIP trunking setup (ie Asterisk exchanging call with various IPBX), remote IPBX sends OPTION messages, probably to keep NAT connections alive.
Asterisk is 13.14.1.
Some of these OPTION messages are currently logged with lines such as:
[Mar 30 14:47:03] NOTICE[1047] res_pjsip/pjsip_distributor.c: Request ‘OPTIONS’ from ‘“foo” sip:foo@10.6.27.5’ failed for ‘10.6.27.5:5060’ (callid: 75ef950e799462990d24171a4ae70568) - No matching endpoint found
Please, note that the above example:
- the real endpoint (attached to ‘10.6.27.5:5060’) is named ‘bar’ (and not ‘foo’ as expressed in From username part)
- I’ve got no control over the device sending this OPTION (it can be any IPBX from any vendor and most IPBX sys admins are unable to tune the way OPTION messages are sent)
How can I remove these log lines (without changing logging config) ?
Best regards