I have an Asterisk 20.x server that I use for a Voicemail flow.
To use the PBX server I have a ARI application that handles events and behaviour for my usecase.
The issue I have is, since the ARI application and the Asterisk Server is not on the same server I need a way to tell Asterisk to play audio file through URIs as mentionned in the documentation Asterisk documentation.
My setup local works perfectly but theres no proxy configuration and no auth which since its not a prod env.
Does anyone know where to disable proxy and add authentication for the request made inside Asterisk for the retrieval of the audiofile?
This is what I tries in the extension.conf :
exten => _X.,n,Set(CURL_OPT(userpwd)=user:password)
and I also added the no_proxy env variable.
But. I still get : [May 2 11:11:11] WARNING[30995][C-00000868]: file.c:824 ast_openstream_full: File my-domain.com/1724662913.4302-5142129842.wav does not exist in any format
The request is also working in Postman. The issue is with Asterisk.