[asterisk-bugs] [JIRA] (ASTERISK-24716) Improve pjsip log messages for presence subscription failure

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Mar 23 12:15:41 CDT 2015


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

Matt Jordan updated ASTERISK-24716:
-----------------------------------

    Target Release Version/s: 13.3.0

> Improve pjsip log messages for presence subscription failure
> ------------------------------------------------------------
>
>                 Key: ASTERISK-24716
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24716
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_exten_state
>    Affects Versions: 13.1.0
>            Reporter: Rusty Newton
>            Severity: Trivial
>      Target Release: 13.3.0
>
>         Attachments: debug_trace.txt
>
>
> When an endpoint attempts to subscribe for presence and fails (due to no presence state provider I believe) we see the following message:
> {noformat}
> [Jan 23 15:46:57] WARNING[5887]: res_pjsip_exten_state.c:337 new_subscribe: Extension 000FD3012445 does not exist or has no associated hint
> {noformat}
> {noformat}
> debian1*CLI> core show hints
>     -= Registered Asterisk Dial Plan Hints =-
> 1001 at hints          : PJSIP/0019159BF771    State:Idle            Presence:not_set         Watchers  0
> 1002 at hints          : PJSIP/000FD3012445    State:Idle            Presence:not_set         Watchers  0
> 1003 at hints          : PJSIP/00094558B29E    State:Idle            Presence:not_set         Watchers  0
> ----------------
> - 3 hints registered
> {noformat}
> Without turning up DEBUG, the message is a little ambiguous without relying on knowledge of the mentioned modules or functions.
> {quote}
> Extension 000FD3012445 does not exist or has no associated hint
> {quote}
> Maybe the message could say something along these lines:
> "Presence subscription failed: No extension or hint with the name of 000FD3012445 was found."



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



More information about the asterisk-bugs mailing list