Как внести изменения в звездочку голосовой почты 11

#asterisk

#звездочка

Вопрос:

Новичок в asterisk и должен поддерживать старую установку. Если мне нужно изменить параметры голосовой почты, это единственный способ изменить файл ./usr/local/src/asterisk/apps/app_voicemail.c?

Как мне поступить после ее изменения?

Это то, что я собрал из своего исследования:

Вам нужно выполнить:

./configure

настройте меню (и настройте параметры в соответствии с вашей текущей системой)

внести

выполнить установку

все как root

Я также ужасно разбираюсь в Linux, так что может кто-нибудь просветить меня о процессе изменения конфигурации голосовой почты?

Ответ №1:

у app_voicemail нет настроек для изменения параметров.

Вы можете переписать его с помощью AGI или можете переписать исходный код. Оба будут здесь оффтопическими (не на одной странице).

Вот все параметры, которыми вы можете управлять без кодирования:

 pro-sip*CLI> core show application VoiceMail

  -= Info about application 'VoiceMail' =- 

[Synopsis]
Leave a Voicemail message. 

[Description]
This application allows the calling party to leave a message for the specified
list of mailboxes. When multiple mailboxes are specified, the greeting will be
taken from the first mailbox specified. Dialplan execution will stop if the
specified mailbox does not exist.
The Voicemail application will exit if any of the following DTMF digits are
received:
    0 - Jump to the 'o' extension in the current dialplan context.
    * - Jump to the 'a' extension in the current dialplan context.
This application will set the following channel variable upon completion:
${VMSTATUS}: This indicates the status of the execution of the VoiceMail
application.
    SUCCESS
    USEREXIT
    FAILED

[Syntax]
VoiceMail(mailbox[@context][amp;mailbox[@context][amp;...]][,options])

[Arguments]
options
    b: Play the 'busy' greeting to the calling party.

    d([c]): Accept digits for a new extension in context <c>, if played during
    the greeting. Context defaults to the current context.

    g(#): Use the specified amount of gain when recording the voicemail
    message. The units are whole-number decibels (dB). Only works on supported
    technologies, which is DAHDI only.

    s: Skip the playback of instructions for leaving a message to the calling
    party.

    u: Play the 'unavailable' greeting.

    U: Mark message as 'URGENT'.

    P: Mark message as 'PRIORITY'.