[asterisk-bugs] [JIRA] (ASTERISK-26164) XMPP no longer triggers NOTIFY to device via chan_pjsip

Joshua Colp (JIRA) noreply at issues.asterisk.org
Thu Jun 30 07:54:56 CDT 2016


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

Joshua Colp updated ASTERISK-26164:
-----------------------------------

    Assignee: Ross Beer
      Status: Waiting for Feedback  (was: Triage)

XMPP updates the device state, not extension state, so it would not matter what context is subscribed to.

I'd suggest also adding the console output with debug to show this issue.

> 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
>            Assignee: 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.
> The NOTIFY packets are sent correctly if the devices are using the same server.



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



More information about the asterisk-bugs mailing list