[asterisk-bugs] [JIRA] (ASTERISK-29409) ARI / endpoint subscription : FRACK when removing an endpoint

Jean Aunis - Prescom (JIRA) noreply at issues.asterisk.org
Thu Apr 29 04:48:09 CDT 2021


Jean Aunis - Prescom created ASTERISK-29409:
-----------------------------------------------

             Summary: ARI / endpoint subscription : FRACK when removing an endpoint
                 Key: ASTERISK-29409
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29409
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_ari_applications
    Affects Versions: 16.16.2
            Reporter: Jean Aunis - Prescom
            Severity: Major


Perform two subscriptions with ARI:
- a subscription to a specific endpoint (endpoint:SIP/test)
- a subscription to the associated technology (endpoint:SIP)
When the endpoint is deleted in the configuration, a FRACK occurs.

This issue is reproduced with chan_sip and chan_iax2 endpoints.

It does not happen with PJSIP endpoints. It looks like PJSIP endpoints are not actually removed from Asterisk when removed from the configuration, they are merely considered as "unreachable".

Steps to reproduce:
- declare a peer in sip.conf
- subscribe to this peer and to the SIP technology with ARI
- remove the peer from sip.conf and execute "sip reload"

Please find attached:
- a NodeJS file performing the subscriptions
- the sip.conf file declaring the peer
- log "full" with debug level 5
- AO2 reference debugging



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



More information about the asterisk-bugs mailing list