You can’t use the custom include for your purpose. If you wish to alter a generated block of dialplan, you copy it into the file extensions_override_freepbx.conf and make your desired changes, then reload with fwconsole r.
I personally only ever do this when there is absolutely no other way to achieve my goal. What are you trying to do, there is probably a better way?
i’ve many different context in extensions_custom.conf if u mean it.
What i want is a “missed Call email” in a queue. found many explains but nothing with freepbx …
want to do something like this
exten => s,n,ExecIf($[${LEN(${CRM_VOICEMAIL})} <= 0]?System(echo ‘Missed Call from ${CALLERID(name)} Nummer:+ ${CALLERID(number)}’ | mail -s ‘Missed Call’ ‘[email protected]’))
Anything without an _custom is likely to be overwritten.
The best way to do this honestly is a module then it will hold across the board and should work with updates.