Перейти до основного вмісту

Публікації

Показано дописи з міткою "Grandstream"

Часовий пояс у IP телефоні Grandstream

Для того, щоб ІР телефон Grandstream коректно показував час потрібно вказати Часовий пояс. Для цього потрібно у файлі конфігурації cfgxxxxxxxxxxxxx.xml вказати адресу NTP сервера <P30>xxx.xxx.xxx.xxx</p30>   TimeZone для України <P64>EET-2EEST,M3.5.0/3,M10.5.0/4</P64> Формат дати звиклий (dd-mm-yyyy) <P102>2</P102> Опис параметру "Time Zone" The syntax is: std offset dst [offset], start [/time], end [/time] Default is set to: MTZ+6MDT+5,M4.1.0,M11.1.0  MTZ+6MDT+5 This indicates a time zone with 6 hours offset with 1 hour ahead which is U.S central time. If it is positive (+) if the local time zone is west of the Prime Meridian (A.K.A: International or Greenwich Meridian) and negative (-) if it is east. M4.1.0,M11.1.0 The 1st number indicates Month: 1,2,3.., 12 (for Jan, Feb, .., Dec) The 2nd number indicates the nth iteration of the weekday: (1st Sunday, 3rd Tuesday...) The 3rd number indicates weekday: 0,1,2,..,6( for Sun, Mon, Tues,..

Настройка сервера DHCP для Cisco 79xx и не только

Нужно чтоб ы  сервер DHCP в ы давал разн ы е адреса разн ы м типам устройств. Для аппаратов Cisco необходимо сообщить опцию 150 - адрес сервера TFTP. А для аппаратов Grandstream необходимо сообщить опцию 66 - имя сервера TFTP и опцию 42 - имя сервера NTP. А для тонких клиентов нужно сообщить имя файла для загрузки с сервера TFTP. Ниже пример файла /etc/dhcpd.conf class "cisco" { match if binary-to-ascii(16,8,":",substring(hardware,1,3))= "0:1b:53"; } class "grand" { match if binary-to-ascii(16,8,":",substring(hardware,1,3))= "0:b:82"; } ddns-update-style none; default-lease-time 7200; max-lease-time 86400; authoritative; option voip-tftp-server code 150 = ip-address;  option voip-tftp-name code 66 = text; option ntp-server-name code 42 = text; log-facility local7; server-name "192.168.0.100"; option voip-tftp-server 192.168.0.100; option voip-tftp-name "192.168.0.100"; option ntp-server-name "19