M
M
Maxim Shishkov2018-02-21 09:57:45
Asterisk
Maxim Shishkov, 2018-02-21 09:57:45

How to make email notifications about all calls to a specific group?

Good afternoon. I have FreePBX 13.0.192.8
Configured email notification about missed calls on all call groups.


/etc/asterisk/extensions_override_freepbx.conf
[ext-group]
exten => h,1,System(python /usr/local/bin/sendmail.py "In ${STRFTIME(${EPOCH},,%Y-%m -%d %H:%M:%S)} missed call from ${CALLERID(all)}")
exten => h,2,Macro(hangupcall,)

Now the incoming call policy has changed and you need to send notifications to the mail about all calls, but only from the group with the internal number 701. The rest are not interesting. What is the current configuration?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Shishkov, 2018-02-21
@Trumdu

Everything turned out to be quite simple: I
changed the config to

[ext-group]
exten => 999,1,System(python /usr/local/bin/sendmail.py "At ${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M :%S)} call from ${CALLERID(all)}")
exten => 999,n,Macro(hangupcall,)
and added an external dial to the number 999 to the desired group

S
Sergey, 2019-08-17
@kolumb

Tell me how to set up email notifications on FreePBX 14

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question