Re: [asterisk-users] Reading/Writing the Astdb

2009-01-27 Thread cbbs70a
To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Reading/Writing the Astdb On Mon, 26 Jan 2009, cbbs...@hotmail.com wrote: That's a really good idea, however, I am having problems getting it to work. I tried the following: echo -n asterisk -rx \database put FOO BAR 1

Re: [asterisk-users] Reading/Writing the Astdb

2009-01-26 Thread cbbs70a
:23:40 +0200 From: tzafrir.co...@xorcom.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Reading/Writing the Astdb On Sat, Jan 24, 2009 at 11:00:58AM -0500, cbbs...@hotmail.com wrote: All; I have a question regarding the Astdb. When reading more than a few

Re: [asterisk-users] Reading/Writing the Astdb

2009-01-26 Thread C. Chad Wallace
: tzafrir.co...@xorcom.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Reading/Writing the Astdb On Sat, Jan 24, 2009 at 11:00:58AM -0500, cbbs...@hotmail.com wrote: All; I have a question regarding the Astdb. When reading more than a few values, it can

Re: [asterisk-users] Reading/Writing the Astdb

2009-01-26 Thread Steve Edwards
On Mon, 26 Jan 2009, cbbs...@hotmail.com wrote: That's a really good idea, however, I am having problems getting it to work. I tried the following: echo -n asterisk -rx \database put FOO BAR 1\ | socat - /var/run/asterisk/asterisk.ctl and echo -n asterisk -rx \database put FOO BAR

Re: [asterisk-users] Reading/Writing the Astdb

2009-01-26 Thread Tzafrir Cohen
On Mon, Jan 26, 2009 at 06:31:30PM -0800, Steve Edwards wrote: On Mon, 26 Jan 2009, cbbs...@hotmail.com wrote: That's a really good idea, however, I am having problems getting it to work. I tried the following: echo -n asterisk -rx \database put FOO BAR 1\ | socat -

[asterisk-users] Reading/Writing the Astdb

2009-01-24 Thread cbbs70a
All; I have a question regarding the Astdb. When reading more than a few values, it can take quite a while to grab several values in the astdb using say, asterisk -rx database show output.txt and work with that and then set a new value such as asterisk -rx database put $key $value. The whole

Re: [asterisk-users] Reading/Writing the Astdb

2009-01-24 Thread David fire
external DB? like mysql? 2009/1/24 cbbs...@hotmail.com All; I have a question regarding the Astdb. When reading more than a few values, it can take quite a while to grab several values in the astdb using say, asterisk -rx database show output.txt and work with that and then set a new

Re: [asterisk-users] Reading/Writing the Astdb

2009-01-24 Thread Benoit
I second that, while read an berkeley db file outside of it's main application can work fine, writing in it would certainly lead to huge trouble (data loss, corrupted file, ...) A berkeley db file is .. a file, not a database server David fire a écrit : external DB? like mysql? 2009/1/24

Re: [asterisk-users] Reading/Writing the Astdb

2009-01-24 Thread Tzafrir Cohen
On Sat, Jan 24, 2009 at 11:00:58AM -0500, cbbs...@hotmail.com wrote: All; I have a question regarding the Astdb. When reading more than a few values, it can take quite a while to grab several values in the astdb using say, asterisk -rx database show output.txt and work with that and