-
Copy all downloaded file in
/var/www/html
directory on issabel -
Set
775
or777
permission to all downloaded files -
Go to
/var/www/html
directory
cd /var/www/html
- Open
zarbinnetwork_telegram_sendCallinfo.php
and set telegrambot and telegramchatid
$token = "TelegramBot";
$chat_id = "TelegramChatID";
- open
/etc/asterisk/extensions_custom.conf
createzarbinnetwork
context and include it
[from-internal-custom]
include => zarbinnetwork
[zarbinnetwork]
exten => _.,n,AGI(zarbinnetwork_telegram_sendCallinfo.php)
- Reload asterisk dialplan
asterisk -r
reload
exit