VoIPNotes - hpepper/henpep-dev-tools GitHub Wiki

VoIP

flowchart TD
  A[Deploy] --> B{Is it friday?};
  B -- Yes --> C[Do not deploy!];
  graph TD;
      A-->B;
      A-->C;
      B-->D;
      C-->D;
solid cube_corner
  facet normal 0.0 -1.0 0.0
    outer loop
      vertex 0.0 0.0 0.0
      vertex 1.0 0.0 0.0
      vertex 0.0 0.0 1.0
    endloop
  endfacet
  ...

SIP

WebRTC

TURN

In order to get the coturn 'relay' to work I had to define and use the /etc/turnserver.conf

  • lt-cred-mech

  • user=guest:secret

  • run_coturn.sh

#!/usr/bin/bash

/usr/bin/turnserver -c /etc/turnserver.conf --pidfile /run/turnserver/turnserver.pid --log-file=stdout --listening-ip=10.5.0.4 --verbose

# --external-ip=  I think I needs this as well, when running in Azure, but not sure. the Tickle ICE shows the internal 10.5.0.4 IP in relay, and I'm thinking it should probably be the public IP instead shown.

Installstion (from memory)

  1. sudo apt install coturn
  2. sudo systemctl stop coturn
  3. sudo systemctl disable coturn

Scratch pad