EAGI Convert ulaw input to wav

After searching around a bit more i discovered that the stream i am receiving in my eagi application isnt mulaw but slin, i think asterisk converts it before passing it to the application.

Converting worked with ffmpeg -f sln … for example.