Email notification about missed calls from the module follow me

Hi
I use the follow-me module to forward calls to mobile phones
I want the system to send an email about missed calls if the mobile was disconnected, busy or the caller did not wait for a response
Now I’m using the code in extensions_custom.conf

exten => 2222,1,GotoIf($["${QUEUESTATUS}"=“CONTINUE”]?answered)
same => n,ExecIf($["${CDR(dstchannel)}"=""]?System(echo Missed call ${CALLERID(num)}" | sendmail -f missed -t [email protected]))

it sends a message if an internal number was not available
Can I make a notice for the module follow me?

eg

internal number 100 - follow me to the mobile 100000000 - if the call is not accepted on the mobile send an email to the mail [email protected]

internal number 200 - follow me to the mobile 200000000 - if the call is not received on the mobile send an email to the mail [email protected]

and so on

thank you for your help

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.