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
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Anthony Minessale <anthony.minessale@gmail.com> writes:
do you want to generate ringback forever or no?
Yes, I want the dialing party to get a ring forever. This is because I cannot transfer the party to my SIP phone, because my SIP phone is broken for incoming calls. I'll solve it by letting the party hear a ring and then I'll use the event socket to give me a notification. I'll then dial in with my SIP phone to a conference room and transfer the calling party there. I did this: <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> <extension name="eternal_ring"> <condition field="destination_number" expression="4ever"> <action application="pre_answer"/> <action application="transfer" data="ring_forever"/> </condition> </extension> ..which gives me an eternal ring, but it sounds choppy and it sounds as if the following ring starts on top of the currently playing ring. I hear crackling sounds, which I don't experience with any other use of freeswitch. Any idea? -- 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
are you on older REV? try answering first to compare. On Tue, Dec 1, 2009 at 6:29 PM, Esben Stien <b0ef@esben-stien.name> wrote:
Anthony Minessale <anthony.minessale@gmail.com> writes:
do you want to generate ringback forever or no?
Yes, I want the dialing party to get a ring forever. This is because I cannot transfer the party to my SIP phone, because my SIP phone is broken for incoming calls.
I'll solve it by letting the party hear a ring and then I'll use the event socket to give me a notification. I'll then dial in with my SIP phone to a conference room and transfer the calling party there.
I did this:
<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>
<extension name="eternal_ring"> <condition field="destination_number" expression="4ever"> <action application="pre_answer"/> <action application="transfer" data="ring_forever"/> </condition> </extension>
..which gives me an eternal ring, but it sounds choppy and it sounds as if the following ring starts on top of the currently playing ring.
I hear crackling sounds, which I don't experience with any other use of freeswitch.
Any idea?
-- 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Anthony Minessale <anthony.minessale@gmail.com> writes:
are you on older REV?
I think I'm on 15334
try answering first to compare.
?, that's what I do: <extension name="eternal_ring"> <condition field="destination_number" expression="4ever"> <action application="pre_answer"/> <action application="transfer" data="ring_forever"/> </condition> </extension> -- 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
participants (2)
-
Anthony Minessale
-
Esben Stien