Author Topic: "headless" Sip-Client?  (Read 8657 times)

sirleon

  • Newbie
  • *
  • Posts: 2
    • View Profile
"headless" Sip-Client?
« 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.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: "headless" Sip-Client?
« Reply #1 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

sirleon

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: "headless" Sip-Client?
« Reply #2 on: June 22, 2017, 03:05:04 PM »
Thank you! This solved my problem.