[Freeswitch-users] Unloop extension

Ержан Туле Ержан Туле
Wed Jan 16 07:09:14 MSK 2013


Ain't what was set with <x-PRE-PROCESS cmd="set" ... gets set *only* when used in $${...} notation?

----- Original Message -----
From: Michael Collins [mailto:msc at freeswitch.org]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Wed, 16 Jan 2013 06:54:12 +0600
Subject: Re: [Freeswitch-users] Unloop extension


> Yes, it's okay. The pre-process does a set and ${unroll_loops} gets set as
> needed. Then this dp entry does the work:
>     <extension name="unloop">
>       <condition field="${unroll_loops}" expression="^true$"/>
>       <condition field="${sip_looped_call}" expression="^true$">
>         <action application="deflect" data="${destination_number}"/>
>       </condition>
>     </extension>
> 
> More info on sip_looped_call var:
> http://wiki.freeswitch.org/wiki/Variable_sip_looped_call
> 
> -MC
> 
> On Mon, Jan 14, 2013 at 9:33 PM, Ержан Тулепов
> <e.tylepov at btcom.kz> wrote:
> 
> > What unloop extension is used for? BTW: vars.xml pre-(process)-sets
> > unroll_loops, whereas DPs (public and default) are using channel variable
> > syntax? Is this ok?
> >
> > Y.
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > 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
> >
> 
> 
> 
> -- 
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
> 



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list