curl -v -u sysadm:hfcgtplfk -X POST
http://127.0.0.1:8088/ari/channels?endpoint=Local/79615825062@sbc&extension=2222&context=test&priority=1&callerId=1[1] 13289
[2] 13290
[3] 13291
[4] 13292
[root@ast14-node3 asterisk]# * About to connect() to
127.0.0.1 port 8088 (#0)
* Trying
127.0.0.1...
* Connected to
127.0.0.1 (
127.0.0.1) port 8088 (#0)
* Server auth using Basic with user 'sysadm'
> POST /ari/channels?endpoint=Local/79615825062@sbc HTTP/1.1
> Authorization: Basic c3lzYWRtOmhmY2d0cGxmaw==
> User-Agent: curl/7.29.0
> Host:
127.0.0.1:8088> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Server: Asterisk
< Date: Wed, 18 Sep 2019 12:28:02 GMT
< Cache-Control: no-cache, no-store
< Content-type: application/json
< Content-Length: 61
<
{
"message": "Application or extension must be specified"