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