[Freeswitch-users] Unloop extension

Michael Collins msc at freeswitch.org
Thu Jan 17 04:17:31 MSK 2013


No, it's available globally, whether used with $${} or ${} notation. You
can also see it from fs_cli:

freeswitch at default> global_getvar unroll_loops
true

More info about $${} vs. ${} is found
here<http://wiki.freeswitch.org/wiki/Channel_Variables#.24.7Bvariable.7D_vs._.24.24.7Bvariable.7D>
.

-MC

On Tue, Jan 15, 2013 at 8:09 PM, Ержан Тулепов <e.tylepov at btcom.kz> wrote:

> 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
> >
>
> _________________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130116/c32ca31b/attachment.html 


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