Category:HowTo:Multicast Audio

From Snom User Wiki

Revision as of 14:08, 28 June 2017 by Berterp (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Languages: English • Deutsch

Author: Sascha Kruszka

Contents

Preconditions

The snom3xx, snom7xx, snom8xx, snomMP and the snomPA1 support paging via multicast IP. 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.

Extended informations

You can find more Information about Multicast IP here.

Configuration of the phones

The Multicast configuration can be found in the phones web interface on advanced->SIP/RTP

- Set Multicast Support to on
- Enter a valid multicast IP-address and port, separated by colons into a index line

File:snom_multicast.jpeg

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:

Multicast via FFMpeg

FFMpeg is a powerful audio encoder / decoder and can generate Multicast RTP Stream

Example

/opt/ffmpeg/ffmpeg -re -i ./test.mp3 -filter_complex 'aresample=8000,asetnsamples=n=160' -acodec pcm_mulaw -ac 1 -vn -f rtp udp://239.255.255.245:5555

the switch -filter_complex 'aresample=8000,asetnsamples=n=160' is needed in order to fix the RTP palyload size.

Multicast via snom phone

The snom phones 3xx, 7xx, 8xx and MP are able to generate a muticast stream. You need to setup a function key for that.

Example

File:multicast_stream.jpg

Multicast via snomONE

SnomONE supports paging via multicast, too. For a description visit this site here

Muticast via Freeswitch

Freeswitch supports paging via multicast, too. For a description visit this site here

Multicast via Asterisk

Asterisk (>= 1.8) supports MuticastRTP channel. Please visit this page

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. On all other phones the text "PA" will be shown in the status message line.

Example monochrome display:

  • On high resolution monochrome display (D745, D305, D315, D345): File:Multicast_snom_icon_font.png
File:Screen_D315_PA.png
  • On high low monochrome display (e.g. 710, 715, 720, D725): File:Multicast_snom10x10font.png‎
File:Screen_715_pa.png

Example color display (760, D765, D375):

File:Screen_D765_PA.png

On 8.7.5 the status message text "PA" will be shown on all phone types.

This category currently contains no pages or media.

Personal tools
Interoperability