Управление сервером через com-порт

Добавить в файл  /etc/default/grub 
следующие строчки (выделены жирным)
$ diff -uprN /etc/default/grub{.org,}
--- /etc/default/grub.org       2016-06-06 18:15:52.523805194 +0900
+++ /etc/default/grub   2016-06-07 02:14:47.402552066 +0900
@@ -2,6 +2,8 @@ GRUB_TIMEOUT=5
 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
 GRUB_DEFAULT=saved
 GRUB_DISABLE_SUBMENU=true
-GRUB_TERMINAL_OUTPUT="console"
-GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet"
+GRUB_TERMINAL="console serial"
+GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
+GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb"
+GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0,115200"
 GRUB_DISABLE_RECOVERY="true"

Затем надо перегенерировать конфиг grub

grub2-mkconfig -o /boot/grub2/grub.cfg

Затем перезапускаем сервер. и можно через com порт подключится к нему.

Скорость 115200

Рубрика: Новости, Общее | Оставить комментарий

Linksys SPA Provisioning или облегчаем себе жизнь при массовой настройке IP-телефонов.

Linksys SPA Provisioning или облегчаем себе жизнь при массовой настройке IP-телефонов.

После недавнего «падения» сервера с Asterisk и его восстановления в логах обнаружил тысячи вот таких строк:
….
[Apr 5 22:28:15] NOTICE[1170] chan_sip.c: Registration from ‘»10/1/65″<sip:10/1/65@95.160.34.175>’ failed for ‘184.82.7.52’ — No matching peer found
[Apr 5 22:28:15] NOTICE[1170] chan_sip.c: Registration from ‘»11/1/65″<sip:11/1/65@95.160.34.175>’ failed for ‘184.82.7.52’ — No matching peer found
[Apr 5 22:28:15] NOTICE[1170] chan_sip.c: Registration from ‘»1346″<sip:1346@95.160.34.175>’ failed for ‘184.82.7.52’ — No matching peer found
[Apr 5 22:28:15] NOTICE[1170] chan_sip.c: Registration from ‘»1347″<sip:1347@95.160.34.175>’ failed for ‘184.82.7.52’ — No matching peer found
….
В секунду ~70 запросов с «левых» ip-адресов. Явный брутфорс стал для меня неприятным сюрпризом, который заставил задуматься о смене простых паролей для sip-клиентов на более сложные. Смена пароля в конфигах Asteriska дело нескольких минут, смена пароля в web-интерфейсе ip-телефона Linksys SPA922 — минута. Но когда этих телефонов около сотни это становится проблемой.

После недолгого гугления нашел информацию о Linksys SPA Provisioning. Что нам это дает? По умолчанию ip-телефоны, поддерживающие provisioning, при загрузке ищут в сети tftp-сервер с конфигурационными файлами вида spa$PSN.cfg и spa$MA.cfg, где $PSN — это модель (в моем случае $PSN=922), а $MA — MAC-адрес телефона. Файл spa$PSN.cfg может содержать как общий конфиг телефона, так и включать пути к другим файлам с конфигурацией. Файл spa$MA.cfg содержит индивидуальную данные телефона, как правило это логин/пароль. Это именно то, что нам нужно для массовой смены паролей. Приступим.

Настройка

ОС — Ubuntu 10.04 Server.

Устанавливаем tftp-сервер:

$ sudo apt-get install atftp atftpd

Правим настройки:

$ sudo mcedit /etc/default/atftpd
USE_INETD=true
OPTIONS=»—tftpd-timeout 300 —retry-timeout 5 —mcast-port 1758 —mcast-addr 239.239.239.0-255 —mcast-ttl 1 —maxthread 100 —verbose=5 /srv/tftp»

меняем на

USE_INETD=false
OPTIONS=»—daemon —tftpd-timeout 300 —retry-timeout 5 —mcast-port 1758 —mcast-addr 239.239.239.0-255 —mcast-ttl 1 —maxthread 100 —verbose=5 —logfile=/var/log/atftp.log /var/tftp»

Выполняем команду:

$ sudo invoke-rc.d atftpd start

Создаем папку и меняем права:

$ sudo mkdir /var/tftp
$ sudo chmod -R 777 /var/tftp
$ sudo chown -R nobody /var/tftp

Создаем файл для ведения логов:

$ sudo touch /var/log/atftp.log

Перезапускаем tftp-сервер:

$ sudo /etc/init.d/atftpd restart

Примечание: у меня после этого сервер не запустился, в логах увидел ошибку atftpd: can’t bind port :69/udp.
69 порт, по-умолчанию используемый tftp, занят.
Освободим его:

$ sudo /etc/init.d/openbsd-inetd stop
$ sudo invoke-rc.d atftpd restart

Проверяем:

$ ps -e | grep atftp
886 ? 00:00:02 atftpd

Настраиваем DHCP-сервер, всего лишь добавляем строчку:

$ sudo mcedit /etc/dhcp3/dhcpd.conf
….
subnet 192.168.0.0 netmask 255.255.255.0 {
….
option tftp-server-name «192.168.1.200»;
….;
}

Перезапускаем:

$ sudo /etc/init.d/dhcpd restart

$ sudo mcedit /var/tftp/sip922.cfg
<flat-profile>
<Profile_Rule ua=»na»>/linksys/spa.cfg</Profile_Rule>
<Profile_Rule_B ua=»na»>/linksys/spa$MA.cfg</Profile_Rule_B>
<Resync_Periodic ua=»na»>30</Resync_Periodic>
</flat-profile>

Создаем главный конфигурационный файл с таким содержимым:

Создаем папку для всех остальных файлов:

$ sudo mkdir /var/tftp/linksys
$ sudo chmod -R 777 /var/tftp/linksys
$ sudo chown -R nobody /var/tftp/linksys

Раз уж делаем глобальное обновление, то скачаем заодно и новую прошивку для телефонов:

$ cd /var/tftp/linksys
$ wget http://download.cisco.com/swc/esd/03/282414121/anon/SPA942_6.1.5a.zip
$ 7z x SPA942_6.1.5a.zip

Создаем конфигурационный файл c глобальными настройками для ip-телефонов:

$ sudo mcedit /var/tftp/linksys/spa4all.cfg

<flat-profile>
<Upgrade_Rule>/linksys/spa942-6-1-5a.bin</Upgrade_Rule>
<Upgrade_Enable>Yes</Upgrade_Enable>
<Resync_Periodic ua=»na»>3600</Resync_Periodic>
<Voice_Mail_Number ua=»na»>8500#</Voice_Mail_Number>
<Primary_NTP_Server ua=»na»>time.etg.local</Primary_NTP_Server>
<Time_Zone ua=»na»>GMT+04:00</Time_Zone>
<Time_Format ua=»na»>24hr</Time_Format>
<Date_Format ua=»na»>day/month</Date_Format>
<Select_Logo ua=»na»>None</Select_Logo>
<Select_Background_Picture ua=»na»>None</Select_Background_Picture>
<BMP_Picture_Download_URL ua=»na»></BMP_Picture_Download_URL>
<Text_Logo ua=»na»>ETech</Text_Logo>
<Screen_Saver_Enable ua=»na»>No</Screen_Saver_Enable>
<Screen_Saver_Wait ua=»na»>300</Screen_Saver_Wait>
<Screen_Saver_Icon ua=»na»>Phone</Screen_Saver_Icon>
</flat-profile>

Для создания файлов с индивидуальными для каждого телефона настройками я воспользовался скриптом, найденным на просторах интернета. Спасибо автору этой статьи. Скрипт немного переделал под себя:

$ cat /var/tftp/createprov.sh

!/bin/bash

first=flat-profile
second=GPP_A
third=Display_Name_1_
forth=User_ID_1_
fifth=Password_1_
sixth=Proxy_1_
general=’ua=»na»‘

Sample File to parse

IpAddress Mac_Address Sip Server Last First Name Username Password

192.168.4.1 00065B8C1E2C 192.168.4.1 Tsakalos Stratis 314 314

192.168.4.5 00065B8C1E2D 192.168.4.1 Test User 255 255

while read line

do
input[$i]=$line;
i=$(( $i + 1 ))

ip_address=`echo $line|cut -d’;’ -f1`
mac_address=`echo $line|cut -d’;’ -f2 | tr «[:upper:]» «[:lower:]»`
proxy=`echo $line|cut -d’;’ -f3`
display=`echo $line|cut -d’;’ -f4`
number=`echo $line|cut -d’;’ -f5`
password=`echo $line|cut -d’;’ -f6`

echo «<$first>» > linksys/spa$mac_address.cfg
echo «<$second>$ip_address</$second>» >> linksys/spa$mac_address.cfg
echo «<$sixth $general>$proxy</$seventh>» >> linksys/spa$mac_address.cfg
echo «<$third $general>$display</$forth>» >> linksys/spa$mac_address.cfg
echo «<$forth $general>$number</$fifth>» >> linksys/spa$mac_address.cfg
echo «<$fifth $general>$password</$sixth>» >> linksys/spa$mac_address.cfg
echo «</$first>» >> linksys/spa$mac_address.cfg
done < sipusers.csv

Этот скрипт берет данные из файла sipusers.csv и создает конфиги вида spa000e08de401a.cfg для каждого телефона.
Теперь необходимо собрать MAC-адреса телефонов с привязкой к номеру.
Делаем скрипт исполняемым:

$ chmod +x /var/tftp/createprov.sh

Конфигурацию телефона можно посмотреть по адресу phone_ip_address/admin/spacfg.xml. Там можно увидеть и MAC-адрес и номер телефона, но бегать по айпишникам очень скучно, поэтому запустим пару команд:

$ cd /var/tftp/linksys/
$ wget —tries=1 http://192.168.0.{1..254}/admin/spacfg.xml

Этой командой мы скачали конфиги всех зарегистрированных в сети телефонов.
Получился список файлов:

$ ls -l /var/tftp/linksys/
итого 1268
-rw-r—r— 1 nobody nogroup 780 2011-04-14 14:12 spa4all.cfg
-rw-r—r— 1 root root 248 2011-04-13 18:32 spa000e08de401a.cfg
-rw-r—r— 1 root root 250 2011-04-13 18:32 spa000e08de401b.cfg
-rw-r—r— 1 root root 236 2011-04-13 18:32 spa000e08de401c.cfg
-rw-r—r— 1 root root 244 2011-04-13 18:32 spa000e08de401d.cfg
-rw-r—r— 1 root root 244 2011-04-13 18:32 spa000e08de401e.cfg
….

$ egrep ‘MAC_Address|<User_ID_1’ spacfg.xml* >> MAC.txt

Этой командой сделали выборку по MAC-адресу и номеру телефона:

$ cat /var/tftp/linksys/MAC
spacfg.xml:<MAC_Address group=»Info/Product_Information»>000E08DE401A</MAC_Address>
spacfg.xml:<User_ID_1_ group=»Ext_1/Subscriber_Information»>101</User_ID_1_>
spacfg.xml.1:<MAC_Address group=»Info/Product_Information»>000E08DE401B</MAC_Address>
spacfg.xml.1:<User_ID_1_ group=»Ext_1/Subscriber_Information»>102</User_ID_1_>
spacfg.xml.10:<MAC_Address group=»Info/Product_Information»>000E08DE401C</MAC_Address>
spacfg.xml.10:<User_ID_1_ group=»Ext_1/Subscriber_Information»>103</User_ID_1_>
spacfg.xml.11:<MAC_Address group=»Info/Product_Information»>000E08DE401D</MAC_Address>
spacfg.xml.11:<User_ID_1_ group=»Ext_1/Subscriber_Information»>104</User_ID_1_>
spacfg.xml.12:<MAC_Address group=»Info/Product_Information»>000E08DE4001E</MAC_Address>
….

После нехитрых манипуляций в LibreOffice Calc файл MAC.txt привели к такому виду (создали новый файл sipusers.csv):

$ cat /var/tftp/sipusers.csv
192.168.1.200;000e08de401a;192.168.1.200;Maksim Petrov;101;CJIO}I{HbIu’napoJIb
192.168.1.200;000e08de401b;192.168.1.200;Nikolay Veselov;102;CJIO}I{HbIu’napoJIb
192.168.1.200;000e08de401c;192.168.1.200;Galina Fedorova;103;CJIO}I{HbIu’napoJIb
192.168.1.200;000e08de401d;192.168.1.200;Ludmila Sokolova;104;CJIO}I{HbIu’napoJIb
192.168.1.200;000e08de401e;192.168.1.200;Chiya Chiyo;105;CJI0}I{HbIu’napoJIb
….

Что есть что понятно из примечания в скрипте createprov.sh:

Sample File to parse

IpAddress Mac_Address Sip Server Last First Name Username Password

192.168.4.1 00065B8C1E2C 192.168.4.1 Tsakalos Stratis 314 314

192.168.4.5 00065B8C1E2D 192.168.4.1 Test User 255 255

Запускаем createprov.sh на выполнение:

$ ./createprov.sh

Смотрим результат:

$ ls -l /var/tftp/
итого 20
-rwxr-xr-x 1 nobody nogroup 1413 2011-04-13 18:32 createprov.sh
drwxrwxrwx 3 nobody nogroup 4096 2011-04-14 14:12 linksys
-rw-r—r— 1 root root 5454 2011-04-13 18:04 sipusers.csv
-rw-r—r— 1 nobody nogroup 240 2011-04-13 10:50 spa922.cfg

$ ls -l /var/tftp/linksys/
итого 1268
-rwxrwxrwx 1 nobody nogroup 814 2010-01-15 10:47 logo.bmp
-rw-r—r— 1 nobody nogroup 780 2011-04-14 14:12 spa4all.cfg
-rw-r—r— 1 root root 12835 2011-04-13 17:18 MAC.txt
-rw-r—r— 1 root root 248 2011-04-13 18:32 spa000e08de401a.cfg
-rw-r—r— 1 root root 250 2011-04-13 18:32 spa000e08de401b.cfg
-rw-r—r— 1 root root 236 2011-04-13 18:32 spa000e08de401c.cfg
-rw-r—r— 1 root root 244 2011-04-13 18:32 spa000e08de401d.cfg
-rw-r—r— 1 root root 244 2011-04-13 18:32 spa000e08de401e.cfg

Рубрика: Новости, Общее | Оставить комментарий

Загрузка своих мелодий вызовов

http://blog.5flor.ru/wp-content/uploads/2019/06/22450-ringtone.zip

Требования к файлу:

pcm

44100

60000ms

Рубрика: Общее | Оставить комментарий

Пример конфиг файла для телефонов Cisco SPA XXX

как вариант /admin/spacfg.xml

<?xml version=»1.0″ encoding=»utf-8″?> <flat-profile> <!— System Configuration —> <Restricted_Access_Domains ua=»na»></Restricted_Access_Domains> <Enable_Web_Server ua=»na»>Yes</Enable_Web_Server> <Web_Server_Port ua=»na»>80</Web_Server_Port> <Enable_Web_Admin_Access ua=»na»>Yes</Enable_Web_Admin_Access> <Admin_Passwd ua=»na»>{$admin_password}</Admin_Passwd> <User_Password ua=»rw»>{$user_password}</User_Password> <Signaling_Protocol ua=»na»>SIP</Signaling_Protocol> <!— options: SIP/SPCP —> <SPCP_Auto-detect ua=»na»>Yes</SPCP_Auto-detect> <Phone-UI-readonly ua=»na»>No</Phone-UI-readonly> <Phone-UI-user-mode ua=»na»>No</Phone-UI-user-mode> <!— Optional Network Configuration —> <Syslog_Server group=»System/Optional_Network_Configuration» /> <Debug_Server group=»System/Optional_Network_Configuration» /> <Debug_Level group=»System/Optional_Network_Configuration»>0</Debug_Level> <Primary_NTP_Server group=»System/Optional_Network_Configuration»>pool.ntp.org</Primary_NTP_Server> <Secondary_NTP_Server group=»System/Optional_Network_Configuration» /> <Enable_VLAN group=»System/VLAN_Settings»>No</Enable_VLAN> <Enable_CDP group=»System/VLAN_Settings»>Yes</Enable_CDP> <VLAN_ID group=»System/VLAN_Settings»>1</VLAN_ID> <PC_Port_VLAN_Highest_Priority group=»System/VLAN_Settings»>No Limit</PC_Port_VLAN_Highest_Priority> <Enable_PC_Port_VLAN_Tagging group=»System/VLAN_Settings»>No</Enable_PC_Port_VLAN_Tagging> <PC_Port_VLAN_ID group=»System/VLAN_Settings»>1</PC_Port_VLAN_ID> <Max_Forward group=»SIP/SIP_Parameters»>70</Max_Forward> <Max_Redirection group=»SIP/SIP_Parameters»>5</Max_Redirection> <Max_Auth group=»SIP/SIP_Parameters»>2</Max_Auth> <SIP_User_Agent_Name group=»SIP/SIP_Parameters»>$VERSION</SIP_User_Agent_Name> <SIP_Server_Name group=»SIP/SIP_Parameters»>$VERSION</SIP_Server_Name> <SIP_Reg_User_Agent_Name group=»SIP/SIP_Parameters» /> <SIP_Accept_Language group=»SIP/SIP_Parameters» /> <DTMF_Relay_MIME_Type group=»SIP/SIP_Parameters»>application/dtmf-relay</DTMF_Relay_MIME_Type> <Remove_Last_Reg group=»SIP/SIP_Parameters»>No</Remove_Last_Reg> <Use_Compact_Header group=»SIP/SIP_Parameters»>No</Use_Compact_Header> <Escape_Display_Name group=»SIP/SIP_Parameters»>No</Escape_Display_Name> <SIP-B_Enable group=»SIP/SIP_Parameters»>No</SIP-B_Enable> <Talk_Package group=»SIP/SIP_Parameters»>No</Talk_Package> <Hold_Package group=»SIP/SIP_Parameters»>No</Hold_Package> <Conference_Package group=»SIP/SIP_Parameters»>No</Conference_Package> <Notify_Conference group=»SIP/SIP_Parameters»>No</Notify_Conference> <RFC_2543_Call_Hold group=»SIP/SIP_Parameters»>Yes</RFC_2543_Call_Hold> <Random_REG_CID_On_Reboot group=»SIP/SIP_Parameters»>No</Random_REG_CID_On_Reboot> <Mark_All_AVT_Packets group=»SIP/SIP_Parameters»>Yes</Mark_All_AVT_Packets> <SIP_TCP_Port_Min group=»SIP/SIP_Parameters»>5060</SIP_TCP_Port_Min> <SIP_TCP_Port_Max group=»SIP/SIP_Parameters»>5080</SIP_TCP_Port_Max> <CTI_Enable group=»SIP/SIP_Parameters»>No</CTI_Enable> <Caller_ID_Header group=»SIP/SIP_Parameters»>PAID-RPID-FROM</Caller_ID_Header> <SRTP_Method group=»SIP/SIP_Parameters»>x-sipura</SRTP_Method> <Hold_Target_Before_REFER group=»SIP/SIP_Parameters»>No</Hold_Target_Before_REFER> <SIP_T1 group=»SIP/SIP_Timer_Values__sec_»>.5</SIP_T1> <SIP_T2 group=»SIP/SIP_Timer_Values__sec_»>4</SIP_T2> <SIP_T4 group=»SIP/SIP_Timer_Values__sec_»>5</SIP_T4> <SIP_Timer_B group=»SIP/SIP_Timer_Values__sec_»>16</SIP_Timer_B> <SIP_Timer_F group=»SIP/SIP_Timer_Values__sec_»>16</SIP_Timer_F> <SIP_Timer_H group=»SIP/SIP_Timer_Values__sec_»>16</SIP_Timer_H> <SIP_Timer_D group=»SIP/SIP_Timer_Values__sec_»>16</SIP_Timer_D> <SIP_Timer_J group=»SIP/SIP_Timer_Values__sec_»>16</SIP_Timer_J> <INVITE_Expires group=»SIP/SIP_Timer_Values__sec_»>240</INVITE_Expires> <ReINVITE_Expires group=»SIP/SIP_Timer_Values__sec_»>30</ReINVITE_Expires> <Reg_Min_Expires group=»SIP/SIP_Timer_Values__sec_»>1</Reg_Min_Expires> <Reg_Max_Expires group=»SIP/SIP_Timer_Values__sec_»>7200</Reg_Max_Expires> <Reg_Retry_Intvl group=»SIP/SIP_Timer_Values__sec_»>30</Reg_Retry_Intvl> <Reg_Retry_Long_Intvl group=»SIP/SIP_Timer_Values__sec_»>1200</Reg_Retry_Long_Intvl> <Reg_Retry_Random_Delay group=»SIP/SIP_Timer_Values__sec_» /> <Reg_Retry_Long_Random_Delay group=»SIP/SIP_Timer_Values__sec_» /> <Reg_Retry_Intvl_Cap group=»SIP/SIP_Timer_Values__sec_» /> <Sub_Min_Expires group=»SIP/SIP_Timer_Values__sec_»>10</Sub_Min_Expires> <Sub_Max_Expires group=»SIP/SIP_Timer_Values__sec_»>7200</Sub_Max_Expires> <Sub_Retry_Intvl group=»SIP/SIP_Timer_Values__sec_»>10</Sub_Retry_Intvl> <SIT1_RSC group=»SIP/Response_Status_Code_Handling» /> <SIT2_RSC group=»SIP/Response_Status_Code_Handling» /> <SIT3_RSC group=»SIP/Response_Status_Code_Handling» /> <SIT4_RSC group=»SIP/Response_Status_Code_Handling» /> <Try_Backup_RSC group=»SIP/Response_Status_Code_Handling» /> <Retry_Reg_RSC group=»SIP/Response_Status_Code_Handling» /> <RTP_Port_Min group=»SIP/RTP_Parameters»>16384</RTP_Port_Min> <RTP_Port_Max group=»SIP/RTP_Parameters»>16538</RTP_Port_Max> <RTP_Packet_Size group=»SIP/RTP_Parameters»>0.020</RTP_Packet_Size> <Max_RTP_ICMP_Err group=»SIP/RTP_Parameters»>0</Max_RTP_ICMP_Err> <RTCP_Tx_Interval group=»SIP/RTP_Parameters»>0</RTCP_Tx_Interval> <No_UDP_Checksum group=»SIP/RTP_Parameters»>No</No_UDP_Checksum> <Symmetric_RTP group=»SIP/RTP_Parameters»>No</Symmetric_RTP> <Stats_In_BYE group=»SIP/RTP_Parameters»>No</Stats_In_BYE> <AVT_Dynamic_Payload group=»SIP/SDP_Payload_Types»>101</AVT_Dynamic_Payload> <INFOREQ_Dynamic_Payload group=»SIP/SDP_Payload_Types» /> <G726r16_Dynamic_Payload group=»SIP/SDP_Payload_Types»>98</G726r16_Dynamic_Payload> <G726r24_Dynamic_Payload group=»SIP/SDP_Payload_Types»>97</G726r24_Dynamic_Payload> <G726r32_Dynamic_Payload group=»SIP/SDP_Payload_Types»>2</G726r32_Dynamic_Payload> <G726r40_Dynamic_Payload group=»SIP/SDP_Payload_Types»>96</G726r40_Dynamic_Payload> <G729b_Dynamic_Payload group=»SIP/SDP_Payload_Types»>99</G729b_Dynamic_Payload> <EncapRTP_Dynamic_Payload group=»SIP/SDP_Payload_Types»>112</EncapRTP_Dynamic_Payload> <RTP-Start-Loopback_Dynamic_Payload group=»SIP/SDP_Payload_Types»>113</RTP-Start-Loopback_Dynamic_Payload> <RTP-Start-Loopback_Codec group=»SIP/SDP_Payload_Types»>G711u</RTP-Start-Loopback_Codec> <AVT_Codec_Name group=»SIP/SDP_Payload_Types»>telephone-event</AVT_Codec_Name> <G711u_Codec_Name group=»SIP/SDP_Payload_Types»>PCMU</G711u_Codec_Name> <G711a_Codec_Name group=»SIP/SDP_Payload_Types»>PCMA</G711a_Codec_Name> <G726r16_Codec_Name group=»SIP/SDP_Payload_Types»>G726-16</G726r16_Codec_Name> <G726r24_Codec_Name group=»SIP/SDP_Payload_Types»>G726-24</G726r24_Codec_Name> <G726r32_Codec_Name group=»SIP/SDP_Payload_Types»>G726-32</G726r32_Codec_Name> <G726r40_Codec_Name group=»SIP/SDP_Payload_Types»>G726-40</G726r40_Codec_Name> <G729a_Codec_Name group=»SIP/SDP_Payload_Types»>G729a</G729a_Codec_Name> <G729b_Codec_Name group=»SIP/SDP_Payload_Types»>G729ab</G729b_Codec_Name> <G722_Codec_Name group=»SIP/SDP_Payload_Types»>G722</G722_Codec_Name> <EncapRTP_Codec_Name group=»SIP/SDP_Payload_Types»>encaprtp</EncapRTP_Codec_Name> <Handle_VIA_received group=»SIP/NAT_Support_Parameters»>{$cisco_spa_rport}</Handle_VIA_received> <Handle_VIA_rport group=»SIP/NAT_Support_Parameters»>{$cisco_spa_rport}</Handle_VIA_rport> <Insert_VIA_received group=»SIP/NAT_Support_Parameters»>{$cisco_spa_rport}</Insert_VIA_received> <Insert_VIA_rport group=»SIP/NAT_Support_Parameters»>{$cisco_spa_rport}</Insert_VIA_rport> <Substitute_VIA_Addr group=»SIP/NAT_Support_Parameters»>{$cisco_spa_rport}</Substitute_VIA_Addr> <Send_Resp_To_Src_Port group=»SIP/NAT_Support_Parameters»>{$cisco_spa_rport}</Send_Resp_To_Src_Port> <STUN_Enable group=»SIP/NAT_Support_Parameters»>No</STUN_Enable> <STUN_Test_Enable group=»SIP/NAT_Support_Parameters»>No</STUN_Test_Enable> <STUN_Server group=»SIP/NAT_Support_Parameters» /> <EXT_IP group=»SIP/NAT_Support_Parameters» /> <EXT_RTP_Port_Min group=»SIP/NAT_Support_Parameters» /> <NAT_Keep_Alive_Intvl group=»SIP/NAT_Support_Parameters»>15</NAT_Keep_Alive_Intvl> <Linksys_Key_System group=»SIP/Linksys_Key_System_Parameters»>No</Linksys_Key_System> <Force_LAN_Codec group=»SIP/Linksys_Key_System_Parameters»>none</Force_LAN_Codec> <Provision_Enable group=»Provisioning/Configuration_Profile»>Yes</Provision_Enable> <Resync_On_Reset group=»Provisioning/Configuration_Profile»>Yes</Resync_On_Reset> <Resync_Random_Delay group=»Provisioning/Configuration_Profile»>2</Resync_Random_Delay> <Resync_Periodic group=»Provisioning/Configuration_Profile»>0</Resync_Periodic> <Resync_Error_Retry_Delay group=»Provisioning/Configuration_Profile»>3600</Resync_Error_Retry_Delay> <Forced_Resync_Delay group=»Provisioning/Configuration_Profile»>14400</Forced_Resync_Delay> <Resync_From_SIP group=»Provisioning/Configuration_Profile»>Yes</Resync_From_SIP> <Resync_After_Upgrade_Attempt group=»Provisioning/Configuration_Profile»>Yes</Resync_After_Upgrade_Attempt> <Resync_Trigger_1 group=»Provisioning/Configuration_Profile» /> <Resync_Trigger_2 group=»Provisioning/Configuration_Profile» /> <Resync_Fails_On_FNF group=»Provisioning/Configuration_Profile»>Yes</Resync_Fails_On_FNF> <Profile_Rule group=»Provisioning/Configuration_Profile»>http://{$domain_name}{$project_path}/app/provision/?mac=$MA</Profile_Rule> <Profile_Rule_B group=»Provisioning/Configuration_Profile» /> <Profile_Rule_C group=»Provisioning/Configuration_Profile» /> <Profile_Rule_D group=»Provisioning/Configuration_Profile» /> <Log_Resync_Request_Msg group=»Provisioning/Configuration_Profile»>$PN $MAC — Requesting resync $SCHEME://$SERVIP:$PORT$PATH</Log_Resync_Request_Msg> <Log_Resync_Success_Msg group=»Provisioning/Configuration_Profile»>$PN $MAC — Successful resync $SCHEME://$SERVIP:$PORT$PATH</Log_Resync_Success_Msg> <Log_Resync_Failure_Msg group=»Provisioning/Configuration_Profile»>$PN $MAC — Resync failed: $ERR</Log_Resync_Failure_Msg> <Report_Rule group=»Provisioning/Configuration_Profile» /> <User_Configurable_Resync group=»Provisioning/Configuration_Profile»>No</User_Configurable_Resync> <Upgrade_Enable group=»Provisioning/Firmware_Upgrade»>Yes</Upgrade_Enable> <Upgrade_Error_Retry_Delay group=»Provisioning/Firmware_Upgrade»>3600</Upgrade_Error_Retry_Delay> <Downgrade_Rev_Limit group=»Provisioning/Firmware_Upgrade» /> <Upgrade_Rule group=»Provisioning/Firmware_Upgrade»>{$cisco_spa50x_firmware_rule}</Upgrade_Rule> <Log_Upgrade_Request_Msg group=»Provisioning/Firmware_Upgrade»>$PN $MAC — Requesting upgrade $SCHEME://$SERVIP:$PORT$PATH</Log_Upgrade_Request_Msg> <Log_Upgrade_Success_Msg group=»Provisioning/Firmware_Upgrade»>$PN $MAC — Successful upgrade $SCHEME://$SERVIP:$PORT$PATH — $ERR</Log_Upgrade_Success_Msg> <Log_Upgrade_Failure_Msg group=»Provisioning/Firmware_Upgrade»>$PN $MAC — Upgrade failed: $ERR</Log_Upgrade_Failure_Msg> <License_Keys group=»Provisioning/Firmware_Upgrade» /> <GPP_A group=»Provisioning/General_Purpose_Parameters» /> <GPP_B group=»Provisioning/General_Purpose_Parameters» /> <GPP_C group=»Provisioning/General_Purpose_Parameters» /> <GPP_D group=»Provisioning/General_Purpose_Parameters» /> <GPP_E group=»Provisioning/General_Purpose_Parameters» /> <GPP_F group=»Provisioning/General_Purpose_Parameters» /> <GPP_G group=»Provisioning/General_Purpose_Parameters» /> <GPP_H group=»Provisioning/General_Purpose_Parameters» /> <GPP_I group=»Provisioning/General_Purpose_Parameters» /> <GPP_J group=»Provisioning/General_Purpose_Parameters» /> <GPP_K group=»Provisioning/General_Purpose_Parameters» /> <GPP_L group=»Provisioning/General_Purpose_Parameters» /> <GPP_M group=»Provisioning/General_Purpose_Parameters» /> <GPP_N group=»Provisioning/General_Purpose_Parameters» /> <GPP_O group=»Provisioning/General_Purpose_Parameters» /> <GPP_P group=»Provisioning/General_Purpose_Parameters» /> <Time_Zone group=»Regional/Miscellaneous»>{$spa_time_zone}</Time_Zone> <Time_Offset__HH_mm_ group=»Regional/Miscellaneous» /> <Daylight_Saving_Time_Rule group=»Regional/Miscellaneous» /> <Daylight_Saving_Time_Enable group=»Regional/Miscellaneous»>No</Daylight_Saving_Time_Enable> <Station_Name group=»Phone/General»>{$display_name_1}</Station_Name> <Voice_Mail_Number group=»Phone/General»>{$voicemail_number}</Voice_Mail_Number> <Text_Logo group=»Phone/General» /> <BMP_Picture_Download_URL group=»Phone/General» /> <Select_Logo group=»Phone/General»>Default</Select_Logo> <Select_Background_Picture group=»Phone/General»>None</Select_Background_Picture> <Screen_Saver_Enable group=»Phone/General»>No</Screen_Saver_Enable> <Screen_Saver_Wait group=»Phone/General»>300</Screen_Saver_Wait> <Screen_Saver_Icon group=»Phone/General»>Background Picture</Screen_Saver_Icon> {foreach $keys as $row} {if $row.device_key_category == «line»} {if $row.device_key_type == «line»} <!— Phone/Line_Key_{$row.device_key_id} —> <Extension_{$row.device_key_id}_ group=»Phone/Line_Key_{$row.device_key_id}»>{$row.device_key_value}</Extension_{$row.device_key_id}_> <!— options: 1/2/3/4/5/6/7/8/9/10/11/12/Disabled —> <Short_Name_{$row.device_key_id}_ group=»Phone/Line_Key_{$row.device_key_id}»>{$row.device_key_label}</Short_Name_{$row.device_key_id}_> <Share_Call_Appearance_{$row.device_key_id}_ group=»Phone/Line_Key_{$row.device_key_id}»>{if $row.device_key_extension == «shared»}shared{else}private{/if}</Share_Call_Appearance_{$row.device_key_id}_> <!— options: private/shared —> <Extended_Function_{$row.device_key_id}_ group=»Phone/Line_Key_{$row.device_key_id}»/> {else} <Extension_{$row.device_key_id}_ group=»Phone/Line_Key_{$row.device_key_id}»>Disabled</Extension_{$row.device_key_id}_> <!— options: 1/2/3/4/5/6/7/8/9/10/11/12/Disabled —> <Short_Name_{$row.device_key_id}_ group=»Phone/Line_Key_{$row.device_key_id}»>{$row.device_key_label}</Short_Name_{$row.device_key_id}_> <Share_Call_Appearance_{$row.device_key_id}_ group=»Phone/Line_Key_{$row.device_key_id}»>private</Share_Call_Appearance_{$row.device_key_id}_> <!— options: private/shared —> <Extended_Function_{$row.device_key_id}_ group=»Phone/Line_Key_{$row.device_key_id}»>{$row.device_key_value}</Extended_Function_{$row.device_key_id}_> {/if} {/if} {/foreach} <SCA_Line_ID_Mapping group=»Phone/Miscellaneous_Line_Key_Settings»>Vertical First</SCA_Line_ID_Mapping> <SCA_Barge-In_Enable group=»Phone/Miscellaneous_Line_Key_Settings»>No</SCA_Barge-In_Enable> <Idle_LED group=»Phone/Line_Key_LED_Pattern» /> <Remote_Undefined_LED group=»Phone/Line_Key_LED_Pattern» /> <Local_Seized_LED group=»Phone/Line_Key_LED_Pattern» /> <Remote_Seized_LED group=»Phone/Line_Key_LED_Pattern» /> <Local_Progressing_LED group=»Phone/Line_Key_LED_Pattern» /> <Remote_Progressing_LED group=»Phone/Line_Key_LED_Pattern» /> <Local_Ringing_LED group=»Phone/Line_Key_LED_Pattern» /> <Remote_Ringing_LED group=»Phone/Line_Key_LED_Pattern» /> <Local_Active_LED group=»Phone/Line_Key_LED_Pattern» /> <Remote_Active_LED group=»Phone/Line_Key_LED_Pattern» /> <Local_Held_LED group=»Phone/Line_Key_LED_Pattern» /> <Remote_Held_LED group=»Phone/Line_Key_LED_Pattern» /> <Register_Failed_LED group=»Phone/Line_Key_LED_Pattern» /> <Disabled_LED group=»Phone/Line_Key_LED_Pattern» /> <Registering_LED group=»Phone/Line_Key_LED_Pattern» /> <Call_Back_Active_LED group=»Phone/Line_Key_LED_Pattern» /> <Conference_Serv group=»Phone/Supplementary_Services»>Yes</Conference_Serv> <Attn_Transfer_Serv group=»Phone/Supplementary_Services»>Yes</Attn_Transfer_Serv> <Blind_Transfer_Serv group=»Phone/Supplementary_Services»>Yes</Blind_Transfer_Serv> <DND_Serv group=»Phone/Supplementary_Services»>Yes</DND_Serv> <Block_ANC_Serv group=»Phone/Supplementary_Services»>Yes</Block_ANC_Serv> <Call_Back_Serv group=»Phone/Supplementary_Services»>Yes</Call_Back_Serv> <Block_CID_Serv group=»Phone/Supplementary_Services»>Yes</Block_CID_Serv> <Secure_Call_Serv group=»Phone/Supplementary_Services»>Yes</Secure_Call_Serv> <Cfwd_All_Serv group=»Phone/Supplementary_Services»>Yes</Cfwd_All_Serv> <Cfwd_Busy_Serv group=»Phone/Supplementary_Services»>Yes</Cfwd_Busy_Serv> <Cfwd_No_Ans_Serv group=»Phone/Supplementary_Services»>Yes</Cfwd_No_Ans_Serv> <Paging_Serv group=»Phone/Supplementary_Services»>Yes</Paging_Serv> <Call_Park_Serv group=»Phone/Supplementary_Services»>Yes</Call_Park_Serv> <Call_Pick_Up_Serv group=»Phone/Supplementary_Services»>Yes</Call_Pick_Up_Serv> <ACD_Login_Serv group=»Phone/Supplementary_Services»>No</ACD_Login_Serv> <Group_Call_Pick_Up_Serv group=»Phone/Supplementary_Services»>Yes</Group_Call_Pick_Up_Serv> <ACD_Ext group=»Phone/Supplementary_Services»>1</ACD_Ext> <Service_Annc_Serv group=»Phone/Supplementary_Services»>No</Service_Annc_Serv> <Ring1 group=»Phone/Ring_Tone»>n=Classic-1;w=3;c=1</Ring1> <Ring2 group=»Phone/Ring_Tone»>n=Classic-2;w=3;c=2</Ring2> <Ring3 group=»Phone/Ring_Tone»>n=Classic-3;w=3;c=3</Ring3> <Ring4 group=»Phone/Ring_Tone»>n=Classic-4;w=3;c=4</Ring4> <Ring5 group=»Phone/Ring_Tone»>n=Simple-1;w=2;c=1</Ring5> <Ring6 group=»Phone/Ring_Tone»>n=Simple-2;w=2;c=2</Ring6> <Ring7 group=»Phone/Ring_Tone»>n=Simple-3;w=2;c=3</Ring7> <Ring8 group=»Phone/Ring_Tone»>n=Simple-4;w=2;c=4</Ring8> <Ring9 group=»Phone/Ring_Tone»>n=Simple-5;w=2;c=5</Ring9> <Ring10 group=»Phone/Ring_Tone»>n=Office;w=4;c=1</Ring10> <Handset_Input_Gain group=»Phone/Audio_Input_Gain__dB_»>0</Handset_Input_Gain> <Headset_Input_Gain group=»Phone/Audio_Input_Gain__dB_»>0</Headset_Input_Gain> <Speakerphone_Input_Gain group=»Phone/Audio_Input_Gain__dB_»>0</Speakerphone_Input_Gain> <Handset_Additional_Input_Gain group=»Phone/Audio_Input_Gain__dB_»>0</Handset_Additional_Input_Gain> <Headset_Additional_Input_Gain group=»Phone/Audio_Input_Gain__dB_»>0</Headset_Additional_Input_Gain> <Speakerphone_Additional_Input_Gain group=»Phone/Audio_Input_Gain__dB_»>0</Speakerphone_Additional_Input_Gain> <LDAP_Dir_Enable group=»Phone/LDAP_Corporate_Directory_Search»>No</LDAP_Dir_Enable> <LDAP_Corp_Dir_Name group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Server group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Auth_Method group=»Phone/LDAP_Corporate_Directory_Search»>None</LDAP_Auth_Method> <LDAP_Client_DN group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Username group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Password group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Search_Base group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Last_Name_Filter group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_First_Name_Filter group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Search_Item_3 group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Item_3_Filter group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Search_Item_4 group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_item_4_Filter group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Display_Attrs group=»Phone/LDAP_Corporate_Directory_Search» /> <LDAP_Number_Mapping group=»Phone/LDAP_Corporate_Directory_Search» /> <EM_Enable group=»Phone/Extension_Mobility»>No</EM_Enable> <EM_User_Domain group=»Phone/Extension_Mobility» /> <Line_Enable_1_ group=»Ext_1/General»>Yes</Line_Enable_1_> {foreach $keys as $row} {if $row.device_key_category == «line»} {if $row.device_key_type == «line»} <Share_Ext_1_ group=»Ext_1/Share_Line_Appearance»>{if $row.device_key_extension == «shared»}shared{else}private{/if}</Share_Ext_1_> {/if} {/if} {/foreach} <Shared_User_ID_1_ group=»Ext_1/Share_Line_Appearance» /> <Subscription_Expires_1_ group=»Ext_1/Share_Line_Appearance»>3600</Subscription_Expires_1_> <NAT_Mapping_Enable_1_ group=»Ext_1/NAT_Settings»>No</NAT_Mapping_Enable_1_> <NAT_Keep_Alive_Enable_1_ group=»Ext_1/NAT_Settings»>No</NAT_Keep_Alive_Enable_1_> <NAT_Keep_Alive_Msg_1_ group=»Ext_1/NAT_Settings»>$NOTIFY</NAT_Keep_Alive_Msg_1_> <NAT_Keep_Alive_Dest_1_ group=»Ext_1/NAT_Settings»>$PROXY</NAT_Keep_Alive_Dest_1_> <SIP_TOS_DiffServ_Value_1_ group=»Ext_1/Network_Settings»>0x68</SIP_TOS_DiffServ_Value_1_> <SIP_CoS_Value_1_ group=»Ext_1/Network_Settings»>3</SIP_CoS_Value_1_> <RTP_TOS_DiffServ_Value_1_ group=»Ext_1/Network_Settings»>0xb8</RTP_TOS_DiffServ_Value_1_> <RTP_CoS_Value_1_ group=»Ext_1/Network_Settings»>6</RTP_CoS_Value_1_> <Network_Jitter_Level_1_ group=»Ext_1/Network_Settings»>high</Network_Jitter_Level_1_> <Jitter_Buffer_Adjustment_1_ group=»Ext_1/Network_Settings»>up and down</Jitter_Buffer_Adjustment_1_> <SIP_Transport_1_ group=»Ext_1/SIP_Settings»>{$sip_transport_1|upper}</SIP_Transport_1_> <SIP_Port_1_ group=»Ext_1/SIP_Settings»>{$sip_port_1}</SIP_Port_1_> <SIP_100REL_Enable_1_ group=»Ext_1/SIP_Settings»>No</SIP_100REL_Enable_1_> <EXT_SIP_Port_1_ group=»Ext_1/SIP_Settings» /> <Auth_Resync-Reboot_1_ group=»Ext_1/SIP_Settings»>Yes</Auth_Resync-Reboot_1_> <SIP_Proxy-Require_1_ group=»Ext_1/SIP_Settings» /> <SIP_Remote-Party-ID_1_ group=»Ext_1/SIP_Settings»>No</SIP_Remote-Party-ID_1_> <Referor_Bye_Delay_1_ group=»Ext_1/SIP_Settings»>4</Referor_Bye_Delay_1_> <Refer-To_Target_Contact_1_ group=»Ext_1/SIP_Settings»>No</Refer-To_Target_Contact_1_> <Referee_Bye_Delay_1_ group=»Ext_1/SIP_Settings»>0</Referee_Bye_Delay_1_> <SIP_Debug_Option_1_ group=»Ext_1/SIP_Settings»>none</SIP_Debug_Option_1_> <Refer_Target_Bye_Delay_1_ group=»Ext_1/SIP_Settings»>0</Refer_Target_Bye_Delay_1_> <Sticky_183_1_ group=»Ext_1/SIP_Settings»>No</Sticky_183_1_> <Auth_INVITE_1_ group=»Ext_1/SIP_Settings»>No</Auth_INVITE_1_> <Ntfy_Refer_On_1xx-To-Inv_1_ group=»Ext_1/SIP_Settings»>Yes</Ntfy_Refer_On_1xx-To-Inv_1_> <Use_Anonymous_With_RPID_1_ group=»Ext_1/SIP_Settings»>Yes</Use_Anonymous_With_RPID_1_> <Set_G729_annexb_1_ group=»Ext_1/SIP_Settings»>none</Set_G729_annexb_1_> <Blind_Attn-Xfer_Enable_1_ group=»Ext_1/Call_Feature_Settings»>No</Blind_Attn-Xfer_Enable_1_> <MOH_Server_1_ group=»Ext_1/Call_Feature_Settings» /> <Auth_Page_1_ group=»Ext_1/Call_Feature_Settings»>No</Auth_Page_1_> <Default_Ring__1__ group=»Ext_1/Call_Feature_Settings»>1</Default_Ring__1__> <Auth_Page_Realm_1_ group=»Ext_1/Call_Feature_Settings» /> <Conference_Bridge_URL_1_ group=»Ext_1/Call_Feature_Settings» /> <Auth_Page_Password_1_ group=»Ext_1/Call_Feature_Settings» /> <Mailbox_ID_1_ group=»Ext_1/Call_Feature_Settings» /> <Voice_Mail_Server_1_ group=»Ext_1/Call_Feature_Settings» /> <State_Agent_1_ group=»Ext_1/Call_Feature_Settings» /> <CFWD_Notify_Serv_1_ group=»Ext_1/Call_Feature_Settings»>No</CFWD_Notify_Serv_1_> <CFWD_Notifier_1_ group=»Ext_1/Call_Feature_Settings» /> <Proxy_1_ group=»Ext_1/Proxy_and_Registration»>{$server_address_1}</Proxy_1_> <Use_Outbound_Proxy_1_ group=»Ext_1/Proxy_and_Registration»>No</Use_Outbound_Proxy_1_> <Outbound_Proxy_1_ group=»Ext_1/Proxy_and_Registration» /> <Use_OB_Proxy_In_Dialog_1_ group=»Ext_1/Proxy_and_Registration»>Yes</Use_OB_Proxy_In_Dialog_1_> <Register_1_ group=»Ext_1/Proxy_and_Registration»>Yes</Register_1_> <Make_Call_Without_Reg_1_ group=»Ext_1/Proxy_and_Registration»>No</Make_Call_Without_Reg_1_> <Register_Expires_1_ group=»Ext_1/Proxy_and_Registration»>{$register_expires_1}</Register_Expires_1_> <Ans_Call_Without_Reg_1_ group=»Ext_1/Proxy_and_Registration»>No</Ans_Call_Without_Reg_1_> <Use_DNS_SRV_1_ group=»Ext_1/Proxy_and_Registration»>No</Use_DNS_SRV_1_> <DNS_SRV_Auto_Prefix_1_ group=»Ext_1/Proxy_and_Registration»>No</DNS_SRV_Auto_Prefix_1_> <Proxy_Fallback_Intvl_1_ group=»Ext_1/Proxy_and_Registration»>3600</Proxy_Fallback_Intvl_1_> <Proxy_Redundancy_Method_1_ group=»Ext_1/Proxy_and_Registration»>Normal</Proxy_Redundancy_Method_1_> <Display_Name_1_ group=»Ext_1/Subscriber_Information»>{$display_name_1}</Display_Name_1_> <User_ID_1_ group=»Ext_1/Subscriber_Information»>{$user_id_1}</User_ID_1_> <Password_1_ group=»Ext_1/Subscriber_Information»>{$user_password_1}</Password_1_> <Use_Auth_ID_1_ group=»Ext_1/Subscriber_Information»>No</Use_Auth_ID_1_> <Auth_ID_1_ group=»Ext_1/Subscriber_Information» /> <Mini_Certificate_1_ group=»Ext_1/Subscriber_Information» /> <SRTP_Private_Key_1_ group=»Ext_1/Subscriber_Information» /> <Preferred_Codec_1_ group=»Ext_1/Audio_Configuration»>G711u</Preferred_Codec_1_> <Use_Pref_Codec_Only_1_ group=»Ext_1/Audio_Configuration»>No</Use_Pref_Codec_Only_1_> <Second_Preferred_Codec_1_ group=»Ext_1/Audio_Configuration»>Unspecified</Second_Preferred_Codec_1_> <Third_Preferred_Codec_1_ group=»Ext_1/Audio_Configuration»>Unspecified</Third_Preferred_Codec_1_> <G729a_Enable_1_ group=»Ext_1/Audio_Configuration»>Yes</G729a_Enable_1_> <G722_Enable_1_ group=»Ext_1/Audio_Configuration»>Yes</G722_Enable_1_> <G726-16_Enable_1_ group=»Ext_1/Audio_Configuration»>Yes</G726-16_Enable_1_> <G726-24_Enable_1_ group=»Ext_1/Audio_Configuration»>Yes</G726-24_Enable_1_> <G726-32_Enable_1_ group=»Ext_1/Audio_Configuration»>Yes</G726-32_Enable_1_> <G726-40_Enable_1_ group=»Ext_1/Audio_Configuration»>Yes</G726-40_Enable_1_> <Release_Unused_Codec_1_ group=»Ext_1/Audio_Configuration»>Yes</Release_Unused_Codec_1_> <DTMF_Process_AVT_1_ group=»Ext_1/Audio_Configuration»>Yes</DTMF_Process_AVT_1_> <Silence_Supp_Enable_1_ group=»Ext_1/Audio_Configuration»>No</Silence_Supp_Enable_1_> <DTMF_Tx_Method_1_ group=»Ext_1/Audio_Configuration»>Auto</DTMF_Tx_Method_1_> <Dial_Plan_1_ group=»Ext_1/Dial_Plan»>(*xxxxxxx|*xxxxxx|*xxxxx|*xxxx|*xxx|*xx*|*x|**xxxxx|**xxxx|**xxx|**xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_> <Caller_ID_Map_1_ group=»Ext_1/Dial_Plan» /> <Enable_IP_Dialing_1_ group=»Ext_1/Dial_Plan»>Yes</Enable_IP_Dialing_1_> <Emergency_Number_1_ group=»Ext_1/Dial_Plan» /> <Line_Enable_2_ group=»Ext_2/General»>Yes</Line_Enable_2_> <Share_Ext_2_ group=»Ext_2/Share_Line_Appearance»>private</Share_Ext_2_> <Shared_User_ID_2_ group=»Ext_2/Share_Line_Appearance» /> <Subscription_Expires_2_ group=»Ext_2/Share_Line_Appearance»>3600</Subscription_Expires_2_> <NAT_Mapping_Enable_2_ group=»Ext_2/NAT_Settings»>No</NAT_Mapping_Enable_2_> <NAT_Keep_Alive_Enable_2_ group=»Ext_2/NAT_Settings»>No</NAT_Keep_Alive_Enable_2_> <NAT_Keep_Alive_Msg_2_ group=»Ext_2/NAT_Settings»>$NOTIFY</NAT_Keep_Alive_Msg_2_> <NAT_Keep_Alive_Dest_2_ group=»Ext_2/NAT_Settings»>$PROXY</NAT_Keep_Alive_Dest_2_> <SIP_TOS_DiffServ_Value_2_ group=»Ext_2/Network_Settings»>0x68</SIP_TOS_DiffServ_Value_2_> <SIP_CoS_Value_2_ group=»Ext_2/Network_Settings»>3</SIP_CoS_Value_2_> <RTP_TOS_DiffServ_Value_2_ group=»Ext_2/Network_Settings»>0xb8</RTP_TOS_DiffServ_Value_2_> <RTP_CoS_Value_2_ group=»Ext_2/Network_Settings»>6</RTP_CoS_Value_2_> <Network_Jitter_Level_2_ group=»Ext_2/Network_Settings»>high</Network_Jitter_Level_2_> <Jitter_Buffer_Adjustment_2_ group=»Ext_2/Network_Settings»>up and down</Jitter_Buffer_Adjustment_2_> <SIP_Transport_2_ group=»Ext_2/SIP_Settings»>{$sip_transport_2|upper}</SIP_Transport_2_> <SIP_Port_2_ group=»Ext_2/SIP_Settings»>{$sip_port_2}</SIP_Port_2_> <SIP_100REL_Enable_2_ group=»Ext_2/SIP_Settings»>No</SIP_100REL_Enable_2_> <EXT_SIP_Port_2_ group=»Ext_2/SIP_Settings» /> <Auth_Resync-Reboot_2_ group=»Ext_2/SIP_Settings»>Yes</Auth_Resync-Reboot_2_> <SIP_Proxy-Require_2_ group=»Ext_2/SIP_Settings» /> <SIP_Remote-Party-ID_2_ group=»Ext_2/SIP_Settings»>No</SIP_Remote-Party-ID_2_> <Referor_Bye_Delay_2_ group=»Ext_2/SIP_Settings»>4</Referor_Bye_Delay_2_> <Refer-To_Target_Contact_2_ group=»Ext_2/SIP_Settings»>No</Refer-To_Target_Contact_2_> <Referee_Bye_Delay_2_ group=»Ext_2/SIP_Settings»>0</Referee_Bye_Delay_2_> <SIP_Debug_Option_2_ group=»Ext_2/SIP_Settings»>none</SIP_Debug_Option_2_> <Refer_Target_Bye_Delay_2_ group=»Ext_2/SIP_Settings»>0</Refer_Target_Bye_Delay_2_> <Sticky_183_2_ group=»Ext_2/SIP_Settings»>No</Sticky_183_2_> <Auth_INVITE_2_ group=»Ext_2/SIP_Settings»>No</Auth_INVITE_2_> <Ntfy_Refer_On_1xx-To-Inv_2_ group=»Ext_2/SIP_Settings»>Yes</Ntfy_Refer_On_1xx-To-Inv_2_> <Use_Anonymous_With_RPID_2_ group=»Ext_2/SIP_Settings»>Yes</Use_Anonymous_With_RPID_2_> <Set_G729_annexb_2_ group=»Ext_2/SIP_Settings»>none</Set_G729_annexb_2_> <Blind_Attn-Xfer_Enable_2_ group=»Ext_2/Call_Feature_Settings»>No</Blind_Attn-Xfer_Enable_2_> <MOH_Server_2_ group=»Ext_2/Call_Feature_Settings» /> <Auth_Page_2_ group=»Ext_2/Call_Feature_Settings»>No</Auth_Page_2_> <Default_Ring__2__ group=»Ext_2/Call_Feature_Settings»>1</Default_Ring__2__> <Auth_Page_Realm_2_ group=»Ext_2/Call_Feature_Settings» /> <Conference_Bridge_URL_2_ group=»Ext_2/Call_Feature_Settings» /> <Auth_Page_Password_2_ group=»Ext_2/Call_Feature_Settings» /> <Mailbox_ID_2_ group=»Ext_2/Call_Feature_Settings» /> <Voice_Mail_Server_2_ group=»Ext_2/Call_Feature_Settings» /> <State_Agent_2_ group=»Ext_2/Call_Feature_Settings» /> <CFWD_Notify_Serv_2_ group=»Ext_2/Call_Feature_Settings»>No</CFWD_Notify_Serv_2_> <CFWD_Notifier_2_ group=»Ext_2/Call_Feature_Settings» /> <Proxy_2_ group=»Ext_2/Proxy_and_Registration»>{$server_address_2}</Proxy_2_> <Use_Outbound_Proxy_2_ group=»Ext_2/Proxy_and_Registration»>No</Use_Outbound_Proxy_2_> <Outbound_Proxy_2_ group=»Ext_2/Proxy_and_Registration» /> <Use_OB_Proxy_In_Dialog_2_ group=»Ext_2/Proxy_and_Registration»>Yes</Use_OB_Proxy_In_Dialog_2_> <Register_2_ group=»Ext_2/Proxy_and_Registration»>Yes</Register_2_> <Make_Call_Without_Reg_2_ group=»Ext_2/Proxy_and_Registration»>No</Make_Call_Without_Reg_2_> <Register_Expires_2_ group=»Ext_2/Proxy_and_Registration»>{$register_expires_2}</Register_Expires_2_> <Ans_Call_Without_Reg_2_ group=»Ext_2/Proxy_and_Registration»>No</Ans_Call_Without_Reg_2_> <Use_DNS_SRV_2_ group=»Ext_2/Proxy_and_Registration»>No</Use_DNS_SRV_2_> <DNS_SRV_Auto_Prefix_2_ group=»Ext_2/Proxy_and_Registration»>No</DNS_SRV_Auto_Prefix_2_> <Proxy_Fallback_Intvl_2_ group=»Ext_2/Proxy_and_Registration»>3600</Proxy_Fallback_Intvl_2_> <Proxy_Redundancy_Method_2_ group=»Ext_2/Proxy_and_Registration»>Normal</Proxy_Redundancy_Method_2_> <Display_Name_2_ group=»Ext_2/Subscriber_Information»>{$display_name_2}</Display_Name_2_> <User_ID_2_ group=»Ext_2/Subscriber_Information»>{$user_id_2}</User_ID_2_> <Password_2_ group=»Ext_2/Subscriber_Information»>{$user_password_2}</Password_2_> <Use_Auth_ID_2_ group=»Ext_2/Subscriber_Information»>No</Use_Auth_ID_2_> <Auth_ID_2_ group=»Ext_2/Subscriber_Information» /> <Mini_Certificate_2_ group=»Ext_2/Subscriber_Information» /> <SRTP_Private_Key_2_ group=»Ext_2/Subscriber_Information» /> <Preferred_Codec_2_ group=»Ext_2/Audio_Configuration»>G711u</Preferred_Codec_2_> <Use_Pref_Codec_Only_2_ group=»Ext_2/Audio_Configuration»>No</Use_Pref_Codec_Only_2_> <Second_Preferred_Codec_2_ group=»Ext_2/Audio_Configuration»>Unspecified</Second_Preferred_Codec_2_> <Third_Preferred_Codec_2_ group=»Ext_2/Audio_Configuration»>Unspecified</Third_Preferred_Codec_2_> <G729a_Enable_2_ group=»Ext_2/Audio_Configuration»>Yes</G729a_Enable_2_> <G722_Enable_2_ group=»Ext_2/Audio_Configuration»>Yes</G722_Enable_2_> <G726-16_Enable_2_ group=»Ext_2/Audio_Configuration»>Yes</G726-16_Enable_2_> <G726-24_Enable_2_ group=»Ext_2/Audio_Configuration»>Yes</G726-24_Enable_2_> <G726-32_Enable_2_ group=»Ext_2/Audio_Configuration»>Yes</G726-32_Enable_2_> <G726-40_Enable_2_ group=»Ext_2/Audio_Configuration»>Yes</G726-40_Enable_2_> <Release_Unused_Codec_2_ group=»Ext_2/Audio_Configuration»>Yes</Release_Unused_Codec_2_> <DTMF_Process_AVT_2_ group=»Ext_2/Audio_Configuration»>Yes</DTMF_Process_AVT_2_> <Silence_Supp_Enable_2_ group=»Ext_2/Audio_Configuration»>No</Silence_Supp_Enable_2_> <DTMF_Tx_Method_2_ group=»Ext_2/Audio_Configuration»>Auto</DTMF_Tx_Method_2_> <Dial_Plan_2_ group=»Ext_2/Dial_Plan»>(*xxxxxxx|*xxxxxx|*xxxxx|*xxxx|*xxx|*xx*|*x|**xxxxx|**xxxx|**xxx|**xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_2_> <Caller_ID_Map_2_ group=»Ext_2/Dial_Plan» /> <Enable_IP_Dialing_2_ group=»Ext_2/Dial_Plan»>Yes</Enable_IP_Dialing_2_> <Emergency_Number_2_ group=»Ext_2/Dial_Plan» /> <Line_Enable_3_ group=»Ext_3/General»>Yes</Line_Enable_3_> <Share_Ext_3_ group=»Ext_3/Share_Line_Appearance»>private</Share_Ext_3_> <Shared_User_ID_3_ group=»Ext_3/Share_Line_Appearance» /> <Subscription_Expires_3_ group=»Ext_3/Share_Line_Appearance»>3600</Subscription_Expires_3_> <NAT_Mapping_Enable_3_ group=»Ext_3/NAT_Settings»>No</NAT_Mapping_Enable_3_> <NAT_Keep_Alive_Enable_3_ group=»Ext_3/NAT_Settings»>No</NAT_Keep_Alive_Enable_3_> <NAT_Keep_Alive_Msg_3_ group=»Ext_3/NAT_Settings»>$NOTIFY</NAT_Keep_Alive_Msg_3_> <NAT_Keep_Alive_Dest_3_ group=»Ext_3/NAT_Settings»>$PROXY</NAT_Keep_Alive_Dest_3_> <SIP_TOS_DiffServ_Value_3_ group=»Ext_3/Network_Settings»>0x68</SIP_TOS_DiffServ_Value_3_> <SIP_CoS_Value_3_ group=»Ext_3/Network_Settings»>3</SIP_CoS_Value_3_> <RTP_TOS_DiffServ_Value_3_ group=»Ext_3/Network_Settings»>0xb8</RTP_TOS_DiffServ_Value_3_> <RTP_CoS_Value_3_ group=»Ext_3/Network_Settings»>6</RTP_CoS_Value_3_> <Network_Jitter_Level_3_ group=»Ext_3/Network_Settings»>high</Network_Jitter_Level_3_> <Jitter_Buffer_Adjustment_3_ group=»Ext_3/Network_Settings»>up and down</Jitter_Buffer_Adjustment_3_> <SIP_Transport_3_ group=»Ext_3/SIP_Settings»>{$sip_transport_3|upper}</SIP_Transport_3_> <SIP_Port_3_ group=»Ext_3/SIP_Settings»>{$sip_port_3}</SIP_Port_3_> <SIP_100REL_Enable_3_ group=»Ext_3/SIP_Settings»>No</SIP_100REL_Enable_3_> <EXT_SIP_Port_3_ group=»Ext_3/SIP_Settings» /> <Auth_Resync-Reboot_3_ group=»Ext_3/SIP_Settings»>Yes</Auth_Resync-Reboot_3_> <SIP_Proxy-Require_3_ group=»Ext_3/SIP_Settings» /> <SIP_Remote-Party-ID_3_ group=»Ext_3/SIP_Settings»>No</SIP_Remote-Party-ID_3_> <Referor_Bye_Delay_3_ group=»Ext_3/SIP_Settings»>4</Referor_Bye_Delay_3_> <Refer-To_Target_Contact_3_ group=»Ext_3/SIP_Settings»>No</Refer-To_Target_Contact_3_> <Referee_Bye_Delay_3_ group=»Ext_3/SIP_Settings»>0</Referee_Bye_Delay_3_> <SIP_Debug_Option_3_ group=»Ext_3/SIP_Settings»>none</SIP_Debug_Option_3_> <Refer_Target_Bye_Delay_3_ group=»Ext_3/SIP_Settings»>0</Refer_Target_Bye_Delay_3_> <Sticky_183_3_ group=»Ext_3/SIP_Settings»>No</Sticky_183_3_> <Auth_INVITE_3_ group=»Ext_3/SIP_Settings»>No</Auth_INVITE_3_> <Ntfy_Refer_On_1xx-To-Inv_3_ group=»Ext_3/SIP_Settings»>Yes</Ntfy_Refer_On_1xx-To-Inv_3_> <Use_Anonymous_With_RPID_3_ group=»Ext_3/SIP_Settings»>Yes</Use_Anonymous_With_RPID_3_> <Set_G729_annexb_3_ group=»Ext_3/SIP_Settings»>none</Set_G729_annexb_3_> <Blind_Attn-Xfer_Enable_3_ group=»Ext_3/Call_Feature_Settings»>No</Blind_Attn-Xfer_Enable_3_> <MOH_Server_3_ group=»Ext_3/Call_Feature_Settings» /> <Auth_Page_3_ group=»Ext_3/Call_Feature_Settings»>No</Auth_Page_3_> <Default_Ring__3__ group=»Ext_3/Call_Feature_Settings»>1</Default_Ring__3__> <Auth_Page_Realm_3_ group=»Ext_3/Call_Feature_Settings» /> <Conference_Bridge_URL_3_ group=»Ext_3/Call_Feature_Settings» /> <Auth_Page_Password_3_ group=»Ext_3/Call_Feature_Settings» /> <Mailbox_ID_3_ group=»Ext_3/Call_Feature_Settings» /> <Voice_Mail_Server_3_ group=»Ext_3/Call_Feature_Settings» /> <State_Agent_3_ group=»Ext_3/Call_Feature_Settings» /> <CFWD_Notify_Serv_3_ group=»Ext_3/Call_Feature_Settings»>No</CFWD_Notify_Serv_3_> <CFWD_Notifier_3_ group=»Ext_3/Call_Feature_Settings» /> <Proxy_3_ group=»Ext_3/Proxy_and_Registration»>{$server_address_3}</Proxy_3_> <Use_Outbound_Proxy_3_ group=»Ext_3/Proxy_and_Registration»>No</Use_Outbound_Proxy_3_> <Outbound_Proxy_3_ group=»Ext_3/Proxy_and_Registration» /> <Use_OB_Proxy_In_Dialog_3_ group=»Ext_3/Proxy_and_Registration»>Yes</Use_OB_Proxy_In_Dialog_3_> <Register_3_ group=»Ext_3/Proxy_and_Registration»>Yes</Register_3_> <Make_Call_Without_Reg_3_ group=»Ext_3/Proxy_and_Registration»>No</Make_Call_Without_Reg_3_> <Register_Expires_3_ group=»Ext_3/Proxy_and_Registration»>{$register_expires_3}</Register_Expires_3_> <Ans_Call_Without_Reg_3_ group=»Ext_3/Proxy_and_Registration»>No</Ans_Call_Without_Reg_3_> <Use_DNS_SRV_3_ group=»Ext_3/Proxy_and_Registration»>No</Use_DNS_SRV_3_> <DNS_SRV_Auto_Prefix_3_ group=»Ext_3/Proxy_and_Registration»>No</DNS_SRV_Auto_Prefix_3_> <Proxy_Fallback_Intvl_3_ group=»Ext_3/Proxy_and_Registration»>3600</Proxy_Fallback_Intvl_3_> <Proxy_Redundancy_Method_3_ group=»Ext_3/Proxy_and_Registration»>Normal</Proxy_Redundancy_Method_3_> <Display_Name_3_ group=»Ext_3/Subscriber_Information»>{$display_name_3}</Display_Name_3_> <User_ID_3_ group=»Ext_3/Subscriber_Information»>{$user_id_3}</User_ID_3_> <Password_3_ group=»Ext_3/Subscriber_Information»>{$user_password_3}</Password_3_> <Use_Auth_ID_3_ group=»Ext_3/Subscriber_Information»>No</Use_Auth_ID_3_> <Auth_ID_3_ group=»Ext_3/Subscriber_Information» /> <Mini_Certificate_3_ group=»Ext_3/Subscriber_Information» /> <SRTP_Private_Key_3_ group=»Ext_3/Subscriber_Information» /> <Preferred_Codec_3_ group=»Ext_3/Audio_Configuration»>G711u</Preferred_Codec_3_> <Use_Pref_Codec_Only_3_ group=»Ext_3/Audio_Configuration»>No</Use_Pref_Codec_Only_3_> <Second_Preferred_Codec_3_ group=»Ext_3/Audio_Configuration»>Unspecified</Second_Preferred_Codec_3_> <Third_Preferred_Codec_3_ group=»Ext_3/Audio_Configuration»>Unspecified</Third_Preferred_Codec_3_> <G729a_Enable_3_ group=»Ext_3/Audio_Configuration»>Yes</G729a_Enable_3_> <G722_Enable_3_ group=»Ext_3/Audio_Configuration»>Yes</G722_Enable_3_> <G726-16_Enable_3_ group=»Ext_3/Audio_Configuration»>Yes</G726-16_Enable_3_> <G726-24_Enable_3_ group=»Ext_3/Audio_Configuration»>Yes</G726-24_Enable_3_> <G726-32_Enable_3_ group=»Ext_3/Audio_Configuration»>Yes</G726-32_Enable_3_> <G726-40_Enable_3_ group=»Ext_3/Audio_Configuration»>Yes</G726-40_Enable_3_> <Release_Unused_Codec_3_ group=»Ext_3/Audio_Configuration»>Yes</Release_Unused_Codec_3_> <DTMF_Process_AVT_3_ group=»Ext_3/Audio_Configuration»>Yes</DTMF_Process_AVT_3_> <Silence_Supp_Enable_3_ group=»Ext_3/Audio_Configuration»>No</Silence_Supp_Enable_3_> <DTMF_Tx_Method_3_ group=»Ext_3/Audio_Configuration»>Auto</DTMF_Tx_Method_3_> <Dial_Plan_3_ group=»Ext_3/Dial_Plan»>(*xxxxxxx|*xxxxxx|*xxxxx|*xxxx|*xxx|*xx*|*x|**xxxxx|**xxxx|**xxx|**xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_3_> <Caller_ID_Map_3_ group=»Ext_3/Dial_Plan» /> <Enable_IP_Dialing_3_ group=»Ext_3/Dial_Plan»>Yes</Enable_IP_Dialing_3_> <Emergency_Number_3_ group=»Ext_3/Dial_Plan» /> <Line_Enable_4_ group=»Ext_4/General»>Yes</Line_Enable_4_> <Share_Ext_4_ group=»Ext_4/Share_Line_Appearance»>private</Share_Ext_4_> <Shared_User_ID_4_ group=»Ext_4/Share_Line_Appearance» /> <Subscription_Expires_4_ group=»Ext_4/Share_Line_Appearance»>3600</Subscription_Expires_4_> <NAT_Mapping_Enable_4_ group=»Ext_4/NAT_Settings»>No</NAT_Mapping_Enable_4_> <NAT_Keep_Alive_Enable_4_ group=»Ext_4/NAT_Settings»>No</NAT_Keep_Alive_Enable_4_> <NAT_Keep_Alive_Msg_4_ group=»Ext_4/NAT_Settings»>$NOTIFY</NAT_Keep_Alive_Msg_4_> <NAT_Keep_Alive_Dest_4_ group=»Ext_4/NAT_Settings»>$PROXY</NAT_Keep_Alive_Dest_4_> <SIP_TOS_DiffServ_Value_4_ group=»Ext_4/Network_Settings»>0x68</SIP_TOS_DiffServ_Value_4_> <SIP_CoS_Value_4_ group=»Ext_4/Network_Settings»>3</SIP_CoS_Value_4_> <RTP_TOS_DiffServ_Value_4_ group=»Ext_4/Network_Settings»>0xb8</RTP_TOS_DiffServ_Value_4_> <RTP_CoS_Value_4_ group=»Ext_4/Network_Settings»>6</RTP_CoS_Value_4_> <Network_Jitter_Level_4_ group=»Ext_4/Network_Settings»>high</Network_Jitter_Level_4_> <Jitter_Buffer_Adjustment_4_ group=»Ext_4/Network_Settings»>up and down</Jitter_Buffer_Adjustment_4_> <SIP_Transport_4_ group=»Ext_4/SIP_Settings»>{$sip_transport_4|upper}</SIP_Transport_4_> <SIP_Port_4_ group=»Ext_4/SIP_Settings»>{$sip_port_4}</SIP_Port_4_> <SIP_100REL_Enable_4_ group=»Ext_4/SIP_Settings»>No</SIP_100REL_Enable_4_> <EXT_SIP_Port_4_ group=»Ext_4/SIP_Settings» /> <Auth_Resync-Reboot_4_ group=»Ext_4/SIP_Settings»>Yes</Auth_Resync-Reboot_4_> <SIP_Proxy-Require_4_ group=»Ext_4/SIP_Settings» /> <SIP_Remote-Party-ID_4_ group=»Ext_4/SIP_Settings»>No</SIP_Remote-Party-ID_4_> <Referor_Bye_Delay_4_ group=»Ext_4/SIP_Settings»>4</Referor_Bye_Delay_4_> <Refer-To_Target_Contact_4_ group=»Ext_4/SIP_Settings»>No</Refer-To_Target_Contact_4_> <Referee_Bye_Delay_4_ group=»Ext_4/SIP_Settings»>0</Referee_Bye_Delay_4_> <SIP_Debug_Option_4_ group=»Ext_4/SIP_Settings»>none</SIP_Debug_Option_4_> <Refer_Target_Bye_Delay_4_ group=»Ext_4/SIP_Settings»>0</Refer_Target_Bye_Delay_4_> <Sticky_183_4_ group=»Ext_4/SIP_Settings»>No</Sticky_183_4_> <Auth_INVITE_4_ group=»Ext_4/SIP_Settings»>No</Auth_INVITE_4_> <Ntfy_Refer_On_1xx-To-Inv_4_ group=»Ext_4/SIP_Settings»>Yes</Ntfy_Refer_On_1xx-To-Inv_4_> <Use_Anonymous_With_RPID_4_ group=»Ext_4/SIP_Settings»>Yes</Use_Anonymous_With_RPID_4_> <Set_G729_annexb_4_ group=»Ext_4/SIP_Settings»>none</Set_G729_annexb_4_> <Blind_Attn-Xfer_Enable_4_ group=»Ext_4/Call_Feature_Settings»>No</Blind_Attn-Xfer_Enable_4_> <MOH_Server_4_ group=»Ext_4/Call_Feature_Settings» /> <Auth_Page_4_ group=»Ext_4/Call_Feature_Settings»>No</Auth_Page_4_> <Default_Ring__4__ group=»Ext_4/Call_Feature_Settings»>1</Default_Ring__4__> <Auth_Page_Realm_4_ group=»Ext_4/Call_Feature_Settings» /> <Conference_Bridge_URL_4_ group=»Ext_4/Call_Feature_Settings» /> <Auth_Page_Password_4_ group=»Ext_4/Call_Feature_Settings» /> <Mailbox_ID_4_ group=»Ext_4/Call_Feature_Settings» /> <Voice_Mail_Server_4_ group=»Ext_4/Call_Feature_Settings» /> <State_Agent_4_ group=»Ext_4/Call_Feature_Settings» /> <CFWD_Notify_Serv_4_ group=»Ext_4/Call_Feature_Settings»>No</CFWD_Notify_Serv_4_> <CFWD_Notifier_4_ group=»Ext_4/Call_Feature_Settings» /> <Proxy_4_ group=»Ext_4/Proxy_and_Registration»>{$server_address_4}</Proxy_4_> <Use_Outbound_Proxy_4_ group=»Ext_4/Proxy_and_Registration»>No</Use_Outbound_Proxy_4_> <Outbound_Proxy_4_ group=»Ext_4/Proxy_and_Registration» /> <Use_OB_Proxy_In_Dialog_4_ group=»Ext_4/Proxy_and_Registration»>Yes</Use_OB_Proxy_In_Dialog_4_> <Register_4_ group=»Ext_4/Proxy_and_Registration»>Yes</Register_4_> <Make_Call_Without_Reg_4_ group=»Ext_4/Proxy_and_Registration»>No</Make_Call_Without_Reg_4_> <Register_Expires_4_ group=»Ext_4/Proxy_and_Registration»>{$register_expires_4}</Register_Expires_4_> <Ans_Call_Without_Reg_4_ group=»Ext_4/Proxy_and_Registration»>No</Ans_Call_Without_Reg_4_> <Use_DNS_SRV_4_ group=»Ext_4/Proxy_and_Registration»>No</Use_DNS_SRV_4_> <DNS_SRV_Auto_Prefix_4_ group=»Ext_4/Proxy_and_Registration»>No</DNS_SRV_Auto_Prefix_4_> <Proxy_Fallback_Intvl_4_ group=»Ext_4/Proxy_and_Registration»>3600</Proxy_Fallback_Intvl_4_> <Proxy_Redundancy_Method_4_ group=»Ext_4/Proxy_and_Registration»>Normal</Proxy_Redundancy_Method_4_> <Display_Name_4_ group=»Ext_4/Subscriber_Information»>{$display_name_4}</Display_Name_4_> <User_ID_4_ group=»Ext_4/Subscriber_Information»>{$user_id_4}</User_ID_4_> <Password_4_ group=»Ext_4/Subscriber_Information»>{$user_password_4}</Password_4_> <Use_Auth_ID_4_ group=»Ext_4/Subscriber_Information»>No</Use_Auth_ID_4_> <Auth_ID_4_ group=»Ext_4/Subscriber_Information» /> <Mini_Certificate_4_ group=»Ext_4/Subscriber_Information» /> <SRTP_Private_Key_4_ group=»Ext_4/Subscriber_Information» /> <Preferred_Codec_4_ group=»Ext_4/Audio_Configuration»>G711u</Preferred_Codec_4_> <Use_Pref_Codec_Only_4_ group=»Ext_4/Audio_Configuration»>No</Use_Pref_Codec_Only_4_> <Second_Preferred_Codec_4_ group=»Ext_4/Audio_Configuration»>Unspecified</Second_Preferred_Codec_4_> <Third_Preferred_Codec_4_ group=»Ext_4/Audio_Configuration»>Unspecified</Third_Preferred_Codec_4_> <G729a_Enable_4_ group=»Ext_4/Audio_Configuration»>Yes</G729a_Enable_4_> <G722_Enable_4_ group=»Ext_4/Audio_Configuration»>Yes</G722_Enable_4_> <G726-16_Enable_4_ group=»Ext_4/Audio_Configuration»>Yes</G726-16_Enable_4_> <G726-24_Enable_4_ group=»Ext_4/Audio_Configuration»>Yes</G726-24_Enable_4_> <G726-32_Enable_4_ group=»Ext_4/Audio_Configuration»>Yes</G726-32_Enable_4_> <G726-40_Enable_4_ group=»Ext_4/Audio_Configuration»>Yes</G726-40_Enable_4_> <Release_Unused_Codec_4_ group=»Ext_4/Audio_Configuration»>Yes</Release_Unused_Codec_4_> <DTMF_Process_AVT_4_ group=»Ext_4/Audio_Configuration»>Yes</DTMF_Process_AVT_4_> <Silence_Supp_Enable_4_ group=»Ext_4/Audio_Configuration»>No</Silence_Supp_Enable_4_> <DTMF_Tx_Method_4_ group=»Ext_4/Audio_Configuration»>Auto</DTMF_Tx_Method_4_> <Dial_Plan_4_ group=»Ext_4/Dial_Plan»>(*xxxxxxx|*xxxxxx|*xxxxx|*xxxx|*xxx|*xx*|*x|**xxxxx|**xxxx|**xxx|**xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_4_> <Caller_ID_Map_4_ group=»Ext_4/Dial_Plan» /> <Enable_IP_Dialing_4_ group=»Ext_4/Dial_Plan»>Yes</Enable_IP_Dialing_4_> <Emergency_Number_4_ group=»Ext_4/Dial_Plan» /> <Cfwd_All_Dest group=»User/Call_Forward» /> <Cfwd_Busy_Dest group=»User/Call_Forward» /> <Cfwd_No_Ans_Dest group=»User/Call_Forward» /> <Cfwd_No_Ans_Delay group=»User/Call_Forward»>20</Cfwd_No_Ans_Delay> <Speed_Dial_2 group=»User/Speed_Dial» /> <Speed_Dial_3 group=»User/Speed_Dial» /> <Speed_Dial_4 group=»User/Speed_Dial» /> <Speed_Dial_5 group=»User/Speed_Dial» /> <Speed_Dial_6 group=»User/Speed_Dial» /> <Speed_Dial_7 group=»User/Speed_Dial» /> <Speed_Dial_8 group=»User/Speed_Dial» /> <Speed_Dial_9 group=»User/Speed_Dial» /> <CW_Setting group=»User/Supplementary_Services»>Yes</CW_Setting> <Block_CID_Setting group=»User/Supplementary_Services»>No</Block_CID_Setting> <Block_ANC_Setting group=»User/Supplementary_Services»>No</Block_ANC_Setting> <DND_Setting group=»User/Supplementary_Services»>No</DND_Setting> <Secure_Call_Setting group=»User/Supplementary_Services»>No</Secure_Call_Setting> <Dial_Assistance group=»User/Supplementary_Services»>No</Dial_Assistance> <Auto_Answer_Page group=»User/Supplementary_Services»>Yes</Auto_Answer_Page> <Preferred_Audio_Device group=»User/Supplementary_Services»>Speaker</Preferred_Audio_Device> <Send_Audio_To_Speaker group=»User/Supplementary_Services»>No</Send_Audio_To_Speaker> <Time_Format group=»User/Supplementary_Services»>12hr</Time_Format> <Date_Format group=»User/Supplementary_Services»>month/day</Date_Format> <Miss_Call_Shortcut group=»User/Supplementary_Services»>Yes</Miss_Call_Shortcut> <Accept_Media_Loopback_Request group=»User/Supplementary_Services»>automatic</Accept_Media_Loopback_Request> <Media_Loopback_Mode group=»User/Supplementary_Services»>source</Media_Loopback_Mode> <Media_Loopback_Type group=»User/Supplementary_Services»>media</Media_Loopback_Type> <Text_Message group=»User/Supplementary_Services»>Yes</Text_Message> <Text_Message_From_3rd_Party group=»User/Supplementary_Services»>No</Text_Message_From_3rd_Party> <Alert_Tone_Off group=»User/Supplementary_Services»>No</Alert_Tone_Off> <Log_Missed_Calls_for_EXT_1 group=»User/Supplementary_Services»>Yes</Log_Missed_Calls_for_EXT_1> <Log_Missed_Calls_for_EXT_2 group=»User/Supplementary_Services»>Yes</Log_Missed_Calls_for_EXT_2> <Log_Missed_Calls_for_EXT_3 group=»User/Supplementary_Services»>Yes</Log_Missed_Calls_for_EXT_3> <Log_Missed_Calls_for_EXT_4 group=»User/Supplementary_Services»>Yes</Log_Missed_Calls_for_EXT_4> <Ringer_Volume group=»User/Audio_Volume»>9</Ringer_Volume> <Speaker_Volume group=»User/Audio_Volume»>8</Speaker_Volume> <Handset_Volume group=»User/Audio_Volume»>10</Handset_Volume> <Headset_Volume group=»User/Audio_Volume»>10</Headset_Volume> <LCD_Contrast group=»User/Audio_Volume»>8</LCD_Contrast> <Back_Light_Timer group=»User/Audio_Volume»>10 s</Back_Light_Timer> <Subscribe_Expires group=»Attendant_Console/General»>1800</Subscribe_Expires> <Subscribe_Retry_Interval group=»Attendant_Console/General»>30</Subscribe_Retry_Interval> <Unit_1_Enable group=»Attendant_Console/General»>Yes</Unit_1_Enable> <Subscribe_Delay group=»Attendant_Console/General»>1</Subscribe_Delay> <Unit_2_Enable group=»Attendant_Console/General»>Yes</Unit_2_Enable> <!— Phone/Multiple_Paging_Group_Parameters —> <!— <Group_Paging_Script group=»Phone/Multiple_Paging_Group_Parameters»>pggrp=224.168.168.168:34560;name=All;num=800;listen=yes;</Group_Paging_Script> —> <Group_Paging_Script group=»Phone/Multiple_Paging_Group_Parameters»></Group_Paging_Script> <Server_Type group=»Attendant_Console/General»>Asterisk</Server_Type> <Test_Mode_Enable group=»Attendant_Console/General»>No</Test_Mode_Enable> <Attendant_Console_Call_Pickup_Code group=»Attendant_Console/General»>**#</Attendant_Console_Call_Pickup_Code> {foreach $keys as $row} {if $row.device_key_category == «expansion»} <Unit_1_Key_{$row.device_key_id} group=»Attendant_Console/Unit_1″>{$row.device_key_value}</Unit_1_Key_{$row.device_key_id}> {/if} {if $row.device_key_category == «expansion-1″} <Unit_1_Key_{$row.device_key_id} group=»Attendant_Console/Unit_1»>{$row.device_key_value}</Unit_1_Key_{$row.device_key_id}> {/if} {if $row.device_key_category == «expansion-2″} <Unit_2_Key_{$row.device_key_id} group=»Attendant_Console/Unit_2»>{$row.device_key_value}</Unit_2_Key_{$row.device_key_id}> {/if} {/foreach} </flat-profile>
Рубрика: Новости, Общее | Оставить комментарий

Телефонная книга в телефонах Cisco SPA 5XX

Добавить в конфиг файл строки:

<xml_directory_service_name>Телефонная книга</xml_directory_service_name> <xml_directory_service_url>http://12.146.27.168/pbdir.xml</xml_directory_service_url>

Структура файла pbdir.xml

<CiscoIPPhoneDirectory> <Title>Cisco Coporate Directory</Title> <Prompt>Select the User</Prompt> <DirectoryEntry> <Name>Person</Name> <Telephone>0412345678</Telephone> </DirectoryEntry> <DirectoryEntry> <Name>Office</Name> <Telephone>0712345678</Telephone> </DirectoryEntry> <DirectoryEntry> <Name>Reception</Name> <Telephone>101</Telephone> </DirectoryEntry> </CiscoIPPhoneDirectory>
Рубрика: Общее | Оставить комментарий

Удалённая перезагрузка телефонов Cisco SPA 5XX

/admin/reboot

Рубрика: Общее | Оставить комментарий

Блокировка сайтов она же борьба с телеметрией

Причины могут быть разными суть одна: блокировка по имени.
https://gist.github.com/nhasbun/c122eb7469d542d0696856e7f106e6cb
затем добавляем его в микротик. Это блокировка по ip старо но действенно.


Добавляем по имени:

/ip firewall layer7-protocol add name=Telemetry_microsoft
regexp=»^.+(vortex.data.microsoft.com|vortex-win.data.microsoft.com|telecommand.telemetry.microsoft.com|telecommand.telemetry
.microsoft.com.nsatc.net|oca.telemetry.microsoft.com|oca.telemetry.microsoft.com
.nsatc.net|sqm.telemetry.microsoft.com|sqm.telemetry.microsoft.com.nsatc.net|wats
on.telemetry.microsoft.com|watson.telemetry.microsoft.com.nsatc.net|redir.metaser
vices.microsoft.com|choice.microsoft.com|choice.microsoft.com.nsatc.net|df.teleme
try.microsoft.com|reports.wes.df.telemetry.microsoft.com|wes.df.telemetry.microso
ft.com|services.wes.df.telemetry.microsoft.com|sqm.df.telemetry.microsoft.com|tel
emetry.microsoft.com|watson.ppe.telemetry.microsoft.com|telemetry.appex.bing.net|
telemetry.urs.microsoft.com|telemetry.appex.bing.net|settings-sandbox.data.microsoft.com|vortex-sandbox.data.microsoft.com|survey.watson.microsoft.com|watson.live.com|watson.mi
crosoft.com|statsfe2.ws.microsoft.com|corpext.msitadfs.glbdns2.microsoft.com|com
patexchange.cloudapp.net|cs1.wpc.v0cdn.net|a-0001.a-msedge.net|statsfe2.update.microsoft.com.akadns.net|diagnostics.support.microsof
t.com|corp.sts.microsoft.com|statsfe1.ws.microsoft.com|pre.footprintpredict.com|
i1.services.social.microsoft.com|i1.services.social.microsoft.com.nsatc.net|feedb
ack.windows.com|feedback.microsoft-hohm.com|feedback.search.microsoft.com|rad.msn.com|preview.msn.com|ad.doubleclic
k.net|ads.msn.com|ads1.msads.net|ads1.msn.com|a.ads1.msn.com|a.ads2.msn.com|adne
xus.net|adnxs.com|az361816.vo.msecnd.net|az512334.vo.msecnd.net|windowsupdate.microsoft.com|update.microsoft.com|windowsupdate.com|download.microsoft.com).*$»

Не всегда работает через консоль. Добавляем через веб интерфейс.

Теперь правила:
ip firewall filter add chain=forward action=reject reject-with=tcp-reset protocol=tcp layer7-protocol=Telemetry_microsoft
ip firewall filter add chain=forward action=drop protocol=udp layer7-protocol=Telemetry_microsoft

Некоторые из регулярных выражений в таблице ниже:

AIM:^(\*[\x01\x02].*\x03\x0b|\*\x01.?.?.?.?\x01)|flapon|toc_signon.*0x
Bittorrent:^(\x13bittorrent protocol|azver\x01$|get /scrape\?info_hash=get/announce\?info_hash=|get /client/bitcomet/|GET/data\?fid=)|d1:ad2:id20:|\x08’7P\)[RP]
Counterstrike Source:^\xff\xff\xff\xff.*cstrikeCounter-Strike
DHCP:^[\x01\x02][\x01- ]\x06.*c\x82sc
DNS:^.?.?.?.?[\x01\x02].?.?.?.?.?.?[\x01-?][a-z0-9][\x01-?a-z]*[\x02-\x06][a-z][a-z][fglmoprstuvz]?[aeop]?(um)?[\x01-\x10\x1c][\x01\x03\x04\xFF]
eDonkey:^[\xc5\xd4\xe3-\xe5].?.?.?.?([\x01\x02\x05\x14\x15\x16\x18\x19\x1a\x1b\x1c\x20\x21\x32\x33\x34\x35\x36\x38\x40\x41\x42\x43\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58[\x60\x81\x82\x90\x91\x93\x96\x97\x98\x99\x9a\x9b\x9c\x9e\xa0\xa1\xa2\xa3\xa4]|\x59…………….? [ -~]|\x96….$)
FTP:^220[\x09-\x0d -~]*ftp
HTTP:http/(0\.9|1\.0|1\.1) [1-5][0-9][0-9] [\x09-\x0d –~]*(connection:|content-type:|content-length:|date:)|post [\x09-\x0d -~]* http/[01]\.[019]
IRC:^(nick[\x09-\x0d -~]*user[\x09-\x0d -~]*:|user[\x09-\x0d –~]*:[\x02-\x0d –~]*nick[\x09-\x0d -~]*\x0d\x0a)
Jabber:<stream:stream[\x09-\x0d ][ -~]*[\x09-\x0d ]xmlns=[‘»]jabber
NTP:^([\x13\x1b\x23\xd3\xdb\xe3]|[\x14\x1c$]…….?.?.?.?.?.?.?.?.?[\xc6-\xff])
POP3:^(\+ok .*pop)
SIP:^(invite|register|cancel|message|subscribe|notify)sip[\x09-\x0d -~]*sip/[0-2]\.[0-9]
Samba:\xffsmb[\x72\x25]
SMTP:^220[\x09-\x0d -~]* (e?smtp|simple mail)userspacepattern=^220[\x09-\x0d -~]* (E?SMTP|[Ss]imple [Mm]ail)userspace flags=REG_NOSUB REG_EXTENDED
SNMP:^\x02\x01\x04.+([\xa0-\xa3]\x02[\x01-x04].?.?.?.?\x02\x01.?\x02\x01.?\x30|\xa4\x06.+\x40\x04.?.?.?.?\x02\x01.?\x02\x01.?\x43)
Socks:\x05[\x01-\x08]*\x05[\x01-\x08]?.*\x05[\x01-\x03][\x01\x03].*\x05[\x01-\x08]?[\x01\x03]
SSH:^ssh-[12]\.[0-9]
SSL:^(.?.?\x16\x03.*\x16\x03|.?.?\x01\x03\x01?.*\x0b)
Telnet:^\xff[\xfb-\xfe].\xff[\xfb-\xfe].\xff[\xfb-\xfe]
Tor:TOR1.*<identity>

  

Рубрика: Mikrotik | Оставить комментарий

Замена логотипа при входе на микротик

/system note

set note=»\EF\BB\BF\r\
\n\r\
\n\r\
\n #### \
\r\
\n ## ## \
\r\
\n ## ## ##### ##### ###### ## ## ###### \
\r\
\n ## ## ## ## ## ## ## ## ## ## \
\r\
\n ## ## ## ## ## ## ## ## ## ## \
\r\
\n ####### ## ## ## ## ###### ## ## \
\r\
\n ## ## ##### ##### ## ## ## ## \
\r\
\n\t \r\
\n\r\
\n\r\
\n\r\
\n\r\
\n\r\
\n\t\t\t\t\t\t\t \r\
\n ### \r\
\n ### \r\
\n ##### #### ###### ###### ##### ## # ## ##### ## ## ### \r\
\n ## ## ## ## ## ## ## ## ## ## # ## ## ## ## ## # \r\
\n ### ##### ## ## ###### ###### ## # ## ###### ####### \r\
\n ## ## ## ## ## ## ## ## ## # ## ## ## ## ### \r\
\n ##### ##### ## ## ## ##### ####### ##### ## ## ### \r\
\n # \r\
\n\r\
\nAccess DENIED!\r\
\n\r\
\nContact e-mail: xxxx@mail.ru\r\
\n\r\
\n\r\
\n»

Рубрика: Mikrotik | Оставить комментарий

wget Яндекс диск

wget «your_link» -O filename

Всё просто. Кавычки обязательны.

Рубрика: Новости, Общее | Оставить комментарий

Проверка состояния батареи Linux

Встал вопрос как проверить износ батареи.

В windows надо запускать тестирование, и затем проверять состояние в html файле.

В linux все просто:

acpi -bi
Рубрика: Новости | Оставить комментарий