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

Ross Beer (JIRA) noreply at issues.asterisk.org
Tue Aug 9 04:41:56 CDT 2016


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

Ross Beer edited comment on ASTERISK-26164 at 8/9/16 4:40 AM:
--------------------------------------------------------------

What information do you require from the CLI?

I can see that updates are coming in as follows:

{noformat}
<--- XMPP received from 'asterisk' --->
<?xml version="1.0" encoding="UTF-8"?>
<message from="pubsub.domainremoved" to="ast01 at presence.domainremoved" id="54F4D839">
   <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">mp0PzNJ6CD8R3q8G08PBgz5ubzlB0I927VhU9rNf</header>
   </headers>
</message>
<------------->
{noformat}


was (Author: rossbeer):
What information do you require from the CLI?

I can see that updates are coming in as follows:

{noformat}
<--- XMPP received from 'asterisk' --->
<message from="pubsub.domainremoved" to="ast01 at presence.domainremoved" id="54F4D839"><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">mp0PzNJ6CD8R3q8G08PBgz5ubzlB0I927VhU9rNf</header></headers></message>
<------------->
{noformat}

> 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.
> 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