Архивы автора: stas2000
BLF key for DAY night mode
BLF key for DAY night mode Enable Custom Device States
Call Wating ENABLED from cli
Call Wating ENABLED from cli asterisk -rx ‘database put CW 200 ENABLED’
Remove zero from number
[followMe]exten => s,1,Answer()same => n,Set(CALLERID(num)=${CALLERID(num):1})same => n(dest-ext),Goto(timeconditions,1,1)
Relocation javascript
echo «self.location=’time_setting.php’;»;
Convert php to javascript
var numbers = JSON.parse(‘<?= $numbers ?>’);
Вывод информации о текущих каналах
core show channels concise core show channels verbose core show channels count
Поиск текста в файлах Centos
grep -r «my_txt» /etc/asterisk/
Debug Agi
asterisk -rx ‘core stop now’ asterisk -vvvgc agi set debug on
Добавить Extension в очередь
member=Local/Exn-num@customer-survey-ivr/n,0,Exn-num,hint:Exn-num@ext-local
