[asterisk-bugs] [JIRA] (ASTERISK-28948) ARI channel create doesn't referencing the channel_id parameter

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jul 9 11:00:27 CDT 2020


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

Asterisk Team updated ASTERISK-28948:
-------------------------------------

    Target Release Version/s: 16.12.0

> ARI channel create doesn't referencing the channel_id parameter
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-28948
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28948
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 16.11.0, 17.5.0
>            Reporter: sungtae kim
>            Severity: Minor
>      Target Release: 16.11.1, 16.12.0, 17.5.1
>
>
> When ARI user sends the request to the /ari/channels/create POST, the Asterisk doesn't get the channelId from the paramter.
> {noformat}
> $ curl -X "POST" "http://localhost:8088/ari/channels/create" \
> >      -H 'Content-Type: application/json; charset=utf-8' \
> >      -u 'asterisk:asterisk' \
> >      -d $'{
> >   "app": "mb_voip",
> >   "endpoint": "PJSIP/mb-voip/sip:test at example.com",
> >   "appArgs": "MB_DIALED=1",
> >   "callerId": "messagebird",
> >   "channelId": "test_call"
> > }'
> {"id":"1591956369.0","name":"PJSIP/mb-voip-00000000","state":"Down","caller":{"name":"","number":""},"connected":{"name":"","number":""},"accountcode":"","dialplan":{"context":"mb-voip","exten":"s","priority":1,"app_name":"","app_data":""},"creationtime":"2020-06-12T10:06:09.881+0000","language":"en"}
> {noformat}



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



More information about the asterisk-bugs mailing list