/rossvyaz2libphonenumber

Simple tool to convert phone number prefixes from the Rossvyaz Numbering base to the libphonenumber format.

Primary LanguageKotlinApache License 2.0Apache-2.0

rossvyaz2libphonenumber

Simple tool to convert phone number prefixes from the Rossvyaz Numbering base to the libphonenumber format.

How to use

You could use included DownloadAndGenerate.ps1 PowerShell script on Windows or download-and-generate.sh on Mac/Linux.

Also you could process file manually:

  1. Download fresh def file: https://rossvyaz.ru/data/DEF-9xx.csv
  2. Convert it to the UTF-8.
  3. Run the converter
rossvyaz2libphonenumber export DEF-9xx.csv replace.csv

Build instructions

Windows

git clone https://github.com/nikanorov/rossvyaz2libphonenumber.git
cd rossvyaz2libphonenumber
gradlew.bat build

MacOS/Linux

git clone https://github.com/nikanorov/rossvyaz2libphonenumber.git
cd rossvyaz2libphonenumber
./gradlew build