Answer the question
In order to leave comments, you need to log in
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,)
Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question