Change hint in [ext-local] (extensions_additional.conf)

Hi there,

I want to change the following:
exten => 31,hint,SIP/30&Custom:DND30
exten => 31,hint,SIP/31&SIP/30&Custom:DND30

So that a phone that suscribes to extension 30 gets also a hint when extension 31 it active.
Is it possible ? what should I do?

I’m not sure what [context] you’re in, but it should have a include => "<context>-custom" sister context. For example,

include => ext-dnd-hints-custom

therefore, in /etc/asterisk/extensions_custom.conf, add the following,

exten => 31,hint,SIP/31&SIP/30&Custom:DND30

The {EXTEN}=31 in the include-custom is inspected for first, and if found, should prevail. Substitute your actual working [] and [-custom] for the above example contexts.