Yate Community Forum

Yate client => Linux => Topic started by: sirleon on June 20, 2017, 03:11:14 PM

Title: "headless" Sip-Client?
Post by: sirleon on June 20, 2017, 03:11:14 PM
Hello Yate-Community,

I've a running setup of yate server on my raspian / raspberry pi 2. My goal is to auto-accept incoming calls and route them to local audio output (alsa). No GUI is installed so i need a sip-client running as a service. Any hints and ideas are welcome.
Title: Re: "headless" Sip-Client?
Post by: marian on June 21, 2017, 01:09:26 AM
If all you need is to route incoming calls to local audio device ...

Load alsa or oss module:
yate.conf:
[postload]
${modulepath}/client/alsachan${modsuffix}=yes
${modulepath}/client/osschan${modsuffix}=yes

Route all calls to it:
regexroute.conf:
[general]
.*=alsa/default
.*=oss//dev/dsp
Title: Re: "headless" Sip-Client?
Post by: sirleon on June 22, 2017, 03:05:04 PM
Thank you! This solved my problem.