Merge changes dealing with support for Digium phones.
authorMark Michelson <mmichelson@digium.com>
Mon, 4 Jun 2012 20:26:12 +0000 (20:26 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 4 Jun 2012 20:26:12 +0000 (20:26 +0000)
commit14a985560ed5830aa3e1b5880890a59a5d0f0c2f
tree4d6f57c4358566c5508d79e97560640ce59df5c8
parentc1bbe79748bb1615ab116fe287b8d5d28a83b330
Merge changes dealing with support for Digium phones.

Presence support has been added. This is accomplished by
allowing for presence hints in addition to device state
hints. A dialplan function called PRESENCE_STATE has been
added to allow for setting and reading presence. Presence
can be transmitted to Digium phones using custom XML
elements in a PIDF presence document.

Voicemail has new APIs that allow for moving, removing,
forwarding, and playing messages. Messages have had a new
unique message ID added to them so that the APIs will work
reliably. The state of a voicemail mailbox can be obtained
using an API that allows one to get a snapshot of the mailbox.
A voicemail Dialplan App called VoiceMailPlayMsg has been
added to be able to play back a specific message.

Configuration hooks have been added. Configuration hooks
allow for a piece of code to be executed when a specific
configuration file is loaded by a specific module. This is
useful for modules that are dependent on the configuration
of other modules.

chan_sip now has a public method that allows for a custom
SIP INFO request to be sent mid-dialog. Digium phones use
this in order to display progress bars when files are played.

Messaging support has been expanded a bit. The main
visible difference is the addition of an AMI action
MessageSend.

Finally, a ParkingLots manager action has been added in order
to get a list of parking lots.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
36 files changed:
apps/app_mixmonitor.c
apps/app_queue.c
apps/app_voicemail.c
apps/app_voicemail.exports.in
channels/chan_sip.c
channels/chan_sip.exports.in [new file with mode: 0644]
channels/chan_skinny.c
channels/sip/include/sip.h
configs/manager.conf.sample
contrib/realtime/mysql/voicemail_messages.sql
funcs/func_presencestate.c [new file with mode: 0644]
include/asterisk/app.h
include/asterisk/app_voicemail.h [new file with mode: 0644]
include/asterisk/callerid.h
include/asterisk/config.h
include/asterisk/event_defs.h
include/asterisk/file.h
include/asterisk/manager.h
include/asterisk/message.h
include/asterisk/pbx.h
include/asterisk/presencestate.h [new file with mode: 0644]
include/asterisk/sip_api.h [new file with mode: 0644]
main/app.c
main/asterisk.c
main/callerid.c
main/channel.c
main/config.c
main/event.c
main/features.c
main/file.c
main/manager.c
main/message.c
main/pbx.c
main/presencestate.c [new file with mode: 0644]
tests/test_config.c
tests/test_voicemail_api.c [new file with mode: 0644]