A couple years ago, I know I had ARI externalMedia working.  Trying to figure 
out what I'm doing wrong today.


https://wiki.asterisk.org/wiki/display/AST/External+Media+and+ARI

My ari.conf

[general]
enabled = yes
pretty = no
allowed_origins = *

[MyApp]
type = user
read_only = no
password_format = plain
password = Password

I send this curl -v -u MyApp:Password -X POST 
"http://localhost:8088/ari/channels/externalMedia?channelId=1234abcd5678&app=MyApp&external_host=192.168.33.32%3A1053&format=slin16";

I can make other ARI commands work, so it must be something specific to my 
externalMedia command and the parameters.

The output is the following...

{"id":"1234abcd5678","name":"UnicastRTP/192.168.33.32:1053-0x7fcffc020300","state":"Down","protocol_id":"","caller":{"name":"","number":""},"connected":{"name":"","number":""},"accountcode":"","dialplan":{"context":"default","exten":"s","priority":1,"app_name":"AppDial2","app_data":"(Outgoing
 
Line)"},"creationtime":"2023-01-20T10:59:24.569-0600","language":"en","channelvars":{"UNICASTRTP_LOCAL_PORT":"19194","UNICASTRTP_LOCAL_ADDRESS":"192.168.33.31"}}

Dan
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to