[asterisk-users] Streaming/Recording audio

A J Stiles asterisk_list at earthshod.co.uk
Wed Jan 9 04:54:14 CST 2013


On Wednesday 09 January 2013, Grant Bagdasarian wrote:
> Regarding the streaming of audio.
> 
> I thought of another approach, but I'm not sure if Asterisk will allow it.
> When playing a file they're read from /var/lib/asterisk/sounds/en/.
> Is it possible to change this directory to a network directory hosted on a
> windows environment?

You can serve the sounds from any folder.  There's nothing to stop you 
mounting an SMB filesystem over /var/lib/asterisk/sounds/en/ if you want to 
play the files from a Windows server  (as long as you don't mind the odd missed 
voice announcement when the Windows server is being uncooperative).

But by the time you get to the "h" extension, the call recording should be 
finished anyway  (a Hangup() will make really sure).  And then you can do a 
HTTP POST or whatever you like with it.


By the way:  You generally will get more helpful responses if you ask specific 
questions.  Caginess and evasion do not get you anywhere on mailing lists.  
Whatever it is that you've thought of that you think is so mega-top-secret 
that you absolutely must not tell anyone at all about it in case someone else 
figures out how to do it, really is not that original; and by withholding the 
details, you are doing yourself no favours.

Imagine you are a doctor and one of your patients says they have a pain, but 
they won't say where on their body it is .....


-- 
AJS

Answers come *after* questions.



More information about the asterisk-users mailing list