Summary: | ASTERISK-30200: res_pjsip: Reloading with removal of endpoint does not remove internal endpoint | ||||
Reporter: | Ilia Gvozdev (igvozd) | Labels: | |||
Date Opened: | 2022-09-01 04:22:27 | Date Closed: | |||
Priority: | Minor | Regression? | |||
Status: | Open/New | Components: | Core/General | ||
Versions: | 18.13.0 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | CentOS Linux release 7.9.2009 (Core) | Attachments: | |||
Description: | cat ps_endpoints.conf
[1003] type=endpoint transport=transport-udp auth=1003 aors=1003 context=local disallow=all allow=alaw,ulaw dtmf_mode=auto [1004] type=endpoint transport=transport-udp auth=1004 aors=1004 context=local disallow=all allow=alaw,ulaw dtmf_mode=auto Remove 1004 endpoint from ps_endpoints.conf and "reload pjsip" from Asterisk CLI. Check endpoints from CLI and ari/endpoints: CLI> pjsip show endpoints Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.> I/OAuth: <AuthId/UserName...........................................................> Aor: <Aor............................................> <MaxContact> Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..> Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................> Identify: <Identify/Endpoint.........................................................> Match: <criteria.........................> Channel: <ChannelId......................................> <State.....> <Time.....> Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......> ========================================================= Endpoint: 1003 Unavailable 0 of inf InAuth: 1003/1003 Aor: 1003 1 Transport: transport-udp udp 0 0 0.0.0.0:5060 Objects found: 1 curl -v -u asterisk:asterisk -X GET http://192.168.10.103:8088/ari/endpoints?api_key=asterisk:asterisk < HTTP/1.1 200 OK < Server: Asterisk < Date: Thu, 01 Sep 2022 09:17:10 GMT < Cache-Control: no-cache, no-store < Content-type: application/json < Content-Length: 214 < [ { "technology": "PJSIP", "resource": "1003", "state": "offline", "channel_ids": [] }, { "technology": "PJSIP", "resource": "1004", "state": "offline", "channel_ids": [] } information about endpoint in ari/endpoints continue showing deleted endpoint 1004 | ||||
Comments: | By: Asterisk Team (asteriskteam) 2022-09-01 04:22:33.358-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur. Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/]. |