Installing the List CDRs tools using the SDK installer
If you install the SDK using the sentinel-volte-sdk/build/bin/installer
script, then the installer will automatically
install the list-cdrs tool at /home/testuser/sentinel-volte-sdk/list-cdrs/
.
$ ./build/bin/installer [...] Creating deployment module deploy-volte ... done. [...] Configuration changes written. [...] Installing List CDRs tool ... done. [...]
Installing List CDRs from the SDK using Ant
To install the List CDRs tool using the Ant script instead, use the install-list-cdrs
Ant build target under the sentinel-volte-sdk/tools
directory:
$ cd /home/testuser/sentinel-volte-sdk/tools $ ant install-list-cdrs Buildfile: /home/testuser/sentinel-volte-sdk/tools/build.xml init-build-extensions: [...] install-list-cdrs: [echo] [echo] Retrieving List CDRs... [ivy:resolve] downloading https://repo.opencloud.come/artifactory/opencloud-internal-snapshots/opencloud/sentinel-core/2.7.0/sentinel-list-cdrs/2.7.0.0/sentinel-list-cdrs-package-2.7.0.0.zip ... [ivy:resolve] ..... (8971kB) [ivy:resolve] .. (0kB) [ivy:resolve] [SUCCESSFUL ] opencloud#sentinel-list-cdrs#sentinel-core/2.7.0;2.7.0.0!sentinel-list-cdrs-package.zip (1143ms) [echo] [echo] List CDRs retrieved. [echo] [echo] Installing List CDRs ... [echo] [unzip] Expanding: /home/testuser/sentinel-volte-sdk/tools/target/sentinel-list-cdrs-package.zip into /home/testuser/sentinel-volte-sdk/tools [echo] [echo] [echo] List CDRs installed. [echo] To print CDR files, use the script at list-cdrs/list-cdrs.sh [echo] Usage: list-cdrs CDRFILE [CDRFILE]... [echo] BUILD SUCCESSFUL Total time: 14 seconds
See Setting up Ant in the Sentinel VoLTE SDK guide. |
Installing List CDRs Standalone
The above two approaches are automated ways of installing the List CDRs package
(sentinel-list-cdrs-package.zip
) into a particular location: sentinel-volte-sdk/tools/list-cdrs/
.
Both the above methods place a List CDRs installer archive at
sentinel-volte-sdk/tools/target/sentinel-list-cdrs-package.zip
.
This sentinel-list-cdrs-package.zip
archive can be moved to and unzipped into another
location outside of the SDK and used as a standalone tool.
To install the List CDRs package as a standalone tool, simply unzip the sentinel-list-cdrs-package.zip
archive to your chosen destination directory.
The mechanisms for invoking and configuration the List CDRs tools are the same as when running the tool
inside the SDK. Simply substitute /home/testuser/sentinel-volte-sdk/tools/list-cdrs
with /your/chosen/directory/list-cdrs
.
Uninstalling List CDRs
If you want to uninstall the List CDRs tool, use the uninstall-list-cdrs
Ant target under the
sentinel-volte-sdk/tools
directory:
$ cd /home/testuser/sentinel-volte-sdk/tools $ ant uninstall-list-cdrs Buildfile: /home/testuser/sentinel-volte-sdk/tools/build.xml uninstall-list-cdrs: [echo] Uninstalling (deleting) the list-cdrs install from: /home/testuser/sentinel-volte-sdk/tools/list-cdrs/ [delete] Deleting directory /home/testuser/sentinel-volte-sdk/tools/list-cdrs BUILD SUCCESSFUL Total time: 0 seconds
Alternatively, just delete the list-cdrs
directory:
$ rm -rf sentinel-volte-sdk/tools/list-cdrs/