fix
continuous-integration/drone/push Build is passing Details

pull/6/head
thest1tch 2 years ago
parent 4b194c627e
commit 5d23ec7e95

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

@ -0,0 +1,504 @@
Скачать [пример](https://disk.yandex.ru/d/UJJK2Ttm1amJmg)
??? example
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Grandstream XML Provisioning Configuration -->
<gs_provision version="1">
<mac>000b82dc084a</mac>
<config version="1">
<!-- #################################################################### -->
<!-- ## Шаблонный файл для Grandstream XML Config ## -->
<!-- #################################################################### -->
<!-- # Account 1: -->
<!-- # Account Active. 0 - No, 1 - Yes. Default value is 0 -->
<!-- # Number: 0, 1 -->
<P271>1</P271>
<!-- # Account Name -->
<P270>111</P270>
<!-- # SIP Server -->
<P47>ast1.domain.com</P47>
<!-- # SIP User ID -->
<P35>111</P35>
<!-- # SIP Authenticate ID -->
<P36>111</P36>
<!-- # SIP Authenticate Password -->
<P34>pass</P34>
<!-- # Name (Display Name, e.g., John Doe) -->
<P3>111</P3>
<!-- -->
<!-- ### IP Address. -->
<!-- # IP Address Mode. 0 - DHCP, 1 - Static IP, 2 - PPPoE -->
<!-- # Number: 0,1,2 -->
<!-- # Mandatory -->
<!-- # Reboot required -->
<!-- # If you want to use this tool to set IP address, set P8=1 then. -->
<P8>0</P8>
<!-- -->
<!-- ############################################ -->
<!-- # Все что ниже менять под свои требования # -->
<!-- ############################################ -->
<!-- -->
<!-- # TFTP конфиг место загрузки -->
<P212>0</P212>
<P237>ast1.domain.com</P237>
<!-- -->
<!-- # NTP Изменить на свой -->
<P30>dc.domain.com</P30>
<!-- -->
<!-- # Часовой пояс -->
<!-- # GMT+03:00 (Moscow, Russia) MSK-3MSD,M3.5.0/2,M10.5.0/3 -->
<!-- # GMT+03:00 (St.Petersburg, Russia) MST-3MDT,M3.5.0/2,M10.5.0/3 -->
<!-- # GMT+04:00 (Abu Dhabi, Baku) TZR-4 -->
<!-- # GMT+05:00 (Islamabad, Ekaterinburg, Karachi, Tashkent)TZS-5 -->
<!-- # GMT+05:30 (Chennai, New Delhi, Mumbai) TZT-5:30 -->
<!-- # GMT+05:45 (Kathmandu) TZU-5:45 -->
<!-- # GMT+06:00 (Almaty, Astana, Dhaka, Novosibirsk) TZV-6 -->
<!-- # GMT+06:30 (Rangoon) TZW-6:30 -->
<!-- # GMT+07:00 (Bankok, Hanoi, Krasnoyarsk) TZX-7 -->
<!-- # GMT+07:00 (Jakarta) WIB-7 -->
<!-- # GMT+08:00 (Beijing, Taipei, Kuala Lumpur, Irkutsk) TZY-8 -->
<!-- # GMT+08:00 (Singapore) SGT-8 -->
<P64>TZS-5</P64>
<!-- -->
<!-- # Маски для установки соответствия звонящего мелодии звонка -->
<!-- # 1 строка - правило, 2 - тип звонка -->
<!-- # 0 - системная, 1 2 3 - соответствуют 1 2 3 кастомному звонку -->
<!-- -->
<!-- # Правило №1 -->
<P1488>9xx[1-3]xx</P1488>
<P1489>2</P1489>
<!-- # Правило №2 -->
<!-- #<P1490></P1490> -->
<!-- #<P1491>0</P1491> -->
<!-- # Правило №3 -->
<!-- #<P1492></P1492> -->
<!-- #<P1493>0</P1493> -->
<!-- -->
<!-- # Правило №4 -->
<!-- #<P6716></P6716> -->
<!-- #<P6717>0</P6717> -->
<!-- -->
<!-- # Правило №5 -->
<!-- #<P6718></P6718> -->
<!-- #<P6719>0</P6719> -->
<!-- # Правило №6 -->
<!-- #<P6720></P6720> -->
<!-- #<P6721>0</P6721> -->
<!-- # Правило №7 -->
<!-- #<P26064></P26064> -->
<!-- #<P26065>0</P26065> -->
<!-- # Правило №8 -->
<!-- #<P26066></P26066> -->
<!-- #<P26067>0</P26067> -->
<!-- # Правило №9 -->
<!-- #<P26068></P26068> -->
<!-- #<P26069>0</P26069> -->
<!-- # Правило №10 -->
<!-- #<P26096></P26096> -->
<!-- #<P26097>0</P26097> -->
<!-- # Длительность звонка, стандарт на 60сек -->
<!-- # Диапазон 30-3600сек -->
<P1328>60</P1328>
<!-- -->
<!-- ############################################ -->
<!-- # Все что ниже менять под свои требования # -->
<!-- ############################################ -->
<!-- -->
<!-- # Язык -->
<P1362>ru</P1362>
<!-- # Формат даты -->
<!-- # 2: dd-mm-yyyy eg. 31-10-2011 -->
<P102>2</P102>
<!-- # Пароль для админа -->
<P2>PassW0RD</P2>
<!-- # Установка проверки обновлений файла конфига и период -->
<P194>1</P194>
<P193>120</P193>
<!-- -->
<!-- # Firmware Upgrade Confirmation. 0 - No, 1 - Yes. Default is 1. -->
<P8375>1</P8375>
<!-- # Download Firmware File -->
<!-- # Firmware Upgrade Via. 0 - TFTP, 1 - HTTP, 2 - HTTPS, 3 - FTP, 4 - FTPS. Default is 1 -->
<P6767>0</P6767>
<!-- # Firmware Server Path -->
<P192>ast1.domain.com/0415</P192>
<!-- # Мелодия на аккаунт -->
<!-- # 0 - системная, 1 2 3 - соответствуют 1 2 3 кастомному звонку -->
<P104>1</P104>
<!-- # Громкость от 0 до 7 -->
<P8352>2 </P8352>
<!-- -->
<!-- #################################################################### -->
<!-- ## Example P values End ## -->
<!-- #################################################################### -->
<!-- ### For more P values, please download full template file at: http://www.grandstream.com/sites/default/files/Resources/config-template.zip ### -->
<!-- ### This tool will only change the field of SIP accounts, IP address from the CSV file or from the manual settings, all other settings will be populated to XML as the same in TXT template. ### -->
<P26050>0</P26050>
<P2981>0</P2981>
<P26051>60</P26051>
<P1696>0</P1696>
<P2983>0</P2983>
<P26054>1</P26054>
<P2985>0</P2985>
<P2987>0</P2987>
<P290>{ x+ | *x+ | *xx*x+ }</P290>
<P2988>0</P2988>
<P26058>1</P26058>
<P291>0</P291>
<P26059>1</P26059>
<P2865>127</P2865>
<P330>0</P330>
<P332>0</P332>
<P2906>0</P2906>
<P333>1</P333>
<P298>0</P298>
<P2907>1</P2907>
<P334>6</P334>
<P90>0</P90>
<P335>2</P335>
<P2909>f1=350,f2=440;</P2909>
<P91>0</P91>
<P92>0</P92>
<P6770>1</P6770>
<P93>0</P93>
<P2589>0</P2589>
<P6771>3</P6771>
<P338>0</P338>
<P1339>0</P1339>
<P94>0</P94>
<P2465>127</P2465>
<P2340>0</P2340>
<P95>0</P95>
<P2341>0</P2341>
<P96>97</P96>
<P22030>0</P22030>
<P2342>0</P2342>
<P97>1</P97>
<P2343>0</P2343>
<P98>97</P98>
<P99>0</P99>
<P10>168</P10>
<P2346>0</P2346>
<P11>0</P11>
<P2347>0</P2347>
<P12>160</P12>
<P8300>0</P8300>
<P8389>0</P8389>
<P2348>0</P2348>
<P13>255</P13>
<P14>255</P14>
<P15>0</P15>
<P901>80</P901>
<P16>0</P16>
<P2991>0</P2991>
<P17>0</P17>
<P2992>0</P2992>
<P18>0</P18>
<P19>0</P19>
<P8021>389</P8021>
<P2995>0</P2995>
<P2996>0</P2996>
<P5005>1440</P5005>
<P1464>0</P1464>
<P8027>3</P8027>
<P1340>0</P1340>
<P1341>0</P1341>
<P340>0</P340>
<P2753>0</P2753>
<P2914>0</P2914>
<P342>0</P342>
<P2754>1</P2754>
<P1343>0</P1343>
<P2915>0</P2915>
<P343>f1=350,f2=440;</P343>
<P2755>0</P2755>
<P2916>0</P2916>
<P182>0</P182>
<P183>0</P183>
<P344>f1=350,f2=440,c=10/10;</P344>
<P2595>1</P2595>
<P1345>0</P1345>
<P345>f1=440,f2=480,c=200/400;</P345>
<P184>0</P184>
<P346>f1=440,f2=480,c=200/400;</P346>
<P32000>0</P32000>
<P347>f1=440,f2=440,c=25/525;</P347>
<P186>0</P186>
<P1348>0</P1348>
<P32001>0</P32001>
<P348>f1=480,f2=620,c=50/50;</P348>
<P20713>0</P20713>
<P1349>0</P1349>
<P349>f1=480,f2=620,c=25/25;</P349>
<P188>0</P188>
<P8392>0</P8392>
<P32005>0</P32005>
<P2353>0</P2353>
<P32006>0</P32006>
<P103>0</P103>
<P2354>1</P2354>
<P8396>0</P8396>
<P20>0</P20>
<P2355>0</P2355>
<P8397>1</P8397>
<P9>192</P9>
<P21>0</P21>
<P8399>4</P8399>
<P22>0</P22>
<P23>0</P23>
<P24>0</P24>
<P25>0</P25>
<P26070>30</P26070>
<P26>0</P26>
<P27>0</P27>
<P28>0</P28>
<P29>0</P29>
<P8031>50</P8031>
<P8032>30</P8032>
<P8033>0</P8033>
<P26076>0</P26076>
<P8034>0</P8034>
<P8035>0</P8035>
<P8037>0</P8037>
<P351>0</P351>
<P2889>0</P2889>
<P191>1</P191>
<P352>XML Service</P352>
<P2765>127</P2765>
<P231>1</P231>
<P1357>0</P1357>
<P32010>0</P32010>
<P32011>0</P32011>
<P198>100</P198>
<P2361>0</P2361>
<P32015>0</P32015>
<P2363>0</P2363>
<P32016>0</P32016>
<P238>0</P238>
<P2489>0</P2489>
<P8443>30</P8443>
<P2365>127</P2365>
<P2366>0</P2366>
<P31>1</P31>
<P22054>0</P22054>
<P32>60</P32>
<P2367>0</P2367>
<P37>2</P37>
<P38>12</P38>
<P39>5004</P39>
<P2895>1</P2895>
<P1485>30</P1485>
<P1487>0</P1487>
<P1363>0</P1363>
<P1364>0</P1364>
<P1365>0</P1365>
<P1526>0</P1526>
<P240>0</P240>
<P1366>0</P1366>
<P1403>1</P1403>
<P2653>0</P2653>
<P32020>0</P32020>
<P1404>1</P1404>
<P2654>1</P2654>
<P32021>0</P32021>
<P2655>0</P2655>
<P1406>0</P1406>
<P2495>1</P2495>
<P244>1500</P244>
<P4428>0</P4428>
<P246>MTZ+6MDT+5,M4.1.0,M11.1.0</P246>
<P1408>1</P1408>
<P32025>0</P32025>
<P122>1</P122>
<P32026>0</P32026>
<P40>5060</P40>
<P22100>0</P22100>
<P8454>0</P8454>
<P21901>5</P21901>
<P22102>0</P22102>
<P129>0</P129>
<P46>2</P46>
<P49>1</P49>
<P1650>1</P1650>
<P8338>1</P8338>
<P1410>1</P1410>
<P1411>0</P1411>
<P250>400</P250>
<P1376>0</P1376>
<P26018>0</P26018>
<P32030>0</P32030>
<P2789>0</P2789>
<P1414>1</P1414>
<P32031>0</P32031>
<P2665>127</P2665>
<P1415>2</P1415>
<P2380>0</P2380>
<P130>0</P130>
<P2382>1</P2382>
<P32035>0</P32035>
<P132>2</P132>
<P7050>0</P7050>
<P1419>0</P1419>
<P32036>0</P32036>
<P2384>0</P2384>
<P258>0</P258>
<P133>1</P133>
<P50>0</P50>
<P9999>0</P9999>
<P7052>1194</P7052>
<P135>0</P135>
<P7053>1</P7053>
<P51>0</P51>
<P52>0</P52>
<P137>0</P137>
<P7055>0</P7055>
<P2388>0</P2388>
<P138>20</P138>
<P2389>0</P2389>
<P2301>0</P2301>
<P139>20</P139>
<P2302>1</P2302>
<P2303>0</P2303>
<P57>0</P57>
<P2304>0</P2304>
<P58>8</P58>
<P8346>0</P8346>
<P59>4</P59>
<P2305>0</P2305>
<P2306>0</P2306>
<P8348>Forward</P8348>
<P7901>0</P7901>
<P1382>0</P1382>
<P2795>1</P2795>
<P1384>0</P1384>
<P1385>0</P1385>
<P260>180</P260>
<P261>90</P261>
<P1387>0</P1387>
<P32040>0</P32040>
<P262>0</P262>
<P32041>0</P32041>
<P263>0</P263>
<P264>0</P264>
<P1301>0</P1301>
<P1426>0</P1426>
<P265>0</P265>
<P1302>0</P1302>
<P266>0</P266>
<P2553>0</P2553>
<P32045>0</P32045>
<P267>1</P267>
<P2554>1</P2554>
<P32046>0</P32046>
<P143>1</P143>
<P2555>0</P2555>
<P60>18</P60>
<P144>1</P144>
<P2395>1</P2395>
<P61>9</P61>
<P145>1</P145>
<P22120>80</P22120>
<P2397>0</P2397>
<P62>98</P62>
<P29610>200</P29610>
<P22121>443</P22121>
<P2398>30</P2398>
<P63>0</P63>
<P2399>3</P2399>
<P148>Grandstream GXP1615</P148>
<P22123>0</P22123>
<P65>0</P65>
<P2311>0</P2311>
<P8353>0</P8353>
<P8354>10</P8354>
<P2313>15</P2313>
<P22126>1</P22126>
<P8355>20</P8355>
<P2319>0</P2319>
<P1555>0</P1555>
<P1558>26</P1558>
<P1433>300</P1433>
<P272>0</P272>
<P1559>46</P1559>
<P1434>200</P1434>
<P1310>0</P1310>
<P1311>0</P1311>
<P1312>0</P1312>
<P276>0</P276>
<P1438>1</P1438>
<P1439>0</P1439>
<P2689>0</P2689>
<P2565>127</P2565>
<P21896>0</P21896>
<P72>1</P72>
<P22131>0</P22131>
<P21898>162</P21898>
<P8362>0</P8362>
<P21899>0</P21899>
<P2323>0</P2323>
<P2324>0</P2324>
<P78>0</P78>
<P79>101</P79>
<P2325>0</P2325>
<P6758>0</P6758>
<P2329>1</P2329>
<P1683>5</P1683>
<P1684>1</P1684>
<P2971>0</P2971>
<P2973>0</P2973>
<P26043>0</P26043>
<P26044>0</P26044>
<P2975>0</P2975>
<P1565>0</P1565>
<P1566>0</P1566>
<P2977>0</P2977>
<P1567>0</P1567>
<P2853>0</P2853>
<P26047>0</P26047>
<P1568>0</P1568>
<P2854>1</P2854>
<P2979>0</P2979>
<P2855>0</P2855>
<P2695>1</P2695>
<P285>1</P285>
<P286>1</P286>
<P4506>0</P4506>
<P288>1</P288>
<P4507>86400</P4507>
<P81>0</P81>
<P2453>0</P2453>
<P8371>0</P8371>
<P2454>1</P2454>
<P84>20</P84>
<P2330>0</P2330>
<P2455>0</P2455>
<P85>4</P85>
<P2331>0</P2331>
<P6763>0</P6763>
<P87>0</P87>
<P208>0</P208>
<P88>0</P88>
<P8376>1</P8376>
<P209>50</P209>
<P2338>0</P2338>
<P2339>0</P2339>
</config>
</gs_provision>
```

@ -63,7 +63,7 @@ nav:
- Телефоны:
- Grandstream:
- Provisioning через TFTP: other/phone/grandstream/provisioning.md
- Пример конфигурации: other/phone/grandstream/example-config.md
- Сеть:
- Mikrotik:
- Wireguard: network/mikrotik/wireguard.md

Loading…
Cancel
Save