MixMonitor()

Schneidet das Gespräch auf dem aktuellen Channel mit (eine Datei)

MixMonitor(Basisname.Format[,Optionen[,Befehl]])

Startet die Audio-Aufzeichnung des aktuellen Channels. Dabei werden im Gegensatz zu Monitor() direkt beide Kanäle zu einer Datei gemischt.

Optionen:

a
Hängt den Audio-Stream an eine bestehende Datei an.
b
Startet die Aufnahme erst, nachdem der Anruf mit einem anderen Channel verbunden wurde, also nachdem z.B. durch Dial() tatsächlich ein Gespräch zustande kommt.
v(x)
Passt die eingehende Lautstärke um Faktor x an (-4 bis 4).
V(x)
Passt die ausgehende Lautstärke um Faktor x an (-4 bis 4).
W(x)
Passt die eingehende und ausgehende Lautstärke um Faktor x an (-4 bis 4).

Befehl wird (falls angegeben) nach der Aufzeichnung ausgeführt. Die Variable ${MIXMONITOR_FILENAME} wird auf den Namen der aufgezeichneten Datei gesetzt.

Beachten Sie auch die Hinweise bei Monitor().

[Anmerkung]Anmerkung

Interner Hilfetext zu dieser Applikation in Asterisk 1.4: 

  -= Info about application 'MixMonitor' =- 

[Synopsis]
Record a call and mix the audio during the recording

[Description]
  MixMonitor(<file>.<ext>[|<options>[|<command>]])

Records the audio on the current channel to the specified file.
If the filename is an absolute path, uses that path, otherwise
creates the file in the configured monitoring directory from
asterisk.conf.

Valid options:
 a      - Append to the file instead of overwriting it.
 b      - Only save audio to the file while the channel is bridged.
          Note: does not include conferences.
 v(<x>) - Adjust the heard volume by a factor of <x> (range -4 to 4)
 V(<x>) - Adjust the spoken volume by a factor of <x> (range -4 to 4)
 W(<x>) - Adjust the both heard and spoken volumes by a factor of <x>
         (range -4 to 4)

<command> will be executed when the recording is over
Any strings matching ^{X} will be unescaped to ${X} and 
all variables will be evaluated at that time.
The variable MIXMONITOR_FILENAME will contain the filename used to record.

Differenz zum internen Hilfetext in Asterisk 1.2: 

- keine - 

Siehe auch. Monitor()


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