[asterisk-users] Streaming/Recording audio

Danny Nicholas danny at debsinc.com
Wed Jan 9 08:36:59 CST 2013


From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Grant
Bagdasarian
Sent: Wednesday, January 09, 2013 4:25 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Streaming/Recording audio

 

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?

 

This is hypothetically possible.  If I say Playback(foo) in the dialplan it
will expect foo.wav (or .gsm or .sln44 or .ulaw depending on the codec) to
be in /v/l/a/s/e.  If I say Playback(/tmp/foo) it will expect the same file
to be in /tmp.  So if I can make my windows environment file be addressable
as /windows I can say Playback(/windows/foo).  The "better" way would be to
do a samba script to copy the file from windows to /tmp so you don't have
lag issues or other problems.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130109/1dd225ad/attachment.htm>


More information about the asterisk-users mailing list