Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

INTRODUCTION OF IP PHONE

CONFIGURATION FILE

www.fanvil.com
Contents

1 Generate and Edit Configuration File

2
2 Import and Export Configuration File

3 Encrypt and Use Configuration File


1. Generate and Edit Configuration File
Generate configuration file: 3 configuration file formats: txt, nc txt, xml
1. Generate and Edit Configuration File
Generate and edit txt file:
--Header, end and important tag of configuration file shall be included when configuration file is
generated
--Header and end shall be clear, and other configurations can be added between the following
header and end.
<<VOIP CONFIG FILE>>Version:2.0000000000
<<END OF FILE>>

--Take SIP 1 registered account as an example, user should pay attention to fill the following tab
bar and edit corresponding parameters when generating configuration file.
<SIP CONFIG MODULE>
--SIP Line List-- :
1. Generate and Edit Configuration File
Generate and edit txt file:

SIP1 Register TTL :3600


<<VOIP CONFIG FILE>>Version:2.0000000000
SIP1 Backup Addr :
<SIP CONFIG MODULE>
SIP1 Backup Port :5060
--SIP Line List-- :
SIP1 Backup Transport :0
SIP1 Phone Number :6804
SIP1 Backup TTL :3600
SIP1 Display Name :6804
SIP1 Enable Reg :1
SIP1 Sip Name :
SIP1 Proxy Addr :
SIP1 Register Addr :183.47.51.14
SIP1 Proxy Port :5060
SIP1 Register Port :5060
SIP1 Proxy User :
SIP1 Register User :6804
SIP1 Proxy Pswd :
SIP1 Register Pswd :fanvil6804
SIP1 BakProxy Addr :
SIP1 BakProxy Port :5060
<<END OF FILE>>
1. Generate and Edit Configuration File
Generate and edit nc txt file:
--Pay attention to fill file header, and there is no end of nc txt file
#<Voip Config File>#
Version = 2.0000000000
--Take adding audio code to file as an example, parameters shall be filled as below when
configuration file is generated:
#<Voip Config File>#
Version = 2.0000000000

mm.AudioCodecSets = PCMU,PCMA,G726-16,G726- 24,G726-32,G726-40,G729,G723,iLBC


1. Generate and Edit Configuration File
Generate and edit xml file:
--Pay attention to fill header and end of file
<?xml version="1.0" encoding="UTF-8"?>
<sysConf>
<Version>2.0000000000</Version>
</sysConf>
--Take time part as an example, pay attention to fill sub-tag
1. Generate and Edit Configuration File
Generate and edit xml file:
<?xml version="1.0" encoding="UTF-8"?>
<sysConf>
<Version>2.0000000000</Version>
<timeDisplay>
<EnableTimeDisplay>0</EnableTimeDisplay>
<TimeDisplayStyle>0</TimeDisplayStyle>
<DateDisplayStyle>0</DateDisplayStyle>
<DateSeparator>0</DateSeparator>
</timeDisplay>
</sysConf>
2. Import and Export Configuration File
For 3 configuration formats, exporting method: right-click>>Save As
2. Import and Export Configuration File

Import configured file into IP phone via webpage


3. Encrypt and Use Configuration File
Encrypt configuration file in Windows:
Encrypt configuration file with DSC tool
1) Download DSC tool to F drive
2) Open key.txt with default or set random 64-bit key. Then save
3) Place the exported file in encryption directory in F drive
4) Input “cmd” in running to enter Dos command line. Enter encryption directory via command
5) Encrypt or decrypt file with following commands
3. Encrypt and Use Configuration File
Encrypt configuration file in Windows:
--Encryption: dsc.exe key.txt e config.txt encrypted.txt
--dsc.exe: Tool name
--key.txt: Key file
--“E”: Refers to encryption
--config.txt: Configuration file name
--encrypted.txt: File generated after encryption, file name can be
customized
--Decryption: dsc.exe key.txt d encrypted.txt original.txt
--dsc.exe: Tool name
--key.txt: Key file
--“D”: Refers to decryption
--encrypted.txt: Encrypted file name
--original.txt: File generated after decryption, file name can be customized
3. Encrypt and Use Configuration File
Encrypt configuration file in Linux:
1) Link for downloading DSC: https://1drv.ms/u/s!AhLXW_VNOC9LgR6TiW5931ydvEP5
2) Unzip the file to linux, enter relevant path, execute compile command to get DSC tool
gcc dsc.c rijndael-alg-fst.c rijndael-api-fst.c -o dsc
3. Encrypt and Use Configuration File
Encrypt configuration file in Linux:
3) Linux will generate DSC after execution (left 1 figure)
4) Place to-be-encrypted or decrypted files in dse path (left 2 figure)

5) Encryption command dsc a:my.key ed:xdata.zip data.enc


(Example: dsc key.txt e config.txt encryption.enc)
3. Encrypt and Use Configuration File
Encrypt configuration file in Linux:

--dsc: Tool
--key.txt: Key
--e: Encryption
--Config.txt: T0-be-encrypted file
--encryption.enc: Encrypted file

6) Decryption command dsc my.key d data.enc c: mpdata.zip (Example: dsc key.txt d encryed.txt
config_after.txt)
dsc: Tool
key.txt: Key
d: Decryption
encryed.txt: To-be-decrypted file
Config_after.txt: Decrypted file
3. Encrypt and Use Configuration File
Use Encrypted Configuration File in IP Phone:
To upgrade IP phone with encrypted configuration file, key shall be added on IP phone webpage, and the
filling locations is as below.
Thank you.

You might also like