[asterisk-bugs] [JIRA] (ASTERISK-22410) [patch] Change "Error isn't a PubSub error ..." error log to a debug log

Michael Keuter (JIRA) noreply at issues.asterisk.org
Fri Sep 6 03:55:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210003#comment-210003 ] 

Michael Keuter commented on ASTERISK-22410:
-------------------------------------------

Rusty, the crash was only in Asterisk 1.8.x and not in 11 or higher version. You should change that in ASTERISK-22469.
                
> [patch] Change "Error isn't a PubSub error ..." error log to a debug log
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-22410
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22410
>             Project: Asterisk
>          Issue Type: Improvement
>          Components: Resources/res_jabber, Resources/res_xmpp
>    Affects Versions: 1.8.23.0, 11.5.0
>         Environment: AstLinux 1.1.x
>            Reporter: abelbeck
>            Severity: Minor
>         Attachments: asterisk-11-res_xmpp-log-nonpubsub-error-to-debug.patch, asterisk-1.8-res_jabber-log-nonpubsub-error-to-debug.patch
>
>
> [Edit by Rusty Newton - removed some lines, as that info was moved to issue ASTERISK-22469, a separate issue]
> More good news, Prosody 0.9.0 supports pubsub.
> The bad news, when enabling distributed device state via XMPP/PubSub I'm seeing a lot of "Error isn't a PubSub error, why are we here?" error logs.
> According to Matthew Wild, Prosody developer, he gives this synopsis:
> -- SERVER: Error: node with this name already exists
> <iq id='aaaah' type='error' to='asterisk1 at pbx.example.tld/asterisk' from='pubsub.pbx.example.tld'><error type='cancel'><conflict xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
> -- SERVER: Stanza not handled (Prosody doesn't currently support modification of ACLs over XMPP)
> <iq id='aaaai' type='error' to='asterisk1 at pbx.example.tld/asterisk' from='pubsub.pbx.example.tld'><error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
> The ACL issue can be worked around by defining "admins" for Prosody's pubsub configuration and the pre-existing node error seems to be safely ignored.
> All in all, distributed device state seems to work with Prosody 0.9.0 and Asterisk 1.8/11 with limited testing, though the many error logs are annoying.
> Suggested is changing the non-pubsub error log to a debug log.  Patches to follow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list