[asterisk-bugs] [JIRA] (ASTERISK-20983) 'xmpp list nodes' returns (null) node names when collection is defined
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Sat Mar 14 10:30:35 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-20983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan updated ASTERISK-20983:
-----------------------------------
Description:
execute cli command:
{noformat}
xmpp list nodes localhost device_state
{noformat}
Listing pubsub nodes.
{noformat}
<--- XMPP sent to 'localhost' --->
<iq to='pubsub.localhost' from='asterisk03 at localhost/asterisk03' type='get' id='aaadr'><query xmlns='http://jabber.org/protocol/disco#items' node='device_state'/></iq>
<------------->
<--- XMPP received from 'asterisk03' --->
<iq from='pubsub.localhost' to='asterisk03 at localhost/asterisk03' id='aaadr' type='result'><query xmlns='http://jabber.org/protocol/disco#items' node='device_state'><item jid='pubsub.localhost' name='SIP/fritzBox'/><item jid='pubsub.localhost' name='SIP/19'/><item jid='pubsub.localhost' name='SCCP/test'/><item jid='pubsub.localhost' name='Custom:licht '/><item jid='pubsub.localhost' name='IAX2/testserver'/><item jid='pubsub.localhost' name='SCCP/22'/><item jid='pubsub.localhost' name='SCCP/21'/><item jid='pubsub.localhost' name='Custom:mystate '/></query></iq>
<------------->
Connection asterisk03: asterisk03 at localhost
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
{noformat}
I expacted the item name and not (null)
was:
execute cli command:
xmpp list nodes localhost device_state
Listing pubsub nodes.
<--- XMPP sent to 'localhost' --->
<iq to='pubsub.localhost' from='asterisk03 at localhost/asterisk03' type='get' id='aaadr'><query xmlns='http://jabber.org/protocol/disco#items' node='device_state'/></iq>
<------------->
<--- XMPP received from 'asterisk03' --->
<iq from='pubsub.localhost' to='asterisk03 at localhost/asterisk03' id='aaadr' type='result'><query xmlns='http://jabber.org/protocol/disco#items' node='device_state'><item jid='pubsub.localhost' name='SIP/fritzBox'/><item jid='pubsub.localhost' name='SIP/19'/><item jid='pubsub.localhost' name='SCCP/test'/><item jid='pubsub.localhost' name='Custom:licht '/><item jid='pubsub.localhost' name='IAX2/testserver'/><item jid='pubsub.localhost' name='SCCP/22'/><item jid='pubsub.localhost' name='SCCP/21'/><item jid='pubsub.localhost' name='Custom:mystate '/></query></iq>
<------------->
Connection asterisk03: asterisk03 at localhost
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
Node name: (null)
I expacted the item name and not (null)
> 'xmpp list nodes' returns (null) node names when collection is defined
> ----------------------------------------------------------------------
>
> Key: ASTERISK-20983
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20983
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_xmpp
> Affects Versions: 11.2.1
> Environment: a i686 running Linux
> Reporter: Marcello Ceschia
> Severity: Minor
>
> execute cli command:
> {noformat}
> xmpp list nodes localhost device_state
> {noformat}
> Listing pubsub nodes.
> {noformat}
> <--- XMPP sent to 'localhost' --->
> <iq to='pubsub.localhost' from='asterisk03 at localhost/asterisk03' type='get' id='aaadr'><query xmlns='http://jabber.org/protocol/disco#items' node='device_state'/></iq>
> <------------->
> <--- XMPP received from 'asterisk03' --->
> <iq from='pubsub.localhost' to='asterisk03 at localhost/asterisk03' id='aaadr' type='result'><query xmlns='http://jabber.org/protocol/disco#items' node='device_state'><item jid='pubsub.localhost' name='SIP/fritzBox'/><item jid='pubsub.localhost' name='SIP/19'/><item jid='pubsub.localhost' name='SCCP/test'/><item jid='pubsub.localhost' name='Custom:licht '/><item jid='pubsub.localhost' name='IAX2/testserver'/><item jid='pubsub.localhost' name='SCCP/22'/><item jid='pubsub.localhost' name='SCCP/21'/><item jid='pubsub.localhost' name='Custom:mystate '/></query></iq>
> <------------->
> Connection asterisk03: asterisk03 at localhost
> Node name: (null)
> Node name: (null)
> Node name: (null)
> Node name: (null)
> Node name: (null)
> Node name: (null)
> Node name: (null)
> Node name: (null)
> {noformat}
> I expacted the item name and not (null)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list