[Freeswitch-users] Ring Forever

Anthony Minessale anthony.minessale at gmail.com
Tue Dec 1 14:05:45 PST 2009

do you want to generate ringback forever or no?
The calling party will probably abort at some point.

put both of these in your context

<extension name="wait_forever">
 <condition field="destination_number" expression="wait_forever">
   <action application="sleep" data="300000"/>
   <action application="transfer" data="wait_forever"/>

<extension name="ring_forever">
 <condition field="destination_number" expression="ring_forever">
   <action application="gentones" data="${us-ring}|100"/>
   <action application="transfer" data="ring_forever"/>

then use one of these 2 sets of actions in your main ext

<action application="ring_ready"/>
<action application="transfer" data="wait_forever"/>

<action application="pre_answer"/>
<action application="transfer" data="ring_forever"/>

On Tue, Dec 1, 2009 at 4:30 PM, Esben Stien <b0ef at esben-stien.name> wrote:

> I'd like to set up an extension that would just ring forever.
> When a person calls this extension, it would ring until the end of
> times.
> I've tried several ways to do this, without luck, and I don't find any
> information on this on the wiki.
> Any pointers how to do this?.
> --
> Esben Stien is b0ef at e     s      a
>         http://www. s     t    n m
>          irc://irc.  b  -  i  .   e/%23contact
>           sip:b0ef@   e     e
>           jid:b0ef@    n     n
> _______________________________________________
> 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

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091201/3d01646d/attachment-0002.html 

More information about the FreeSWITCH-users mailing list