[asterisk-bugs] [JIRA] (ASTERISK-26821) Subscriptions with Expiry=0 is not removed

Niklas Larsson (JIRA) noreply at issues.asterisk.org
Mon Feb 27 04:35:10 CST 2017


Niklas Larsson created ASTERISK-26821:
-----------------------------------------

             Summary: Subscriptions with Expiry=0 is not removed
                 Key: ASTERISK-26821
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26821
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip_pubsub
    Affects Versions: 13.14.0
         Environment: Realtime with ODBC
            Reporter: Niklas Larsson


Had a sip clent that sent a SUBSCRIBE every 15 secounds for the same extension - left us with 13833 inbound subscriptions. After removing the BLF from the phone it stoped sending subscriptions and we thought they would go away, but they didn't:

{code}
root at uc60:/var/log/asterisk# asterisk -rx 'pjsip show subscription inbound 1064b1c8-e47310ac-13c4-21f714-84acf752-3082 at sip.uc.example.com'
ParameterName       : ParameterValue
===========================================================================
Resource            : 101
Event               : dialog
Expiry              : 0
Role                : Notifier
Endpoint            : wid12479
Callid              : 1064b1c8-e47310ac-13c4-21f714-84acf752-3082 at sip.uc.example.com
State               : ACTIVE
Callerid            : Unknown
SubscriptionType    : extension_state
Extension           : 101
ExtensionStates     : Idle
{code}

So now we have 13833 expired subscriptions that are all sending an notify.

Removed the endpoint:
{code}
root at uc60:/var/log/asterisk# asterisk -rx 'pjsip show endpoint wid12479'
Unable to find object wid12479.
{code}
But did not remove the subscriptions



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



More information about the asterisk-bugs mailing list