asterisk学习笔记8--voicemail
来源:互联网 发布:obs视频录制软件 编辑:程序博客网 时间:2024/05/01 13:39
There are two voicemail applications we can use in the dialplan (extensions.conf
):
VoiceMail()
- This application sends a caller to the voicemail system, where she will be asked to leave a message.
VoiceMailMain()
- This application lets recipients check their voice messages and record new voicemail prompts.
VoiceMail()
Action: The caller is prompted to leave a voice message.
The VoiceMail()
command is always called from the dialplan (extensions.conf
). For example:
exten => 2000,2,VoiceMail(2000,u)
Syntax
VoiceMail(mailbox[@context][,u|b|s])
mailbox
- This is the mailbox number. This does not have to be the same as the extension the caller dialled; nevertheless, this is a sensible practice, particularly in larger installations.
@context
Mailboxes may be implemented in a specific context. If no context is provided, the [default] context is used.
[u|b|s]
u
- causes the "unavailable" message to be played. The pathname for this message is
/var/lib/asterisk/sounds/vm-isunavail.gsm
b
- causes the "busy" to be played. The pathname for this message is
/var/lib/asterisk/sounds/vm-rec-busy.gsm.
s
- suppresses playback of the "unavailable" or "busy" notifications, plays a beep, and begins recording.
If there is no mailbox configured in voicemail.conf
for the given number but there is a n+101 priority, Asterisk jumps to this priority and continues executing there.
VoiceMailMain()
Action: Lets users listen to their voicemail messages and record prompts.
The VoiceMailMain()
command is always called from the dialplan (extensions.conf
). For example:
exten => 300,1,VoiceMailMain()
Syntax
VoiceMailMain([mailbox][@context][,s|p|g(#)])
mailbox
- This is the mailbox number. If no mailbox number is provided, Asterisk prompts for it.
@context
- specifies the voicemail context (in
voicemail.conf
) for the mailbox. [s|p|g#]
s
- Disables the password requirement.
p
- The user is asked for a mailbox number. The number entered is attached as a suffix to the contents of [mailbox]; for example, if the user enters 123, [mailbox]123 is called. This lets you easily configure mailbox groups.
g(#)
- Adjusts the gain (in decibels) when recording voicemail prompts.
IVR
A complete description of the voice menus for VoiceMailMain()
is difficult because they depend on the installed prompts. The main functions are described below.
1
Play messages 3
Advanced options 1
Reply2
Call back3
Envelope4
Outgoing call4
Play previous message5
Repeat the current message6
Play the next message7
Delete the current message8
Forward the message to another mailbox9
Save the message in a folder*
Help; during message playback, rewind#
Exit; during message playback, skip forward2
Change folders0
Mailbox options 1
Record your unavailable message2
Record your busy message3
Record your name4
Record your temporary message Recording options 1
Accept2
Review3
Re-record*
Help#
Exit[16] If you are using a pre-packaged Asterisk, the path may be different; for example, /usr/share/asterisk/sounds/
.
- asterisk学习笔记8--voicemail
- asterisk语音信箱voicemail.conf
- Asterisk postgresql voicemail
- asterisk语音信箱voicemail.conf
- Asterisk cmd voicemail
- asterisk学习笔记1
- asterisk学习笔记2
- Asterisk学习笔记
- asterisk 学习笔记1
- Asterisk PHP AGI 学习笔记
- Asterisk PHP AGI 学习笔记
- asterisk学习笔记6--特殊分机
- asterisk学习笔记7--宏定义规则
- Asterisk学习笔记之 -- AMI篇
- asterisk笔记
- FreePBX中Too many directories in /var/spool/asterisk/voicemail/default/错误的解决办法
- 搭建一个小型的asterisk电话系统 (四、增加voicemail功能)
- asterisk学习
- [J2ME]url请求返回参数非法(java.lang.illegalArgument)
- JDK Logger指定配置文件
- memcpy 用法
- 教务系统——班级管理——全部代码
- 三年不重装:令电脑百毒不侵的13个妙招
- asterisk学习笔记8--voicemail
- 谈关于mysql中文模糊查找问题
- JAVA排序汇总
- VC编程中常使用的子函数
- openSUSE 11.2 KDE4.3下Totem无法开启音频设备的解决方法
- HGE系列之三 渐入佳境
- [Linux]GNU自动化工具(automake工具链)
- iconv用法
- 《正在爆发的互联网革命》入围Sina2009最佳商业图书