the call is now established and working fine but how to play the sound? i need this feature I need to automate call that play alert from the monitoring system
If you want to do it in extension mode, rather than app mode, and within the FreePBX framework, you’d probably make the Announcements Application Module the destination of the extension you used. sipprovider doesn’t sound like a sensible context for that extension, as you would want it treated like an internal call.
I think you need to provide us with a complete specification of the requirement.
Also, if this is being initiated from the same machine, creating a call file, may be better, as Asterisk will retry failed calls, or using the CLI originate command may be better, as it is simple and well established.
In all cases, you probably want to do it outside of FreePBX, by using the application mode of originate.
Let;s starrt by understanding what you are trying to do.
What service is running on localhost:8085?
does it return media recognizable and readable to the asterisk user , sample rate of 8000 , one channel and 16 bit data?
Google suggests it is an AWS failure so ‘On what platform are you running it on ?’
you are using curl with ‘-v’, so there should be a lot of data returned, , make that -vv and provide the issue when you call your service purely from a shell and as the ‘asterisk user’.
yes, you are right. we have a monitoring system that monitors our network. what I need to do that integrate this monitoring system with FreePBX. For example, once we have a network problem we should establish a call with text to speech to notify the support team this is my project