Quick Start

  1. Configure the software.

    • Set ENUM_IsEnabled to “true” in the $OSPrey_HOME/enum_config.sh file.
      [ospadmin@NexENUM ~]$ cd $OSPrey_HOME
      [ospadmin@NexENUM ospnexus]$ vi enum_config.sh
    
    • Before:

       #!/bin/sh
       #
       # By default OSPrey will not attempt to contact the NexOSS ENUM module
       #
       # To change the default values, uncomment and update one or more export
       # statements
       #
       ###export ENUM_IsEnabled=false
       ###export ENUM_URL=http://localhost:6080/enum/query
       ###export ENUM_Throttle=100
       ###export ENUM_ResponseTimeOutInMS=200
       ###export ENUM_MaxBacklogSize=5
       ###export ENUM_MaxConnectionsNumber=5
       ###export ENUM_IdleConnectionSearchTimeOutInMS=0
       ###export ENUM_RetryAttemptsLimit=0
       ###export ENUM_RetryDelayInSecs=0
      
    • After:

       #!/bin/sh
       #
       # By default OSPrey will not attempt to contact the NexOSS ENUM module
       #
       # To change the default values, uncomment and update one or more export
       # statements
       #
       export ENUM_IsEnabled=true
       ###export ENUM_URL=http://localhost:6080/enum/query
       ###export ENUM_Throttle=100
       ###export ENUM_ResponseTimeOutInMS=200
       ###export ENUM_MaxBacklogSize=5
       ###export ENUM_MaxConnectionsNumber=5
       ###export ENUM_IdleConnectionSearchTimeOutInMS=0
       ###export ENUM_RetryAttemptsLimit=0
       ###export ENUM_RetryDelayInSecs=0
      
    • Set ENUMServers and DNSServers to the actual list of servers in the $NexENUM_HOME/etc/ENUM.etc file.

      [ospadmin@NexENUM ospnexus]$ cd $NexENUM_HOME/etc
      [ospadmin@NexENUM etc]$ vi ENUM.etc
    
    • Before:

       ##########################################################
       ## Use Case - SipIX
       ##
       ##
       ENUMServers=156.154.19.112
       DNSServers=192.168.1.1
      
    • After: (TNS example with TransNexus DNS)

       ##########################################################
       ## Use Case - SipIX
       ##
       ##
       ENUMServers=204.8.254.231
       DNSServers=172.16.4.55
      
    • After: (NetNumber example with TransNexus DNS)

       ##########################################################
       ## Use Case - SipIX
       ##
       ##
       ENUMServers=208.254.45.97
       DNSServers=172.16.4.55
      
    • If configuring for a TNS query, change “sipix.biz” to “nrd.tnsi.com” for Action & Rule-1 in the $NexENUM_HOME/WebServer/webapps/enum/WEB-INF/ETC/enum.conf file.

      [ospadmin@NexENUM etc]$ cd $NexENUM_HOME/WebServer/webapps/enum/WEB-INF/ETC
      [ospadmin@NexENUM ETC]$ vi enum.conf
    
    • Before:

       ##########################################################
       ## Use Case - SipIX
       ##
       ##
       Action sipix.biz enum
       Rule-1 1 sipix.biz active
      
    • After:

       ##########################################################
       ## Use Case - SipIX
       ##
       ##
       Action nrd.tnsi.com enum
       Rule-1 1 nrd.tnsi.com active
      
    • If configuring for a NetNumber query, change “sipix.biz” to “e164.arpa” for Action & Rule-1 in the $NexENUM_HOME/WebServer/webapps/enum/WEB-INF/ETC/enum.conf file.

      [ospadmin@NexENUM etc]$ cd $NexENUM_HOME/WebServer/webapps/enum/WEB-INF/ETC
      [ospadmin@NexENUM ETC]$ vi enum.conf
    
    • Before:

       ##########################################################
       ## Use Case - SipIX
       ##
       ##
       Action sipix.biz enum
       Rule-1 1 sipix.biz active
      
    • After:

       ##########################################################
       ## Use Case - SipIX
       ##
       ##
       Action e164.arpa enum
       Rule-1 1 e164.arpa active
      
  2. Run the software.

    • Uncomment “enum” tasks from the crontab (at least the NexENUM_auto_restart.sh task).
      [ospadmin@NexENUM ~]$ crontab -e
    
    • Before:

       ## enum utils ##
       # 0-59 * * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_auto_restart.sh
       # 10 3 * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_compress_backup_files.sh
       # 20 3 * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_compress_log_files.sh
       # 30 3 * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_delete_old_backup_files.sh
       # 40 3 * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_delete_old_log_files.sh
      
    • After:

       ## enum utils ##
       0-59 * * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_auto_restart.sh
       10 3 * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_compress_backup_files.sh
       20 3 * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_compress_log_files.sh
       30 3 * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_delete_old_backup_files.sh
       40 3 * * * . ./.bash_profile ; $NexENUM_HOME/utils/NexENUM_delete_old_log_files.sh
      
    • Reboot the OS.