[asterisk-bugs] [JIRA] (ASTERISK-29629) ARI external media channel creation doesn't set option data

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Sep 10 16:03:33 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256268#comment-256268 ] 

Friendly Automation commented on ASTERISK-29629:
------------------------------------------------

Change 16455 merged by Friendly Automation:
resource_channels.c: Fix external media data option

[https://gerrit.asterisk.org/c/asterisk/+/16455|https://gerrit.asterisk.org/c/asterisk/+/16455]

> ARI external media channel creation doesn't set option data
> -----------------------------------------------------------
>
>                 Key: ASTERISK-29629
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29629
>             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
>            Assignee: sungtae kim
>
> /channels/externalMedia doesn't handle the 'data' option correctly.
> {noformat}
> curl -s -X POST -u asterisk:asterisk 192.168.30.10:8088/ari/channels/externalMedia  -H 'Content-Type: application/json; charset=utf-8'  -d '{"app": "voipbin", "external_host": "test.com:5060", "transport": "udp", "format": "ulaw", "connection_type": "client", "direction": "both", "encapsulation": "rtp", "data": "bridge_id=1beb4e7e-ef94-49db-ac82-970f701d3d41,call_id=3c56fa79-ecce-44fe-ada4-e0327b8f599e,context=call-externalmedia"}'
> {"id":"1630693324.0","name":"UnicastRTP/test.com-0x7fdb4c2e7390","state":"Down","caller":{"name":"","number":""},"connected":{"name":"","number":""},"accountcode":"","dialplan":{"context":"default","exten":"s","priority":1,"app_name":"AppDial2","app_data":"(Outgoing Line)"},"creationtime":"2021-09-03T20:22:04.410+0200","language":"en","channelvars":{"UNICASTRTP_LOCAL_PORT":"12642","UNICASTRTP_LOCAL_ADDRESS":"172.16.78.129"}}
> {noformat}



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



More information about the asterisk-bugs mailing list