[Freeswitch-users] Simple script for ringtone

Antonio Silva asilva at wirelessmundi.com
Wed Jul 5 21:27:47 UTC 2017


You can try, this will ring forever but the line/remote must support 
early media in order to work


<extension name="ringing on early media" continue="false">
<condition field="destination_number" expression=".*">
<action application="pre_answer"/>
<action application="endless_playback" 
data="tone_stream://%(1500,3000,425.0)"/>
</condition>
</extension>


Regards,
António

On 07/05/2017 05:42 PM, Alex Lake wrote:
> I want to set up a number that just rings and never answers. 
> Unfortunately my freeswitch is very rusty!
>
> Can someone help me out with what must be a 2 or 3 line script? ;-)
>
> Alex
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list