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

sungtae kim (JIRA) noreply at issues.asterisk.org
Mon Jan 28 17:22:47 CST 2019


sungtae kim created ASTERISK-28266:
--------------------------------------

             Summary: 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
            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