From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Grant Bagdasarian Sent: Wednesday, January 09, 2013 4:25 AM To: asterisk-users@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.
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users