Author Topic: Unique ringtone device or action - how?  (Read 4315 times)

JohnSuykerbuyk

  • Newbie
  • *
  • Posts: 2
    • View Profile
Unique ringtone device or action - how?
« on: November 20, 2017, 02:32:40 PM »
Incredibly impressed with all the power that is yate, and yet I seem to be totally humbled by the challenge of having my PC speakers "ring" upon an incoming call while using my USB headset to handle the call audio.

I'm sure there's some module conf file somewhere that will allow the ring tone to be played on one device and the call audio handled by another - but damned if several days of pouring through the threads and google search results turns up anything intelligible to me.

I'm running yate-qt4 version 5.5 on a fully up to date Arch Linux system (as of 20 Nov 2017).  Pulse audio is up and running and I have no problems routing ALL audio through the Plantronics USB headset I use.  However, I never hear an incoming call as the ring tone also goes through the USB headset.

Ideally I'd love to be able to hook an inbound call event to a script or some such to do exactly what I'd like but I would most certainly settle for having the ring sound go out on the loudest device on my system.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: Unique ringtone device or action - how?
« Reply #1 on: November 21, 2017, 02:19:36 AM »
YateClient has no support for separate audio device for incoming call alert.

You may implement some script to track incoming calls and play some alert on a device you want.
Audio device modules are located in modules/client (for various platforms there are alsa/oss (Linux), coreaudio (Mac) and dsound (Windows)).
Your script should track incoming calls, play a sound on a device at your choice and stop it when call is answered.

You may find some documentation at docs.yate.ro
You may want to look at chan.* and call.* messages.