[Freeswitch-users] playback to soundcard TML instead ringfile with portaudio
Tom Lynn
tom at tomlynn.com
Tue Jun 16 02:24:28 UTC 2020
have you considered recording it to a wave file?
On Mon, Jun 1, 2020 at 7:18 AM Tamer Higazi via FreeSWITCH-users <
freeswitch-users at lists.freeswitch.org> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: Tamer Higazi <th982a at googlemail.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Bcc:
> Date: Mon, 1 Jun 2020 16:17:29 +0200
> Subject: playback to soundcard TML instead ringfile with portaudio
> Hi people,
>
> I am using on my linux system a lot portaudio to place and make phone
> calls.
>
> Inside the portaudio.conf I am using:
> <param name="ring-file" value="/opt/freeswitch10/sounds/ring_dd.wav"/>
>
> that if a phone call comes in it respectively rings on my headset.
>
> Instead the file, i'd like freeswitch to playback tones via TML:
> https://freeswitch.org/confluence/display/FREESWITCH/TGML
>
> now what I want is to disable the ring-file and make freeswitch in the
> dialplan playback to myself (the soundcard) for example this UK ring:
> <action application="playback"
> data="tone_stream://%(400,200,400,450);%(400,2200,400,450)"/>
>
> not the callee should get this ring, freeswitch should playback this
> sequence before I execute "pa answer".
>
>
> Any ideas ?
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Tamer Higazi via FreeSWITCH-users <
> freeswitch-users at lists.freeswitch.org>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Bcc:
> Date: Mon, 01 Jun 2020 07:18:13 -0700 (PDT)
> Subject: [Freeswitch-users] playback to soundcard TML instead ringfile
> with portaudio
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200615/b6e0a930/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list