similar to: UNIX command-line interaction with astdb

Displaying 20 results from an estimated 9000 matches similar to: "UNIX command-line interaction with astdb"

2003 Aug 26
2
Asterisk internal database access
Hi, There is any simple way to have external access to the Asterisk database? I want to be able to edit a specific family only, which is a phonebook. Thanks, Dan
2008 Sep 08
2
Pointers to replace astdb
Hi listers, We want to implement one call center with asterisk. The idea is it should be scalable, with openser as an dispatcher and bunch of asterisk servers to do ACD, Queues, Agents things... Easy to say :( Look closely to the current asterisk, we do see some problem: - SIP registrations was stored in astdb. - And queue members also was stored in astdb. - ... asterisk was built as
2008 Mar 08
3
replace astdb with a cluster-capable sql database engine
I've been searching the Internet for information regarding the replacement of astdb with a modern sql engine. There are several reasons one would like to do this. First of all, external applications have a hard time reading/writing to the now-old astdb format. Also (and this is what interests me most), the sql astdb could easily be clustered throughout several servers (I'm looking for a
2008 Aug 15
3
AstDB/Berkely DB - Hash function? Balanced-Tree? b-Tree? Linked List?
Does anyone know enough about the implementation of AstDB to know whether the data structure is a Hash function, a Balanced-Tree, a b-Tree, or a Linked List? I'm trying to estimate the lookup 'cost' of a AstDB with around 160,000 keys? Obviously I already know that it WILL WORK, but the question is whether the data structure is optimal in the Berkeley DB AS IMPLEMENTED in Asterisk.
2003 Jun 29
5
Cisco ATA-186 config guide for Asterisk
I really should be doing something better on this beautiful weekend, but I'm trying to save myself some time for later projects by documenting some things that have been particularly troublesome in the past. That being said... I've written up a configuration guide for the Cisco ATA-186, which describes some of the features that are possible to set in the ATA and specifically what
2009 Feb 24
2
astdb and Debian : can't use db4.5_dump
Hi, On Lenny, I typed "apt-get install db4.5-util " then (as root) : # db4.5_dump /var/lib/asterisk/astdb db4.5_dump: /var/lib/asterisk/astdb: unexpected file type or format db4.5_dump: open: /var/lib/asterisk/astdb: Invalid argument # file /var/lib/asterisk/astdb /var/lib/asterisk/astdb: Berkeley DB 1.85/1.86 (Btree, version 3, native byte-order) Is db4.5_dump appropriate to dump an
2009 Jan 24
2
Reading/Writing the Astdb
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 process can take over 1 second for EACH ENTRY which adds up for more than a
2018 Nov 30
2
Asterisk non-root - selinux - astdb
Hi I'm trying to use Asterisk running as non-root user and selinux enabled. Asterisk is running ok, but astdb not works. When i try to put in astdb, console shows this message: WARNING[1853]: db.c:350 ast_db_put: Couldn't execute statment: SQL logic error or missing database CentOS 7.5.1804 Asterisk certified/13.21-cert3 [root at sv03 asterisk]# ls -lahZ /var/lib/asterisk/astdb.sqlite3
2004 Jan 11
24
More words for Allison
Here's the latest batch of words to get shipped out to Allison Smith. Please submit reasonably small changes to me by tomorrow 10:00 AM Eastern time, and I'll add them. As usual, donations to what will be a ~$110 USD expense would be appreciated, as I am paying for this round out of my pocket. Please send to paypal address "jtodd@loligo.com". I did not include all
2009 Jan 30
1
Where to find db1_dump185 in debian packages ?
Hello, Here http://www.voip-info.org/wiki/view/Asterisk+database , you can read: "Also, since it's a normal Berkely db1 (version185) file its contents can be viewed/dumped with the standard *db1_dump185* tool. Thus db1_dump185 -p /var/lib/asterisk/astdb will show the complete database tree." Where can this db1_dump185 be found using Debian packages ? Regards -------------- next
2006 Mar 03
2
Does an entry in AstDB stay after reboot?
I set up a call forwarding script in extensions.conf which uses the AstDB but I'm wondering if I reboot the server, will the entry in AstDB still reside? What the script does is when a call comes in, it check to see if there is a null value or a call forward number. If null, it will call the local office connections. If there is a number, it calls that. Now I just need to know if I reboot
2010 Dec 27
1
Queue Member relationship and AstDB
I need clarification on couple of issues of Realtime Queue. It seems that when Agents(Memebers) are added using AddQueueMember, Asterisk puts this Queue-Member relationship information into AstDB, So that on asterisk restart this can be preserved. My question is, why does asterisk not store call information for Queue (holdtime, talktime, W, C, A, SL%) in AstDB, So that it can also be retained
2007 Jan 08
3
Adding 4000 Lines to asteriskdb via asterisk -rx ?
Hi there, I want to add 4000 Callerids and Callernames to my asterisk-db. (/var/lib/asterisk/astdb) I do not want an external database or an sql-database because I do not want asterisk to depend on external processes. However, when I do 4000 "database put number name" via a shellscript and "asterisk -rx" I only have 600 entries later in my asterisk- database. The asterisk
2006 Jun 01
4
astdb entry in sip.conf
Using svn trunk, I was trying to see what the astdb entry in the sip.conf file does. Nothing :) I presume that it's meant to create an entry in the astdb. so, I have astdb=chan2ext/SIP/grandstream1=1234 in sip.conf But database show only gives *CLI> database show /SIP/Registry/706 : 192.168.0.200:5060:3600:706:sip:706@192.168.0.200:5060
2009 Feb 16
2
AstDB wildard searches
Hi All, I'm looking for a way to filter the AstDB cidname family to show only those entries with a specified area code in the Asterisk CLI. If this were a SQL database it would be something like: SELECT number, name FROM cidname WHERE number LIKE '1234%' I've tried "database show cidname 1234*" and substituted "%", "$", "-" for the wildcard
2007 May 14
2
How to write data to astdb?
Hello, I'm trying to fill CID data into the astdb using AsteriskWin32's asterisk.exe, to no avail: The batch file stops after the first line, and just waits: ---------------------------------------- rem c:\cygroot\mystuff>import.bat rem rem c:\cygroot\mystuff>C:\cygroot\bin\asterisk.exe -rx 'database put cidname 123 "My cellphone"' rem rem Asterisk module
2011 Nov 20
4
Deleting AstDB family at start
Is it possible to delete the keys belonging to a family in AstDB at Asterisk startup? I would like to repopulate it from another source each time Asterisk is restarted. I know there is a DBdeltree(<family>) function. Is there a context that only runs once (automatically) at Asterisk startup (so that I can call this function)? Also is AstDB lookup faster than a func_odbc lookup? Is there a
2010 Jan 27
2
astdb
Hi, all What is the use of astdb? Is it used to store realtime values like sip etc. Regards, Bhrugu Mehta -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100127/b13d6a62/attachment.htm
2013 Sep 19
1
AstDB Partial Replication?
Is anyone aware of a way to replicate parts of the AstDB to another Asterisk install? For example, to export all CF entries on a FreePBX based system to another system running FreePBX, I might do: asterisk -rx 'database show' | grep CF This gives me a list of data, which I can rsync to another host to reimport using 'database put'. BUT, the problem comes in when I want to sync
2010 May 11
1
conf files vs astdb
Hi all, Could someone please tell me what is the relative "cost" in using conf files oppose to the astdb? Basically I need to match a name to a phone number in order to have all users registered by name and not by number (which I understood is not a good practice). I have 2000 users and a complex dial-plan and server resources become an issue. I could implement this via a context in my