Answer the question
In order to leave comments, you need to log in
How to set up notification in telegram freepbx_12 asterisk_13?
I used the article https://habrahabr.ru/company/centosadmin/blog/303490/
I set up telegram, the messages go away, but I can’t understand where to enter the lines so that if a certain extension is not answered, the message leaves.
Answer the question
In order to leave comments, you need to log in
Initially, there was a problem: calls from my office come to my mobile and the number is determined by the outgoing trunk. It often happens that I can’t pick up the phone on time or the subscriber on the other end does not wait for my answer. I wanted to know who specifically called.
I solved the problem like this:
1. I set up the telegram according to the instructions from the article above.
2. Created (if it does not exist) extension_override_freepbx.conf
3. Entered the following there:
[from-internal]
exten => НОМЕР_МОЕГО_МОБИЛЬНОГО,1,System(/ПУТЬ_ДО_СКРИПТА/telegram.sh ИМЯ_ПОЛУЧАТЕЛЯ "Входящий звонок от ${CALLERID(num)}")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question