Re: [asterisk-users] Function to query ASTDB families

2009-09-13 Thread Tilghman Lesher
On Sunday 13 September 2009 04:52:11 Olivier wrote: > 2009/9/10 Tilghman Lesher > > > On Tuesday 08 September 2009 16:33:20 Olivier wrote: > > > Asterisk database is made of records such as: > > > fam key1 val1 > > > fam key2 val2 > > > ... > > > fam key100 val100 > > > > > > I'm looking fo

Re: [asterisk-users] Function to query ASTDB families

2009-09-13 Thread Olivier
2009/9/10 Tilghman Lesher > On Tuesday 08 September 2009 16:33:20 Olivier wrote: > > Asterisk database is made of records such as: > > fam key1 val1 > > fam key2 val2 > > ... > > fam key100 val100 > > > > I'm looking for the smartest way to iterate among different keys > associated > > to

Re: [asterisk-users] Function to query ASTDB families

2009-09-10 Thread Karl Fife
- Original Message - From: "Tilghman Lesher" > I think the smarter way, once you've gotten to this level of complexity, > is to > start using a real external database, such as Postgres, configure the ODBC > driver, and use func_odbc to interface to it. AstDB was never meant to be > such

Re: [asterisk-users] Function to query ASTDB families

2009-09-10 Thread Tilghman Lesher
On Tuesday 08 September 2009 16:33:20 Olivier wrote: > Asterisk database is made of records such as: > fam key1 val1 > fam key2 val2 > ... > fam key100 val100 > > I'm looking for the smartest way to iterate among different keys associated > to a given family. > > One way to do this is to par

[asterisk-users] Function to query ASTDB families

2009-09-08 Thread Olivier
Hi, Asterisk database is made of records such as: fam key1 val1 fam key2 val2 ... fam key100 val100 I'm looking for the smartest way to iterate among different keys associated to a given family. One way to do this is to parse "database show fam" response. Is there something smarter ? Some