Re: [asterisk-users] astdb delete all keys with the value of x

2014-04-24 Thread jonathan white
I guess the question is which method has the least processor overhead. Thanks J On 21 Apr 2014 15:54, Josh Metzger joshdmetz...@gmail.com wrote: To do it without using an external database, you could create a shell script to do it that you would execute with a system call. You could get a

[asterisk-users] astdb delete all keys with the value of x

2014-04-21 Thread Jonathan White
I’m trying to use the asterisk database but I think there is a limitation in deleting records I need to make my logic work. I understand that I can delete all family members with a specific key and that I can delete an entire family of keys but I would like to be able to delete specific keys

Re: [asterisk-users] astdb delete all keys with the value of x

2014-04-21 Thread Josh Metzger
To do it without using an external database, you could create a shell script to do it that you would execute with a system call. You could get a list of everything with: asterisk -rx database show From there, you could grep the results for the value you are looking for, use awk or even cut to