Announcements - Configure NFS Share or SD Card

The announcements can be retrieved from an SD Card or from a share on an NFS Server. The procedures below describe the steps required for both NFS Server or SD Card. Use appropriate procedure below which is dependent on whether files are loaded from SD Card or NFS Server

Configure NFS Share (SD Card Displayed Below)

To be able to play announcements and treatments, a share with Mount Points must be configured on an server running the NFS utility. The 2020 IMG can be configured to retrieve and transfer the audio files from this NFS server. Follow the procedure below which describes how to create a mount point labeled shares. Once the mount point is created and configured, a separate directory can be created under the shares directory to load the files needed to play announcements and treatments. In this procedure the directory will be labeled announcements. Follow procedure below which configures an NFS share for playing announcements and treatments.

IMPORTANT!! The procedures below describe creating an NFS share on a server running Red Hat Enterprise Linux and can be used as a template for configuring the NFS Share. However, a server running an OS other than Red Hat Enterprise Linux can be configured. It is up to the administrator of the network to know the procedures and policies needed to configure that specific operating system. Also, the procedure below creates specific directories and shares. The directories created and naming conventions in the procedure are used as a template and don't necessarily have to be followed.

Configure NFS on Red Hat Enterprise Linux

The procedure below describes creating an NFS Share for playing announcements and treatments.

  • Open the NFS Server Configuration pane by going to System > Administration > Server Settings > NFS

  • Before the NFS client opens, a screen will prompt you for the root user password. Enter the root password.

  • This will open the NFS Server Configuration screen. Select Add from the toolbar and an Add NFS Share dialog box will appear. Add the following information to the dialog box:

Description of NFS Server Configuration Screen

  • In the field labeled Directory, enter the path to the directory that will be the Mount Point. In this example, the path entered is /home/dialogic/shares.

  • In the Host(s) field either enter the IP address of the NFS Server or enter a wildcard symbol * indicating any IP address.

  • Check the Read/Write Radio button.

  • In the General Options tab select check the Sync write operations on request box.

  • In the User Access tab check the Treat all clients users as anonymous users box.

  • Check both the Specify local users ID as anonymous users -and- Specify local group ID for anonymous users boxes. The value of the User ID and Group ID is located in the Users Tab and Groups Tab in the User Manager in Linux Red Hat. See screen capture below.

 

  • The User ID is displayed in the User ID Tab under the dialogic user. Enter that number.

  • The Group ID is displayed in the Group ID Tab under the dialogic user. Enter that number.

 

  • Select OK and the share will get configured.

  • Once the NFS Share is configured, restart the NFS Service. Open a terminal window and restart the NFS Service. The commands below will restart the service and configure it to restart whenever the server is rebooted.

[root@rootuser shares]# /sbin/service nfs start (Start the nfs service) [root@rootuser shares]# /sbin/service nfs status (Verify whether nfs is running) [root@rootuser shares]# /sbin/chkconfig nfs on (Configure nfs service to restart after server reboot) [root@rootuser shares]# /sbin/chkconfig nfs --list (Verify that runlevels 3,4 and 5 are all on.) Example: nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
  • The NFS Share has been created. Now create a directory that the audio files will be loaded to. Create a directory labeled announcements. See example below.

 

[dialogic@localuser shares]$ mkdir announcements

 

  • Copy all the audio files required to the announcements directory on the NFS Server using the appropriate transfer mode. For .vox and .wav files, the transfer mode should be Binary.

  • The next step is to configure the NFS object using the Web GUI. Refer to the Announcements - Configure NFS Object.

Configure SD Card

To be able to add/remove/modify the files on the SD Card, an SD Card Reader or FTP Application can be used. The procedure below describes using an FTP Application to transfer/modify the contents of the SD Card. If an SD Card reader will be used, the procedure below is the same with the exception that the SD Card must be removed from system and plugged into the SD Card Reader to modify the contents.

  • Using a Secure FTP application such as WinSCP connect to the SD Card and login using the appropriate username and password. The default username and password when shipped from the factory are:

Username: dialogic

Password: Dial0gic- Capital D, Zero for o

  • Create a new directory that the audio files will be copied to. In this procedure, the directory created will be labeled announcements.

  • Copy all the audio files required to the announcements directory on the SD Card using the appropriate transfer mode. For .vox and .wav files, the transfer mode should be Binary.

  • The next step is to configure the Media objects. Refer to the Announcements - Configure Media topic.

Return to Documentation Home I Return to Sangoma Support