Content

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Table of Contents


Introduction

IP multicast is a technique for one-to-many communication over an IP network. The transmitter sends out packets to a specific multicast IP address. Any node (phone) listening on this IP address will receive the stream and play it in handsfree mode.

Currently any Snom phone can use up to 10 multicast addresses. The index of the addresses is equivalent to the stream priority: 1 is lowest, 10 is highest.

Streams with higher priorities will overlap those with lower priority. This description deals with firmware version 8.x.



Configuration of the phones for announcements

The Multicast configuration can be found in the phones web interface on Advanced SIP/RTP.

Image Added

  • Turn multicast support on.
  • Enter a valid multicast IP-address and port, separated by colons into a index line.

The default codec used by the phone when sending multicast is pcmu, with a packet-size of 20 milliseconds. Starting with version 8.6.6, you can edit these values using the following settings:

Starting with version 8.7.3.26, you can setup the multicast address with additional options:

  • speaker=(0|1): If this option is set and value is 1, then the multicast audio will be played always over speaker. If value is 0, then the current audio device will be used. If this option is not set, then value 0 is used as default value.
  • interrupt=(0|1[|2(*)]):
    If this option is set and value is 1, then the multicast audio interrupts a running call. If multicast is finished, then the interrupted call continues. If value is 0, the multicast audio will only be played in idle state. If this option is not set, then value 0 is used as default value. (*)Starting with 8.7.5.75 and 8.9.3.67 the value can also be 2. If this value is set, then the call will be mixed with the multicast audio in a local conference. But this is only supported on snom7XX and snom3X5 phones.
  • volmax=(0|1): If this option is set and value is 1, then the maximal volume will be used for multicast audio. If value is 0, then the current volume will be used. If this option is not set, then value 0 is used as default value.
  • priority=(0..10): This option sets the priority of the multicast address. You can choose a priority between 0 and 10, where 0 is the lowest and 10 the highest priority. If the phone receives multicast from more than one configured port, then the multicast with the highest priority will be played. If they have the same priority then the multicast will be played, that was received first. If this option is not set, then a priority of 5 is used as default.

Example XML

Code Block
mc_address1=239.255.255.230:5555,speaker=1,interrupt=1,volmax=1,priority=9,name=Sales

Behavior

interruptA call is active and
multicast  comes in
Multicast is active and
a call comes in
Multicast is active and
the user makes an outgoing call
0 (default)
  • only the call is running
  • multicast is ignored
  • knocking to indicate an incoming call
  • after connect multicast is interrupted and call is running
  • if a number is entered or if tones are played (e.g. ringback) during the dial process, multicast is interrupted
  • after connect multicast is interrupted and call is running
  • after call is finished, multicast is resumed
1
  • call is interrupted without informing the remote party
  • multicast is played
  • after multicast has finished, the call is resumed
  • knocking to indicate an incoming call
  • after connect multicast is interrupted and call is running
  • if a number is entered or if tones are played (e.g. ringback) during the dial process, multicast is interrupted
  • after connect multicast is interrupted and call is running
  • after call is finished, multicast is resumed 
2
  • multicast is mixed with the running call
  • knocking to indicate an incoming call
  • after connect  multicast is mixed with the running call
  • if a number is entered or if tones are played (e.g. ringback) during the dial process, multicast is interrupted
  • after connect  multicast is mixed with the running call
3
  • call is put on hold
  • multicast is played
  • after multicast has finished, the call is still on hold and a manual unhold is needed to resume the call
  • knocking to indicate an incoming call
  • after connect multicast is interrupted and call is running
  • if a number is entered or if tones are played (e.g. ringback) during the dial process, multicast is interrupted
  • after connect multicast is interrupted and call is running
  • after call is finished, multicast is resumed 




Configuration for Streaming MP3 or WAV Files over Multicast with VLC or FFMPEG

It is possible to stream an audio file directly to the snom phones via multicast. This can be used to start pre-recorded audio announcements or automated audio warning messages. Depending on which file format your audio file is, a different streaming tool has to be used.

ffmpeg works for both wav and mp3 files but vlc only works for wav files.

On the receiving phone configure:

Code Block
multicast_listen=on
mc_address1=239.255.255.244:5555


On the PC or MAC in the terminal window type:

VLC


Code Block
PATH/TO/VLC PATH/TO/WAVFILE --sout "#transcode{acodec=ulaw,ab=16,scale=1,channels=1,samplerate=8000}:rtp{dst=239.255.255.244,port-audio=5555}"


FFMPEG

  • g711u

    Code Block
    PATH/TO/FFMPEG -re -i PATH/TO/MP3FILE -filter_complex 'aresample=8000,asetnsamples=n=160' -acodec pcm_mulaw -ac 1 -f rtp udp://239.255.255.244:5555


  • g722

    Code Block
    PATH/TO/FFMPEG -re -i PATH/TO/MP3FILE -filter_complex 'aresample=16000,asetnsamples=n=160' -acodec g722 -ac 1 -f rtp udp://239.255.255.244:5555


Info

FW Version <=10.1.42.14 - D717, D735 and D335 only support g711u properly (ulaw option in vlc and mulaw option in ffmpeg). All other phones support g722 as well.

FW Version >= 10.1.42.14 - All phones support g711 as well as g722



Multicast via snom phone

The snom phones D3xx, D7xx, PA1 and MP are able to generate a muticast stream. You need to setup a function key for that.

Example

Image Added



Visualisation

Starting with version 8.9.3.58 incoming multicast audio will be displayed by an icon in the title bar on phones with monochrome displays.

Example monochrome display:

  • On high resolution monochrome display (D745, D305, D315, D345): Image Added

Image Added


On all other phones the text "PA" will be shown in the status message line.

Image Added



Multicast Zones

The concept of Multicast Zones is introduced in version 10.1.x. The configuration is done on the web interface the same as before, with the addition of Zone names.

Image Added


A new keyevent type F_ZONES is added, so that a function key can be configured for the Multicast Zone feature, using the web interface as shown below.

Image Added


An example showing the idle screen of D375:

Image Added


The above softkey will bring up the Multicast Zones screen on the phone interface.

Image Added


The user can select the zone on which to start the outbound multicast stream. The first number is the zone number, and corresponds to the keypad shortcut. For example, user presses 2 to select Zone 2.

Image Added


Tip

Note: key 0 corresponds to zone 10.


Include Page
Howto Footer - uni-en
Howto Footer - uni-en

Content by Label
showLabelsfalse
showSpacefalse
sorttitle
cqllabel = "multicast"


Sv translation
languagede

Table of Contents


Einführung

IP-Multicast ist eine Technik für die Eine/r-zu-Viele-Kommunikation über ein IP-Netzwerk. Der Sender sendet Pakete an eine bestimmte Multicast-IP-Adresse. Jeder Teilnehmer (Telefon), der auf diese IP-Adresse konfiguriert ist und  somit zuhört, empfängt den Stream und spielt ihn im Freisprechmodus ab.

Derzeit kann jedes Snom-Telefon bis zu 10 Multicast-Adressen verwenden. Der Index der Adressen entspricht der Stream-Priorität: 1 ist die niedrigste, 10 die höchste.

Streams mit höheren Prioritäten überlagern die Streams mit niedrigeren Prioritäten. Diese Beschreibung bezieht sich auf die Firmware-Version 8.x.


Konfiguration der Telefone für Durchsagen

Die Multicast-Konfiguration finden Sie in der Weboberfläche des Telefons unter Erweitert → SIP/RTP.

  • Schalten Sie die Multicast-Unterstützung ein.
  • Geben Sie eine gültige Multicast-IP-Adresse und einen Port ein, getrennt durch Doppelpunkte in einer Indexzeile.

Der vom Telefon beim Senden von Multicast verwendete Standard-Codec ist pcmu mit einer Paketgröße von 20 Millisekunden. Ab der Version 8.6.6 können Sie diese Werte mit den folgenden Einstellungen bearbeiten:

Ab Version 8.7.3.26 können Sie die Multicast-Adresse mit zusätzlichen Optionen einrichten:

  • speaker=(0|1): Wenn diese Option gesetzt ist und der Wert 1 ist, wird das Multicast-Audio immer über den Lautsprecher wiedergegeben. Wenn der Wert 0 ist, wird das aktuelle Audiogerät verwendet. Wenn diese Option nicht gesetzt ist, wird der Wert 0 als Standardwert verwendet.
  • interrupt=(0|1[|2(*)]):
    Wenn diese Option gesetzt ist und der Wert 1 ist, unterbricht das Multicast-Audio einen laufenden Anruf. Wenn Multicast beendet ist, wird der unterbrochene Anruf fortgesetzt. Wenn der Wert 0 ist, wird das Multicast-Audio nur im Ruhezustand wiedergegeben. Wenn diese Option nicht gesetzt ist, wird der Wert 0 als Standardwert verwendet. (*)Ab 8.7.5.75 und 8.9.3.67 kann der Wert auch 2 sein. Wenn dieser Wert eingestellt ist, wird der Anruf in einer lokalen Konferenz mit dem Multicast-Audio gemischt. Dies wird jedoch nur auf snom7XX und snom3X5 Telefonen unterstützt.
  • volmax=(0|1): Wenn diese Option aktiviert ist und der Wert 1 ist, wird die maximale Lautstärke für Multicast-Audio verwendet. Wenn der Wert 0 ist, wird die aktuelle Lautstärke verwendet. Wenn diese Option nicht gesetzt ist, wird der Wert 0 als Standardwert verwendet.
  • priority=(0..10): Diese Option stellt die Priorität der Multicast-Adresse ein. Sie können eine Priorität zwischen 0 und 10 wählen, wobei 0 die niedrigste und 10 die höchste Priorität ist. Wenn das Telefon Multicast von mehr als einem konfigurierten Port empfängt, wird der Multicast mit der höchsten Priorität wiedergegeben. Wenn sie die gleiche Priorität haben, wird der Multicast abgespielt, der zuerst empfangen wurde. Wenn diese Option nicht aktiviert ist, wird standardmäßig eine Priorität von 5 verwendet.

Beispiel XML

Code Block
mc_address1=239.255.255.230:5555,speaker=1,interrupt=1,volmax=1,priority=9,name=Sales

Verhalten

interrupt

Ein Anruf ist aktiv und multicast kommt rein

Multicast ist aktiv und ein Anruf kommt rein

Multicast ist aktiv und der Benutzer führt einen ausgehenden Anruf durch

0 (default)
  • Nur der Anruf läuft
  • Multicast wird ignoriert
  • Anklopfen, um einen eingehenden Anruf anzuzeigen
  • Nachdem die Multicast Verbindung unterbrochen wurde läuft der Anruf.
  • Wird eine Nummer eingegeben oder werden während des Wahlvorgangs Töne (z.B. Rückruf) wiedergegeben werden, wird der Multicast unterbrochen.
  • Nachdem die Multicast Verbindung unterbrochen wurde läuft der Anruf.
  • Nach Beendigung des Anrufs wird der Multicast wieder aufgenommen.
1
  • Der Anruf wird unterbrochen, ohne die entfernte Partei zu informieren.
  • Multicast wird wiedergegeben
  • Nach Beendigung des Multicastes wird der Anruf wieder aufgenommen.
  • Anklopfen, um einen eingehenden Anruf anzuzeigen
  • Nachdem die Multicast Verbindung unterbrochen wurde läuft der Anruf.
  • Wird eine Nummer eingegeben oder werden während des Wahlvorgangs Töne (z.B. Rückruf) wiedergegeben, wird der Multicast unterbrochen.
  • Nachdem die Multicast Verbindung unterbrochen wurde läuft der Anruf.
  • Nach Beendigung des Anrufs wird der Multicast wieder aufgenommen.
2
  • Multicast wird mit dem laufenden Ruf gemischt.
  • Anklopfen, um einen eingehenden Anruf anzuzeigen
  • Nach der Verbindung wird Multicast mit dem laufenden Ruf gemischt.
  • Wird eine Nummer eingegeben oder werden während des Wahlvorgangs Töne (z.B. Ringback) wiedergegeben, wird der Multicast unterbrochen.
  • Nach der Verbindung wird Multicast mit dem laufenden Ruf gemischt.
3
  • Gespräch wird auf Halten gesetzt
  • Multicast wird abgespielt
  • Nachdem der Multicast beendet ist, ist der Anruf noch in der Warteschleife und es ist ein manuelles heranziehen erforderlich, um den Anruf fortzusetzen.
  • Anklopfen, um einen eingehenden Anruf anzuzeigen
  • Nachdem die Multicast Verbindung unterbrochen wurde läuft der Anruf.
  • Wird eine Nummer eingegeben oder werden während des Wahlvorgangs Töne (z.B. Ringback) abgespielt, wird der Multicast unterbrochen.
  • Nachdem die Multicast Verbindung unterbrochen wurde läuft der Anruf.
  • Nach Beendigung des Anrufs wird der Multicast wieder aufgenommen.



Konfiguration für Streaming von MP3- oder WAV-Dateien über Multicast mit VLC oder FFMPEG

Es ist möglich, eine Audiodatei per Multicast direkt auf die snom-Telefone und PA1 zu streamen. Dies kann verwendet werden, um voraufgezeichnete Audioansagen oder automatisierte Audio-Warnmeldungen zu starten. Je nachdem, welches Dateiformat Ihre Audiodatei hat, muss ein anderes Streaming-Tool verwendet werden.

  • Wenn Sie eine WAV-Datei haben, die Sie über Multicast streamen möchten, können Sie https://www.videolan.org/vlc/ herunterladen.
  • Wenn Sie eine mp3-Datei haben, die Sie über Multicast streamen möchten, können Sie https://ffmpeg.org/ herunterladen.

ffmpeg funktioniert sowohl für wav- als auch für mp3-Dateien, aber vlc funktioniert nur für wav-Dateien.


Auf dem empfangenden Telefon und PA1 konfigurieren:

Code Block
multicast_listen=on
mc_address1=239.255.255.244:5555


Auf dem MAC im Terminalfenster oder dem PC in der Kommandozeile - Typ:

VLC


Code Block
PATH/TO/VLC PATH/TO/WAVFILE --sout "#transcode{acodec=ulaw,ab=16,scale=1,channels=1,samplerate=8000}:rtp{dst=239.255.255.244,port-audio=5555}"


FFMPEG

  • g711u

    Code Block
    PATH/TO/FFMPEG -re -i PATH/TO/MP3FILE -filter_complex 'aresample=8000,asetnsamples=n=160' -acodec pcm_mulaw -ac 1 -f rtp udp://239.255.255.244:5555


  • g722

    Code Block
    PATH/TO/FFMPEG -re -i PATH/TO/MP3FILE -filter_complex 'aresample=16000,asetnsamples=n=160' -acodec g722 -ac 1 -f rtp udp://239.255.255.244:5555


Info

FW Version <=10.1.42.14 - D717, D735 und D335 unterstützen nur g711u richtig (ulaw Option in vlc und mulaw Option in ffmpeg). Alle anderen Telefone unterstützen auch g722.

FW Version >= 10.1.42.14 - Alle Telefone unterstützen sowohl g711 als auch g722.



Multicast über snom-Telefon

Die snom Telefone D3xx, D7xx, PA1 und MP sind in der Lage, einen Muticast-Stream zu erzeugen. Dazu müssen Sie eine Funktionstaste einrichten.

Beispiel


Visualisierung

Ab Version 8.9.3.58 wird eingehender Multicast Audio durch ein Symbol in der Titelleiste bei Telefonen mit monochromen Displays angezeigt.

Beispiel für eine monochrome Anzeige:

  • Auf hochauflösendem monochronem Display (D745, D305, D315, D345): 


Bei allen anderen Telefonen wird der Text "PA" in der Statuszeile angezeigt.



Multicast Zonen

Das Konzept der Multicast-Zonen wird in der Version 10.1.x vorgestellt. Die Konfiguration erfolgt auf der Weboberfläche wie bisher, mit zusätzlichen Zonennamen.


Ein neuer Keyevent Typ F_ZONES wurde hinzugefügt, so dass eine Funktionstaste für die Funktion Multicastzone über die Weboberfläche konfiguriert werden kann, wie unten gezeigt.


Ein Beispiel für den Ruhezustand des D375:


Der obige Softkey ruft den Bildschirm Multicast Zones auf der Telefonschnittstelle auf.


Der Benutzer kann die Zone auswählen, in der er den ausgehenden Multicast-Stream starten möchte. Die erste Zahl ist die Zonennummer und entspricht der Tastenkombination. So drückt der Benutzer beispielsweise 2, um Zone 2 auszuwählen.


Tip

Hinweis: Der Schlüssel 0 entspricht der Zone 10.


Include Page
Howto Footer - de
Howto Footer - de

Content by Label
showLabelsfalse
showSpacefalse
sorttitle
cqllabel = "multicast"