On Wed, 9 Jan 2013, Grant Bagdasarian wrote:

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 change 'astdatadir' in asterisk.conf, but that changes the location of the entire 'tree'.

You can specify an absolute path like
'/my-windows-server/my-special-sounds/beep'

You can create a link from your mounted network directory like:

        ln -s /my-windows-server/my-special-sounds/\
                /var/lib/asterisk/sounds/my-special-sounds

You could mount your Windows share as a directory in the sounds directory like:

        mount -t cifs ///my-windows-server/my-special-sounds/\
                /var/lib/asterisk/sounds/my-special-sounds

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000
--
_____________________________________________________________________
-- 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

Reply via email to