[asterisk-bugs] [JIRA] (ASTERISK-28881) Optional to reduce log verbosity by selectively disabling missing/invalid subscriptions

Sean Bright (JIRA) noreply at issues.asterisk.org
Sun May 10 16:25:25 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-28881:
-----------------------------------

    Environment:     (was: On large, especially multi-tenant systems where endpoints may not be completely under the control of the server, there exists the possibility for massive amounts of 'log noise' coming from endpoints subscribing to targets that don't exist.

When one wishes to keep logging verbosity on, but wants to avoid logging things that our beyond the influence of the server, it would be quite useful to be able to quash certain messages.)

> Optional to reduce log verbosity by selectively disabling missing/invalid subscriptions
> ---------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28881
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28881
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 16.10.0, 17.4.0
>            Reporter: Mark Murawski
>            Severity: Minor
>              Labels: patch
>         Attachments: master-6b2d9451741cadb080637190af65d40f692d67ed-pjsip-log_subscription_error.patch
>
>
> The attached patch adds the endpoint option: log_subscription_error to pjsip.
> To maintain default expected behavior and backwards compatibility, the default is 'yes'.
> [2020-05-10 16:31:16.266] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5504' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:16.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5515' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:17.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '3020' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:22.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5509' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:23.780] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5515' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:24.265] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5505' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:29.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5509' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:30.266] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5504' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:31.265] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5505' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:31.780] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '3020' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:37.265] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5504' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:37.776] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5515' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:38.776] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '3020' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:43.780] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5509' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:44.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5515' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:45.265] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5505' does not exist in context 'blf' or has no associated hint
> After applying log_subscription_error=no to the default pjsip wizard, none of the above messages would be logged.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list