I followed the tutorial on asterisk website for the basic voicemail template. Basic recording and playing. The asterisk dialplan was something like this:
exten => _4XX,1,NoOp()
same => n,Stasis(vm-record, ${EXTEN})
same => n,Hangup()
and this is what’s been created on disk:
drwxr-xr-x 2 root root 4096 Sep 1 09:39 ’ 400’
Note that the recording part works, and the files are in the directory. So it looks to me like its a space. However, unsure where the space comes from.
Have you examined the stored recording list to see what it returns and what is actually present? I’m also not sure of the impact of using additional directories/folders, not something I’ve seen - although could be fine.
seems to be the directory structure. If I copy the file to the root of recordings, all is okay. The issue I have is that asterisk documentation shows that this should work. Seems to be a bug I would say.
I believe stored recordings are meant to be treated as named things, not paths to files, which is likely why it doesn’t work. Having a “/” in the name likely messes up the routing of the request in some way. I don’t think that’s a bug in the code itself, it just wasn’t made to be used that way.
The posted wiki page is a guide, so it should likely be updated. You can leave a comment with the details.
ok, point taken. However that would be a nice addition to functionality as it would be useful to be able to create structures within the record directory