[asterisk-bugs] [JIRA] (ASTERISK-25325) ARI PUT reload chan_sip HTTP response 404

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Aug 17 18:12:33 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-25325:
------------------------------------

    Status: Open  (was: Triage)

> ARI PUT reload chan_sip HTTP response 404
> -----------------------------------------
>
>                 Key: ASTERISK-25325
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25325
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 13.5.0
>            Reporter: Rodrigo Ramirez Norambuena
>            Severity: Minor
>
> 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}



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



More information about the asterisk-bugs mailing list