[asterisk-bugs] [JIRA] (ASTERISK-29622) ARI: external media create doesn't use body parameter
sungtae kim (JIRA)
noreply at issues.asterisk.org
Tue Aug 31 02:40:33 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sungtae kim updated ASTERISK-29622:
-----------------------------------
Description:
{noformat}
# curl -s -X POST -u asterisk:asterisk 127.0.0.1:8088/ari/channels/externalMedia \
> -H 'Content-Type: application/json; charset=utf-8' \
> -d '{"app": "sdp", "external_host": "test.com:5060", "transport": "udp", "format": "ulaw", "connection_type": "client", "direction": "both", "encapsulation": "rtp"}'
{"message":"app cannot be empty"}
{noformat}
was:
<noformat>
# curl -s -X POST -u asterisk:asterisk 127.0.0.1:8088/ari/channels/externalMedia \
> -H 'Content-Type: application/json; charset=utf-8' \
> -d '{"app": "sdp", "external_host": "test.com:5060", "transport": "udp", "format": "ulaw", "connection_type": "client", "direction": "both", "encapsulation": "rtp"}'
{"message":"app cannot be empty"}
</noformat>
> ARI: external media create doesn't use body parameter
> -----------------------------------------------------
>
> Key: ASTERISK-29622
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29622
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_ari_channels
> Affects Versions: 16.20.0, 18.6.0, 19.0.0
> Reporter: sungtae kim
>
> {noformat}
> # curl -s -X POST -u asterisk:asterisk 127.0.0.1:8088/ari/channels/externalMedia \
> > -H 'Content-Type: application/json; charset=utf-8' \
> > -d '{"app": "sdp", "external_host": "test.com:5060", "transport": "udp", "format": "ulaw", "connection_type": "client", "direction": "both", "encapsulation": "rtp"}'
> {"message":"app cannot be empty"}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list