Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
143 views
in Technique[技术] by (71.8m points)

How to make a change in the VoiceMail Asterisk 11

New to asterisk, and have to support an old installation. If I need to change the voicemail options, is the only way to change the ./usr/local/src/asterisk/apps/app_voicemail.c file?

After changing it, how would I go about it?

This is what I gathered from my research:

You need to run:

./configure

make menuconfig (and adjust the settings to match your current system)

make

make install

all as root

I am also horrible at Linux, so can someone enlighten me on the process to change VoiceMail config ?

question from:https://stackoverflow.com/questions/65890508/how-to-make-a-change-in-the-voicemail-asterisk-11

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

app_voicemail have no settings for changing options.

You can rewrite it using AGI or can rewrite source code. Both will be offtopic here(not one page).

Here is all options you can control without coding:

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'.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...