Re: [Freeswitch-users] Using Variables in Dialplans

2009-04-23 Thread Michael Collins
On Thu, Apr 23, 2009 at 1:07 PM, Chris Fowler wrote: > I added a Wiki example on this. Hopefully it will help the next > FreeSWITCHer… > > > > http://wiki.freeswitch.org/wiki/Time_of_Day_Routing > > > Thanks - it definitely will help. Having the perspective of newer users seeking help from the

Re: [Freeswitch-users] Using Variables in Dialplans

2009-04-23 Thread Chris Fowler
, 2009 08:29 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Using Variables in Dialplans On Wed, Apr 22, 2009 at 5:20 PM, Chris Fowler wrote: Brian, Michael, Thanks for the help - I had read that but not fully comprehended it until you spun it the way you did. Here&#

Re: [Freeswitch-users] Using Variables in Dialplans

2009-04-23 Thread Michael Collins
On Wed, Apr 22, 2009 at 5:20 PM, Chris Fowler wrote: > Brian, Michael, > > Thanks for the help - I had read that but not fully comprehended it until > you spun it the way you did. > > Here's what I ended up with - if there's optimization that could be done > let me know. Happy to update the wiki

Re: [Freeswitch-users] Using Variables in Dialplans

2009-04-22 Thread Chris Fowler
users-boun...@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Wednesday, April 22, 2009 13:10 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Using Variables in Dialplans On Wed, Apr 22, 2009 at 12:19 PM, Chris Fowler wrote: I have the followi

Re: [Freeswitch-users] Using Variables in Dialplans

2009-04-22 Thread Michael Collins
On Wed, Apr 22, 2009 at 12:19 PM, Chris Fowler wrote: > I have the following defined: > > > > > > expression="^((09|1[0-6])[0-5][0-9]|1700)$"> > > > > > > > > > > <...> > > > But despite the "Billing Open" ext firing correctly:

Re: [Freeswitch-users] Using Variables in Dialplans

2009-04-22 Thread Brian West
This again? ;) Lets see if this helps! http://wiki.freeswitch.org/wiki/Dialplan_XML#Anatomy_of_the_XML_Dialplan The dialplan is not processed and executed line by line... its compiled and installed into the session before it goes into execute state. So you can't use set on one line then use

[Freeswitch-users] Using Variables in Dialplans

2009-04-22 Thread Chris Fowler
I have the following defined: <...> But despite the "Billing Open" ext firing correctly: Action set(billingopen=true) The Billing extenstion fails to get the data: Regex (FAIL) [billing] billi