[RDD] OT Pi Audio Quality + SIP Hybrids

techdan at bigradio.fm techdan at bigradio.fm
Wed Jul 15 16:40:38 EDT 2015


Wayne,

Here is the script I am using for the listen line. I scammed most of it
from google digging.  I had to add the sleep lines to improve
connections.  

This script is called in crontab @reboot.

Todd



#!/bin/bash
if [ ! "$(pidof linphonec)" ]; then
        linphonecsh init
        sleep 10
        linphonecsh register --host 192.168.11.250 --username 318
--password 0318
        sleep 10
        linphonecsh generic 'autoanswer enable'
        sleep 10
        linphonecsh soundcard use 1
        sleep 10
        linphonecsh status register

else
        linphonecsh 'exit'
fi
exit 0





More information about the Rivendell-dev mailing list