[asterisk-bugs] [JIRA] (ASTERISK-26164) XMPP no longer triggers NOTIFY to device via chan_pjsip
Ross Beer (JIRA)
noreply at issues.asterisk.org
Thu Jun 30 04:47:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ross Beer updated ASTERISK-26164:
---------------------------------
Description:
Shared device state via XMPP is no longer sent to devices subscribed via hints. Updates are being received via XMPP and devices are subscribed when showing hints:
{noformat}
200 at from-inter: PJSIP/200 State:Idle Presence:not_set Watchers 8
{noformat}
XMPP message from other server:
{noformat}
<--- XMPP received from 'asterisk' --->
<message from="pubsub.presence.domainremoved" to="ast01 at presence.domainremoved" id="lQ84VH45">
<event xmlns="http://jabber.org/protocol/pubsub#event">
<items node="device_state">
<item id="PJSIP/200">
<state xmlns="http://asterisk.org" eid="00:00:00:00:00:00" cachable="1">INUSE</state>
</item>
</items>
</event>
<headers xmlns="http://jabber.org/protocol/shim">
<header name="SubID">HpKmSGOrrW6G0x72HUUHBwdDeVKm8Pr66M1LuhDo</header>
</headers>
</message>
{noformat}
In previous versions of asterisk there was a subscribecontext for the chan_sip driver which is no longer present for chan_pjsip. I'm wondering if XMPP is updating a different context to that of the devices subscription.
was:
Shared device state via XMPP is no longer sent to devices subscribed via hints. Updates are being received via XMPP and devices are subscribed when showing hints:
{noformat}
200 at from-inter: PJSIP/200 State:Idle Presence:not_set Watchers 8
{noformat}
XMPP message from other server:
{noformat}
<--- XMPP received from 'asterisk' --->
<message from="pubsub.presence.<domainremoved>" to="ast01 at presence.<domainremoved>" id="lQ84VH45"><event xmlns="http://jabber.org/protocol/pubsub#event"><items node="device_state"><item id="PJSIP/200"><state xmlns="http://asterisk.org" eid="00:00:00:00:00:00" cachable="1">INUSE</state></item></items></event><headers xmlns="http://jabber.org/protocol/shim"><header name="SubID">HpKmSGOrrW6G0x72HUUHBwdDeVKm8Pr66M1LuhDo</header></headers></message>
{noformat}
In previous versions of asterisk there was a subscribecontext for the chan_sip driver which is no longer present for chan_pjsip. I'm wondering if XMPP is updating a different context to that of the devices subscription.
> XMPP no longer triggers NOTIFY to device via chan_pjsip
> -------------------------------------------------------
>
> Key: ASTERISK-26164
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26164
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_pubsub, Resources/res_xmpp
> Affects Versions: 13.9.1, 13.10.0-rc1
> Environment: Fedora 23 / CentOS 7
> Reporter: Ross Beer
>
> Shared device state via XMPP is no longer sent to devices subscribed via hints. Updates are being received via XMPP and devices are subscribed when showing hints:
> {noformat}
> 200 at from-inter: PJSIP/200 State:Idle Presence:not_set Watchers 8
> {noformat}
> XMPP message from other server:
> {noformat}
> <--- XMPP received from 'asterisk' --->
> <message from="pubsub.presence.domainremoved" to="ast01 at presence.domainremoved" id="lQ84VH45">
> <event xmlns="http://jabber.org/protocol/pubsub#event">
> <items node="device_state">
> <item id="PJSIP/200">
> <state xmlns="http://asterisk.org" eid="00:00:00:00:00:00" cachable="1">INUSE</state>
> </item>
> </items>
> </event>
> <headers xmlns="http://jabber.org/protocol/shim">
> <header name="SubID">HpKmSGOrrW6G0x72HUUHBwdDeVKm8Pr66M1LuhDo</header>
> </headers>
> </message>
> {noformat}
> In previous versions of asterisk there was a subscribecontext for the chan_sip driver which is no longer present for chan_pjsip. I'm wondering if XMPP is updating a different context to that of the devices subscription.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list