Configuring the GTPP Profile

You can configure server details, dictionary, timeout, and so on, to use by the GTPP-EP pod.

To configure the GTPP profile, use the following configuration:

config 
   profile gtpp-profile profile_name gtpp 
      local-storage 
         file 
            rotation 
             volume volume_value 
             cdr-count cdrcount_value 
             time-interval interval_value 
            exit 
            name 
             prefix prefix_value 
             format format 
             max-file-seq-num max_sequence_number 
             start-file-seq-num start_sequence_number 
             recover-file-seq-num { true | false } 
            exit 
            purge-processed-files purge-interval purgeinterval_value 
           exit 
           push 
            encrypted-url url_name 
            encrypted-secondary-url url_name 
           exit 
          exit 
          dictionary  custom_value 
          end 

NOTES:

  • local-storage —Local storage details.

  • file —Specify the file details.

  • rotation —Specify the file rotation details.

  • volume volume_value —Specify the file volume in MiB for file rotation. Must be an integer in the range of 2-40. Default value is 4.

  • cdr-count cdrcount_value —Specify the CDR count for file rotation. Must be an integer in the range of 1000-65000. Default value is 10000.

  • time-interval interval_value —Specify the time interval in seconds for file rotation. Must be an integer in the range of 30-86400. Default value is 3600.

  • prefix prefix_value —Specify the file name prefix to be used. If the prefix value isn’t specified, the configuration takes default profile name.

  • format format —Specify the file name format to be used to override the name format associated with the file format.

  • max-file-seq-num max_sequence_number —Specify the maximum file sequence number to rollover. Default value is 4294967295.

  • start-file-seq-num start_sequence_number —Specify the start sequence number during rollover. Default value is 1.

  • recover-file-seq-num { true | false } —When set to true, file sequence number continues from the last sequence number on application restart. Default value is false.

  • purge-processed-files —Enables periodic purging of processed files.

  • purge-processed-files purge-interval purgeinterval_value —Specify the purging interval of processed files in minutes. Default value is 60.

  • encrypted-url —Specify the primary SFTP URL to push CDR files to.

  • encrypted-secondary-url —Specify the secondary SFTP URL to push when push fails on primary host.

  • dictionary custom_value —Specify the dictionary to be used to ASN.1 encode a CDR.

Note
  • The path in SFTP URL is by default a relative path to home directory of SFTP URL user specified in URL.

    Example: encrypted-url sftp://user:pass@example.com:2020/upload/pf1. It pushes files to %USER_HOME/upload/pf1

    Example: encrypted-url sftp://user:pass@example.com:2020. It pushes files to %USER_HOME

  • To upload files to a folder outside the user's home directory, configure an absolute path by preceding the path with // at the beginning of the SFTP server path.

    Example: encrypted-url sftp://user:pass@example.com:2020//var/opt. It pushes the files to absolute path /var/opt

    SFTP user must have the write access to this path for the upload to be successful.

If password contains any special character outside the permissible URL character set, they must be percent coded as per the RFC 3986. For example, a URL with password pass!word, entered as sftp://user:pass%21word@example.com/path/to/folder