[asterisk-bugs] [JIRA] (ASTERISK-28948) ARI channel create doesn't referencing the channel_id parameter
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Jun 16 09:30:25 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-28948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251133#comment-251133 ]
Friendly Automation commented on ASTERISK-28948:
------------------------------------------------
Change 14555 merged by Kevin Harwell:
res_ari: Fix create channel request channelId parameter parsing
[https://gerrit.asterisk.org/c/asterisk/+/14555|https://gerrit.asterisk.org/c/asterisk/+/14555]
> 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
>
> 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