Проблема вышла, откуда не ждал. В features.conf есть команда
Код: Выделить всё
t => *5,both,Macro,call-out
Код: Выделить всё
exten => s,1,Set(DYNAMIC_FEATURES=t)
ps asterisk 1.8.4.4
Код: Выделить всё
t => *5,both,Macro,call-out
Код: Выделить всё
exten => s,1,Set(DYNAMIC_FEATURES=t)
Неправильно! ActivateOn не может принимать такое значения!По идее должно отрабатывать при нажатии *5 как при входящем вызове, так и исходящем.
Код: Выделить всё
;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,"<AppArguments>"[,MOH_Class]]
;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>([<AppArguments>])[,MOH_Class]
; ActivateOn -> This is the channel of the call that the application will be executed
; on. Valid values are "self" and "peer". "self" means run the
; application on the same channel that activated the feature. "peer"
; means run the application on the opposite channel from the one that
; has activated the feature.
; ActivatedBy -> This is which channel is allowed to activate this feature. Valid
; values are "caller", "callee", and "both". "both" is the default.
; The "caller" is the channel that executed the Dial application, while
; the "callee" is the channel called by the Dial application.