VoiceMail()

Hinterlässt eine Voicemail-Nachricht in der angegebenen Mailbox.

VoiceMail(Mailbox[@Context][&Mailbox[@Context][&...]],Optionen)

alte Syntax:

VoiceMail([s|u|b]Mailbox[@Context][&Mailbox[@Context][&...]])

Erlaubt dem Anrufer, in der angegebenen Mailbox eine Voicemail-Nachricht zu hinterlassen. Die Mailbox muss in voicemail.conf konfiguriert sein. Sind mehrere Mailboxen aufgelistet, wird die Begrüßung der ersten gespielt. Wenn die Mailbox nicht existiert, wird die Ausführung des Dialplans abgebrochen.

Mit der Option s (silent) werden die Anweisungen zum Hinterlassen der Nachricht übersprungen. Mit u (unavailable) wird die Nicht-verfügbar-Nachricht abgespielt, falls vorhanden. Bei b (busy) wird die Besetzt-Nachricht gespielt (Datei busy statt unavail).

Mit j wird bei einem Fehler zur Extension n+101 gesprungen, wenn vorhanden.

Drückt der Teilnehmer während der Eingabeaufforderung 0 (Null), geht der Anruf zur Extension o (kleiner Buchstabe o, Operator) im aktuellen Context über.

Drückt der Teilnehmer während der Eingabeaufforderung *, geht der Anruf zur Extension a (Assistant) im aktuellen Context über.

Gibt im Falle eines Fehlers, falls die Mailbox nicht gefunden wird oder der Teilnehmer auflegt -1 zurück, sonst 0. Setzt die Channelvariable VMSTATUS auf SUCCESS (Erfolg), USEREXIT (Abbruch durch Anrufer) oder FAILED (Fehler).

; den Anrufer zur Mailbox 123 leiten, mit Nicht-erreichbar-Nachricht:
exten => 123,1,VoiceMail(123,u)
[Anmerkung]Anmerkung

Interner Hilfetext zu dieser Applikation in Asterisk 1.4: 

  -= Info about application 'VoiceMail' =- 

[Synopsis]
Leave a Voicemail message

[Description]
  VoiceMail(mailbox[@context][&mailbox[@context]][...][|options]): 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. The possible values are:
               SUCCESS | USEREXIT | FAILED

  Options:
    b    - Play the 'busy' greeting to the calling party.
    g(#) - Use the specified amount of gain when recording the voicemail
           message. The units are whole-number decibels (dB).
    s    - Skip the playback of instructions for leaving a message to the
           calling party.
    u    - Play the 'unavailble greeting.
    j    - Jump to priority n+101 if the mailbox is not found or some other
           error occurs.

Differenz zum internen Hilfetext in Asterisk 1.2: 

28c28
<     u    - Play the 'unavailble greeting.
---
>     u    - Play the 'unavailable greeting.

Siehe auch. VoiceMailMain(), voicemail.conf


Version 1.2, November 2002

Neue Version verfügbar

Sie betrachten gerade die alte Version des Buches (Version 1.0). Wir empfehlen Ihnen für Asterisk 1.4 und 1.6 die neue Version des Buches.

Asterisk-Tag 2008

Lernen Sie Mark Spencer (den Erfinder von Asterisk) kennen! Viele Vorträge, Case-Studies und Workshops rund um das Thema VoIP. Asterisk-Tag.org

Das gedruckte Buch