mts
September 23, 2009, 8:06pm
1
Hi there,
I want to change the following:
exten => 31,hint,SIP/30&Custom:DND30
to
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,
[ext-dnd-hints]
include => ext-dnd-hints-custom
therefore, in /etc/asterisk/extensions_custom.conf
, add the following,
[ext-dnd-hints-custom]
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.
/S