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"/>
 </condition>
</extension>


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

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@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@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@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400