CURL Function does not work with POSTDATA

I’ve been trying to use CURL with POSTDATA set as: --binary @file.wav

Set(POSTDATA=–data-binary @64.wav)

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?

Is there typo in your example ?

Maybe ${POSTDATA} not just {POSTDATA} ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.