Я только что обновился с Asterisk 11 (Elastix), где этот скрипт работал, до Asterisk 14. Я получаю множество удивительных ошибок. Похоже, проблема в том, что отсутствуют некоторые приложения по умолчанию.
Я попытался удалить и перекомпилировать обе версии 13 и 14, используя команду «make menuselect», убедившись, что для большинства приложений отмечены выбранные параметры, включая параметр «Читать» заявление. Когда я закончу, я не вижу его в списке приложений Asterisk:
*CLI> core show applications
-= Registered Asterisk Applications =-
Answer: Answer a channel if ringing.
BackGround: Play an audio file while waiting for digits of an extension to go to.
Bridge: Bridge two channels.
Busy: Indicate the Busy condition.
CallCompletionCancel: Cancel call completion service
CallCompletionRequest: Request call completion service for previous call
Congestion: Indicate the Congestion condition.
ExecIfTime: Conditional application execution based on the current time.
Goto: Jump to a particular priority, extension, or context.
GotoIf: Conditional goto.
GotoIfTime: Conditional Goto based on the current time.
Hangup: Hang up the calling channel.
ImportVar: Import a variable from a channel into a new variable.
Incomplete: Returns AST_PBX_INCOMPLETE value.
MessageSend: Send a text message.
MSet: Set channel variable(s) or function value(s).
NoOp: Do Nothing (No Operation).
Proceeding: Indicate proceeding.
Progress: Indicate progress.
RaiseException: Handle an exceptional condition.
Ringing: Indicate ringing tone.
SayAlpha: Say Alpha.
SayAlphaCase: Say Alpha.
SayDigits: Say Digits.
SayNumber: Say Number.
SayPhonetic: Say Phonetic.
Set: Set channel variable or function value.
SetAMAFlags: Set the AMA Flags.
Wait: Waits for some time.
WaitExten: Waits for an extension to be entered.
-= 30 Applications Registered =-
В моей сборке Elastix было перечислено более 150 приложений, выполняющих то же самое. Что я могу сделать? Я не видел никаких руководств по включению определенных приложений, кроме использования метода «menuselect», любые советы приветствуются.
Модули устанавливаются в / lib / asterisk / modules. Найдите app_read.so. Попробуйте загрузить его в звездочку вручную (модуль load app_read.so). Проверьте журнал звездочки, если он не загружен.