[Home]

Summary:ASTERISK-25325: ARI PUT reload chan_sip HTTP response 404
Reporter:Rodrigo Ramirez Norambuena (roramirez)Labels:
Date Opened:2015-08-16 10:54:23Date Closed:2015-09-29 16:35:59
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_ari
Versions:13.5.0 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:Attachments:
Description:I am tested the ARI PUT method to do reload to chan_sip and response is a 404 HTTP code. I think should to be to 200 because the reload it was do.

CURL test

{code}
curl -v  -X PUT -u username:password http://127.0.0.1:8088/ari/asterisk/modules/chan_sip
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8088 (#0)
* Server auth using Basic with user 'username'
> PUT /ari/asterisk/modules/chan_sip HTTP/1.1
> Authorization: Basic cm9kcmlnbzoxMjM0NTY=
> User-Agent: curl/7.38.0
> Host: 127.0.0.1:8088
> Accept: */*
>
< HTTP/1.1 404 Not Found
* Server Asterisk/GIT-master-7c4cb86 is not blacklisted
< Server: Asterisk/GIT-master-7c4cb86
< Date: Thu, 13 Aug 2015 00:46:11 GMT
< Cache-Control: no-cache, no-store
< Content-type: application/json
< Content-Length: 44
<
{
 "message": "Module could not be found"
* Connection #0 to host 127.0.0.1 left intact
}
{code}



on Asterisk CLI
{code}
Connected to Asterisk GIT-master-7c4cb86 currently running on astdev (pid = 29865)
Core debug was OFF and is now 1.
   -- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
Reloading SIP
astdev*CLI>

{code}
Comments:By: Asterisk Team (asteriskteam) 2015-08-16 10:54:25.091-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.

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