Hello all, I thought that just setting <action application="playback" data="tone_stream://%(400,200,400,450);%(400,2200,400,450)"/> or something similar would make freeswicth giving a ringtone when it opens a SIP-connection. Alas, it doesn't. I freely admit that I feel lost in all the documents available; so a "RTFM" is an completely acceptable answer; as long as you point me to the correct place. Thank you.
this its working for me: <action application="set" data="ringback=%(1300, 4700, 450)"/> another working sample: <action application="set" data="ringback= v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440)"/> Best regards. On Thu, Mar 15, 2012 at 11:56 AM, Marcus Mülbüsch < muelbuesch@as-infodienste.de> wrote:
Hello all,
I thought that just setting <action application="playback" data="tone_stream://%(400,200,400,450);%(400,2200,400,450)"/> or something similar would make freeswicth giving a ringtone when it opens a SIP-connection.
Alas, it doesn't.
I freely admit that I feel lost in all the documents available; so a "RTFM" is an completely acceptable answer; as long as you point me to the correct place.
Thank you.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I tried this yesterday, so your question got to me before I forget it :-) http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer Pre-answer sends a SIP status code 183 and apparently opens up early media so that they can hear whatever tone stream you see fit to play to them. I also copied the example from the dialplan and padded some sleep time on either side of it to provide a cushion. I abandoned my effort at injecting a short 2600 Hz "wink" because it was too loud and hurt the ear. Perhaps an amplitude parameter might be in order for tone_stream? HTH Bote
-----Original Message----- From: Marcus Mülbüsch Sent: Thursday, 15 March, 2012 10:56
Hello all,
I thought that just setting <action application="playback" data="tone_stream://%(400,200,400,450);%(400,2200,400,450)"/> or something similar would make freeswicth giving a ringtone when it opens a SIP-connection.
Alas, it doesn't.
I freely admit that I feel lost in all the documents available; so a "RTFM" is an completely acceptable answer; as long as you point me to the correct place.
Thank you.
On Thu, 15 Mar 2012 11:46:39 -0400 "Bote Man" <bote_radio@botecomm.com> wrote:
I abandoned my effort at injecting a short 2600 Hz "wink" because it was too loud and hurt the ear. Perhaps an amplitude parameter might be in order for tone_stream?
May be you could cheat by editing the 2600Hz sound file and lower its level to, say 33% or 25% (or even less) from what it is; it takes 10s with audacity to do so. --
A tone_stream is not a sound file, it is a generated tone sequence. Bote
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Bzzz Sent: Thursday, 15 March, 2012 11:56 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] I do not get any ringtones?
On Thu, 15 Mar 2012 11:46:39 -0400 "Bote Man" <bote_radio@botecomm.com> wrote:
I abandoned my effort at injecting a short 2600 Hz "wink" because it
was
too loud and hurt the ear. Perhaps an amplitude parameter might be in order for tone_stream?
May be you could cheat by editing the 2600Hz sound file and lower its level to, say 33% or 25% (or even less) from what it is; it takes 10s with audacity to do so.
--
______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- users http://www.freeswitch.org
I abandoned my effort at injecting a short 2600 Hz "wink" because it was too loud and hurt the ear. Perhaps an amplitude parameter might be in order for tone_stream?
Ask and ye shall receive! You just needed to RTFM in the right place: http://wiki.freeswitch.org/wiki/TGML Note the "v" param. An example of using it is down in the Perl example of the bong tone. -MC
participants (5)
-
Bote Man
-
Bzzz
-
Cesar Bermudez
-
Marcus Mülbüsch
-
Michael Collins