Hi FreePBX Pros!
In the context definitions of the configuration file /etc/asterisk/extensions_additional.conf there are “include” lines in every context. Example:
[sub-diversion-header]
include => sub-diversion-header-custom
exten => s,1,Set(DIVERSION_REASON=${IF($[${LEN(${DIVERSION_REASON})}=0]?no-answer:${DIVERSION_REASON})})
exten => s,n,Gosub(func-set-sipheader,s,1(Diversion,<tel:${FROM_DID}>\;reason=${DIVERSION_REASON}\;screen=no\;privacy=off))
exten => s,n,Return()
;--== end of [sub-diversion-header] ==--;
Here the “include” line is
include => sub-diversion-header-custom
My question:
- The referenced element “sub-diversion-header-custom”, is it a file?
- If yes, where can I find the file? It seems that it does not exist by default.
- If I have to create this file, where do I have to store it and how does it look like? Any examples?
Thank you!