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 <[email protected]> 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 b...@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
> [email protected]
> 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:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to