Creating a live recording via channel.Record does not support liverecording.Stop()
404 Not Found is returned when attempting to Stop a live recording that has been created via channel.Record(...) .
Stopping a live recording via channel.Record can be done via OnTerminate DTMF signal instead, so there is a current workaround.
There is, I believe, a unit test for this. Did you happen to check its implementation?
Yes. The only real different being that RecordRequest is different enough for concern (Name has slashes since it points to a nested file.. attempted to escape filename, format is ulaw instead of wav in my code). I'll check and see if the name formatting is the issue.
@Ulexus : pushed up an offending test. Details are here: http://godoc.org/net/url#URL
Note that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/. A consequence is that it is impossible to tell which slashes in the Path were slashes in the raw URL and which were %2f. This distinction is rarely important, but when it is a client must use other routines to parse the raw URL or construct the parsed URL. For example, an HTTP server can consult req.RequestURI, and an HTTP client can use URL{Host: "example.com", Opaque: "//example.com/Go%2f"} instead of URL{Host: "example.com", Path: "/Go/"}.
note to self: check to see if this is still actually an issue...