[asterisk-bugs] [JIRA] (ASTERISK-28266) Added ARI resource /ari/aserisk/ping

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Jan 29 08:11:47 CST 2019


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

George Joseph updated ASTERISK-28266:
-------------------------------------

    Assignee: sungtae kim

> Added ARI resource /ari/aserisk/ping
> ------------------------------------
>
>                 Key: ASTERISK-28266
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28266
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 16.1.1
>            Reporter: sungtae kim
>            Assignee: sungtae kim
>            Severity: Minor
>
> Added ARI resource for ping.
> It returns "pong" message with timestamp and asterisk_id.
> {noformat}
> $ curl -X GET -u asterisk:asterisk localhost:8088/ari/asterisk/ping | python -m json.tool
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100    92  100    92    0     0  10554      0 --:--:-- --:--:-- --:--:-- 11500
> {
>     "asterisk_id": "00:11:22:33:44:55",
>     "ping": "pong",
>     "timestamp": "2019-01-29T00:17:41.059+0100"
> }
> {noformat}



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



More information about the asterisk-bugs mailing list