search for: asteriskdb

Displaying 8 results from an estimated 8 matches for "asteriskdb".

2007 Jan 08
3
Adding 4000 Lines to asteriskdb via asterisk -rx ?
...ant to add 4000 "sleep 1" to my shell-script. Does anybody have an Idea how to add these lines to asterisk ? I managed to Build a Perl DB_File Module for db1.8.5 but I do not have the know how how to use DB_file and db1 databases. Are there some external utilities to lock and update the asteriskdb ? Is there a better way ? Thanks Christoph -- Two hours of trial and error can save ten minutes of manual reading. GATWORKS GmbH Christoph.Adomeit@gatworks.de Internetloesungen vom Feinsten Fon. +49 2166 9149-32 Fax. +49 2166 9149-10
2010 Aug 03
1
sip.conf register in realtime DB
...statements in a MySQL-database, so I've made the following table. table ast_config : id 1 cat_metric 0 var_metric 0 commented 0 filename sip.conf category general var_name register var_val username:password at sip.provider.net In ext_config (text file) I have : sipusers => mysql,AsteriskDB,sip_buddies sippeers => mysql,AsteriskDB,sip_buddies sip.conf => mysql,AsteriskDB,ast_config In sip.conf (text file) I have also : sip.conf : rtcachefriends=yes ; Cache realtime friends by adding them to the internal list ; just like friends add...
2006 Mar 28
1
Asterisk to MySQL Data Lookup Warning Message?
...g message: Mar 28 15:55:40 WARNING[27481]: app_addon_sql_mysql.c:318 aMYSQL_fetch: ast_MYSQL_fetch: numFields=1 Should I be concerned? Does anyone know what it means? Thanks. JR I'm dialing extension 1001 extensions.conf [lookupmysql] exten => _X.,1,MYSQL(Connect connid 10.10.10.110 asteriskdb password table) exten => _X.,2,MYSQL(Query resultid ${connid} SELECT\ fullcontact\ from\ table_sip\ where\ name=${EXTEN}) exten => _X.,3,MYSQL(Fetch fetchid ${resultid} var1) exten => _X.,4,MYSQL(Clear ${resultid}) exten => _X.,5,MYSQL(Disconnect ${connid}) exten => _X.,6,GotoIf($[&q...
2009 Mar 06
5
work around the 64 pickupgroups limit
Hi! What are the typical ways to work around the 64 groups limit? thanks klaus
2010 May 21
2
Using unix socket to connect with database
Hello, I am using asterisk realtime with a postgresql database on the same server. In res_pgsql.conf I have specified [general] dbhost=localhost dbport=5432 dbname=asteriskdb dbuser=psql dbsock=/tmp/.s.PGSQL.5432 Since both asterisk and db are on same server, I would like asterisk to connect to db using the local unix socket. However asterisk is not using the local unix socket to connect to database, it is making a tcp connection with the db. Is there anyway I can forc...
2006 Dec 23
1
mySQL and to many connections with SQL statement UPDATE
Hi, If Iam doing UPDATE SQL statements I got an overload for connection. am doing everytime an Disconnect ${connid}) but this is ignored. any idea? best regards Thomas
2007 Oct 12
0
VOIP Users Conference Friday Oct 12 @ 12:30 PM EDT
VOIP Users Conference Friday Oct 12 @ 12:30 PM EDT Today, besides whatever else is on anyone else's minds, we'll be discussing some asterisk communication techniques for use with SMS, email and web API. Also, some typical uses for the asteriskdb, what it is and why you care about it at all. Join us: http://VoipUsersConference.org/join.php IRC: freenode.net #voip-users-conference
2011 Mar 30
0
Asterisk 1.8.3.2 core dump chan_sip.c
Hello, I'm testing with asterisk 1.8.3.2 and come across this: Call from one extension to another with: [macro-internal-call] ;ARG1=extension to call exten => s,1,Set(TOCALL=${DB(SIP/${ARG1})}) exten => s,2,Dial(SIP/${TOCALL},60,tT) ... As I had no entry in the asteriskdb, so the SIP uri was empty, and asterisk core dumped with: gdb output: #0 0xb7c7db33 in strchr () from /lib/libc.so.6 Maybe someone can reproduce that behaviour. yours christian