baide писал(а):При переводе звонка на внешнего абонента, перед соединением с текущей линией требуется проиграть текст.
M(macro[^arg[^...]]):
macro - Name of the macro that should be executed.
arg - Macro arguments
Execute the specified <macro> for the *called* channel
before
connecting to the calling channel. Arguments can be specified to the Macro
using '^' as a delimiter. The macro can set the variable ${MACRO_RESULT}
to specify the following actions after the macro is finished executing:
${MACRO_RESULT}: If set, this action will be taken after
the macro finished executing.
ABORT: Hangup both legs of the call
CONGESTION: Behave as if line congestion was
encountered
BUSY: Behave as if a busy signal was encountered
CONTINUE: Hangup the called party and allow the
calling party to continue dialplan execution at the next priority
GOTO:[[<context>^]<exten>^]<priority>: Transfer the
call to the specified destination.