I’ve been trying to use CURL with POSTDATA set as: --binary @file.wav
Example:
Set(POSTDATA=–data-binary @64.wav)
Set(X={CURL(http://myAPI,{POSTDATA})})
I’ve been using System(curl -X POST…) , but there’s some issues inside the company I work for regarding running shell commands inside Asterisk.
but it is not working, any help?