如何在 VoiceMail Asterisk 11 中进行更改

How to make a change in the VoiceMail Asterisk 11

asterisk 的新手,必须支持旧安装。如果我需要更改语音信箱选项,是更改 ./usr/local/src/asterisk/apps/app_voicemail.c 文件的唯一方法吗?

改完之后怎么办?

这是我从研究中收集到的:

你需要运行:

./配置

制作 menuconfig(并调整设置以匹配您当前的系统)

制作

进行安装

全部为 root

我在 Linux 方面也很糟糕,所以有人可以告诉我更改语音邮件配置的过程吗?

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][&mailbox[@context][&...]][,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'.