Methods
DeleteVoicemails | (as: Voicemails) | → | nothing |
Signals
NewVoicemails | (i: VoicemailCount, aa{sv}: Voicemails) | |
VoicemailsRemoved | (i: VoicemailCount, as: Voicemails) |
Properties
VoicemailCapabilities | u (Voicemail_Capability_Flags) | Read only | ||
Voicemails | aa{sv} (Qualified_Property_Value_Map_List) | Read only | ||
VoicemailCount | i | Read only |
Types
Voicemail_Capability_Flags | Flags | u |
Description
This interface may be present on connections that support voicemail. It allows listing and management of voicemails, and provides for notification of new voicemails. It also indicates what capabilities this protocol supports for voicemail.
Clients interested in voicemail notification MUST indicate interest in this interface with AddClientInterest.
Retrieval of voicemail is not done via this interface, but is instead done by requesting a Call.DRAFT or StreamedMedia channel which includes properties from the Channel.Interface.VoicemailRetrieval.DRAFT interface. More documentation on how to request voicemails is available there.
Recording voicemails and notification of when calls are diverted to voicemail is provied by the Channel.Interface.Voicemail.DRAFT interface.
Cellular specific settings, such as the Voicemail service number, are stored in the Cellular interface.
Methods
DeleteVoicemails (as: Voicemails) → nothing
Parameters
- Voicemails — as (Voicemail_Token_List)
Possible Errors
- Disconnected
- Network Error
- Not Implemented
- Invalid Argument
Rationale:
Signals
NewVoicemails (i: VoicemailCount, aa{sv}: Voicemails)
Parameters
- VoicemailCount — i
- Voicemails — aa{sv} (Qualified_Property_Value_Map_List)
Notifies the client that new voicemails are present and ready to be retrieved.
If the server supports requesting individual voicemails, this signal will herald each unique voicemail, and these voicemails will appear individually in Voicemails.
If the server does not support individual voicemails, this signal will be emitted each time there are new voicemails to be retrieved, but will contain a generic entry and only a single generic entry will appear in Voicemails.
The total number of voicemails available can be checked via the VoicemailCount property.
VoicemailsRemoved (i: VoicemailCount, as: Voicemails)
Parameters
- VoicemailCount — i
- Voicemails — as (Voicemail_Token_List)
Notifies the client that voicemails have been removed.
If the server supports requesting individual voicemails, this signal will list each removed voicemail.
If the server does not support individual voicemails, this signal will be emitted each time there are voicemails that have been removed, but will contain a single generic entry.
The total number of voicemails available can be checked via the VoicemailCount property.
Properties
VoicemailCapabilities — u (Voicemail_Capability_Flags)
Voicemails — aa{sv} (Qualified_Property_Value_Map_List)
If the server supports listing voicemail, this is a complete list of the user's voicemail. Else it SHOULD be the list of all voicemails we know about (i.e. those that have been signalled by NewVoicemails.
If a server does not support retrieving individual voicemails, this list will contain one item, for the generic voicemail channel request, if there are voicemails to be retrieved. Else it will be an empty list.
Voicemails are given as a qualified property value map of properties from the Channel.Interface.VoicemailRetrieval.DRAFT interface.
If the VoicemailToken property isn't present, this means that there are voicemails present, but we don't know how to retreive them.
Rationale:
VoicemailCount — i
The number of voicemails present on the server.
This may not necessarily be the same as the number of items in Voicemails, since for some protocols, voicemails are requested via an interactive channel.
Rationale:
The value MUST always be 0, positive, or -1. The value -1 indicates that some number of voicemails exist on the server, but the number is unknown.
Rationale:
Types
Voicemail_Capability_Flags — u
- Supports_Listing_Voicemail (1)
- Supports_Deleting_Voicemail (2)
- Supports_Retrieving_Individual_Voicemail (4)