[asterisk-users] Function DB_KEYS()

2013-01-21 Thread Al Efron [gmail]
Hi All,

Anyone know how to use the function DB_KEYS()?

Info on this is non-existant on the net incl. the wiki and there are
absolutely NO examples of it anywhere. I was hoping that unlike the other
DB functions, this is able to get the Key for a given Value OR at least
list ALL keys of a given Family Tree through which we can maybe iterate and
get the values of each key etc.

Speaking of which, it WOULD be quite cool if there was a function that
could do as above, i.e. find the key(s) if instead of a value lookup for a
given key, a key was returned for a given value or pattern of a known
value

Thx
\a
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Function DB_KEYS()

2013-01-21 Thread Al Efron [gmail]
Ok, nevermind. Got it! Does at least one of the things I needed. Now would
be great to have a function that does the opposite ...and yes, I do know
about func_odbc, my current need just isn't big enough to setup a local
MySQL/PostGreSQL etcwas hoping to get this out of the built in DB. I
guess the next step is to maybe use AGI


On Mon, Jan 21, 2013 at 5:10 PM, Al Efron [gmail] all.efor...@gmail.comwrote:

 Hi All,

 Anyone know how to use the function DB_KEYS()?

 Info on this is non-existant on the net incl. the wiki and there are
 absolutely NO examples of it anywhere. I was hoping that unlike the other
 DB functions, this is able to get the Key for a given Value OR at least
 list ALL keys of a given Family Tree through which we can maybe iterate and
 get the values of each key etc.

 Speaking of which, it WOULD be quite cool if there was a function that
 could do as above, i.e. find the key(s) if instead of a value lookup for a
 given key, a key was returned for a given value or pattern of a known
 value

 Thx
 \a

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users