Displaying 20 results from an estimated 3000 matches similar to: "MySQL() timeout"
2006 Nov 22
11
Rewriting caller ID from database?
Hi
Most of our customers have generic names like "Hospital", so I need to
rewrite their caller ID name by looking up the number in a database on the
Asterisk server, and rewriting the name such as "Reading Hospital" so that
we know who's calling.
Any idea if this can be done with Asterisk, and how to do it?
Thank you.
2006 Mar 07
7
res_mysql.conf & DNS SRV lookup
Hi friends,
I am using Real Time Asterisk Architecture where I have put the
Sip users/peers and extensions defining the dialplan in tables in
a mysql database.
Currently, asterisk points to my single database server as configured:
------------------------------------------
/etc/asterisk/res_mysql.conf
------------------------------------------
[general]
dbhost = xxx
dbname =
2012 Nov 12
3
Unable to lauch php-script to truncate database
Dear All,
we have some Nubuilder databases on a Centos6.3 server:
[root at caw-server2 db]# ls /var/www/html/nubuilder/db
reg_begeleidingsteam reg_jww_archief reg_personeel reg_straathoekwerk
reg_bib reg_jww_dossiers reg_resident reg_vrijwilligers
reg_drughulp reg_jww_dvd reg_signaleren
reg_jac_activiteit reg_onthaal reg_sollicitatie
in each
2010 Oct 20
1
how to connect to a remote PostgreSQL database from R on mac osx
Hello List,
I would like to connect to a postgreSQL database on a remote server and I am wondering what is the best package to do that. I have just installed RpgSQL, RPostgreSQL, Rdbi and RODBC.
The handiest to me is RPostgreSQL but I don't see how to connect to a remote server with it. For sure I can connect to remote server with RODBC, but since I am on a Mac OSX 10.6, I have quite
2016 May 01
2
Changing Password Schemes
First of all, you can probably go online before you convert all passwords. You can modify your query in dovecot-sql.conf.ext to something like the following:
SELECT IF(crypt_pass IS NULL OR crypt_pass='', CONCAT('{PLAIN}',plain_pass), crypt_pass) as password FROM mailuser ..
This is assuming that:
* for incoming users, you have a plain_pass column containing just the plaintext
2007 Sep 26
4
Asterisk realtime error
Hi! I am proving Asterisk 1.2.24 in realtime with MySQL 5.0.27 using Idefisk
softphones. I followed the steps of "how to" of voip-org but always have
this error:
Sep 25 20:29:07 WARNING[12000]: res_config_mysql.c:360 update_mysql: MySQL
RealTime: Failed to query database. Check debug for more info.
Sep 25 20:29:07 WARNING[12000]: res_config_mysql.c:360 update_mysql: MySQL
RealTime:
2009 Oct 31
2
Asterisk, Realtime and specify MySQL Table Name ?
Hi
actually, i test a new Asterisk Server and i want add Mysql Realtime SIP.
I read on the wiki:
===================================================
Database Config
put the following in res_mysql.conf
[general]
dbhost = 127.0.0.1
dbname = asterisk
dbuser = myuser
dbpass = mypass
dbport = 3306
Values in sip.conf or iax.conf like in older versions of * are no longer
used.
Database Table
Lets
2010 Feb 22
2
Problems with SIP realtime
I have followed the instructions on voip-info.org for Realtime SIP
peers, but I get this notice :
[Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889
handle_request_register: Registration from
'<sip:testsip at 192.168.1.150;transport=UDP>' failed for '192.168.1.105' -
No matching peer found
The CLI shows :
[Feb 22 19:58:23] == Parsing
2010 Nov 26
1
R Tools & Vista_x64: Problem compiling RMySQL?
Hello:
What do I need to do to compile R packages (especially RMySQL) for
the 64-bit version of R 2.12.0 under Vista_x64?
I upgraded to "Rtools212.exe" yesterday but immediately got errors
from "R CMD check RMySQL_0.7-5.tar.gz". After the first error, I
installed it a second time, then got "undefined reference to" roughly 50
different names beginning
2004 Dec 30
1
RealTime Drivers Connectivity Error
Hello *'s,
i am using Realtime Sip drivers but its not working here is my configs:
extconfig.conf
[settings]
; Realtime configuration engine
;
; maps a particular family of realtime
; configuration to a given database driver,
; database and table (or uses the name of
; the family if the table is not specified
;
sipfriends => mysql,asterisk,sip_friends
res_mysql.conf
[general]
dbhost =
2004 Dec 12
3
Problems getting Asterisk Realtime to work
I have installed the CVS Head as of 12/12/04, as well
as the asterisk-addons to ensure that
/usr/lib/asterisk/modules/res_config_mysql.so exists.
I have configured the following (after building a new
DB with the appropriate SQL examples, with mods to
drop the invalid keys, on the Wiki):
- /etc/asterisk/res_mysql.conf
[general]
dbhost = 127.0.0.1
dbname = my_db
dbuser = my_uname
dbpass =
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
2016 Apr 30
2
Changing Password Schemes
This looks good, except it is truncated, it should be something like
95chars long, Is your hash column set to 128 or up around there or
larger?
Quoting Carl A Jeptha <cajeptha at gmail.com>:
> Sorry for double reply, but this what a password looks like in the
> "hashed" password column:
> {SHA512-CRYPT}$6$wEn1UFuiMzl9OSjd$Vh/PZ95WDID1GwI2
>
> ------------
2007 Aug 20
4
Realtime Queue Members
Does anybody have realtime queue members working? Not the queues
themselves, just the members. I have realtime working for voicemail and
sippeers, but I can't get queue members to work. Here is what I have:
res_mysql.conf:
[general]
dbhost = 127.0.0.1
dbname = ASTERISK
dbuser = myuser
dbpass = mypass
dbport = 3306
dbsock = /tmp/mysql.sock
queues.conf:
[general]
2004 Dec 14
3
Realtime problem
I'm having trouble with the Realtime setup. I've followed the instructions on
voip-info using odbc but I get this message during asterisk boot:
Parsing '/etc/asterisk/sip.conf': Not found (No such file or directory)
Dec 14 16:11:37 NOTICE[8868]: chan_sip.c:8462 reload_config: Unable to load
config sip.conf, SIP disabled
== Registered channel type 'SIP' (Session
2005 Mar 15
6
Realtime config
Having problems getting realtime working, I'm trying to use odbc for all
of this. I've got Fedora 3 and have been fighting with odbc for a day
now. I think I got it working correctly, however I can't seem to get the
realtime portion working. In asterisk 'odbc show' shows it connected, I
see it on my (odbc) mysql server connected and all, it connects and just
idles. So, without
2016 May 01
3
Changing Password Schemes
You do need to complete the query. Don't just replace your query with the one I wrote. You have to have a WHERE clause, and you might need to return other fields.
Keep the password query you had before, just replace the 'password' column with "IF( ... ) as password"
The query as you have it now simply returns all the passwords for all the users, because you don't have a
2004 Sep 17
3
MySQL Voicemail Problems
I know this has been moved to contrib, but is anybody using it successfully?
We are looking at using Asterisk for the fine IVR features it has, tied in
with another platform. Calls are getting routed to it, but the following is
happening: (I've redacted phone#s and passwords)
asterisk log:
Sep 17 11:56:24 WARNING[17423]: No entry in voicemail config file for
'+13609XX2000'
Sep 17
2007 May 23
1
Asterisk Realtime problem
Hi,
I have installed asterisk-1.4.4 and asterisk-addon-1.4.1.
I followed every step to configure RealTime but something is not working
properly; the warning that I am geting is:
WARNING[32709]: config.c:1229 find_engine: Realtime mapping for
'sippeers' found to engine 'mysql', but the engine is not available
WARNING[1359]: config.c:1229 find_engine: Realtime mapping for
2011 Mar 07
2
Asterisk 1.6 MySQL Realtime fails to connect with working username and password.
Okay, so here's the configuration I have for MySQL Realtime (Asterisk
version 1.6.2.17):
In /etc/asterisk/extconfig.conf:
sipusers => mysql,mya2billing,cc_sip_buddies
In /etc/asterisk/res_mysql.conf:
[mya2billing]
dbhost = localhost
dbname = mya2billing
dbuser = a2billinguser
dbpass = REDACTED
dbport = 3306
And here's the error messages I get:
voip2*CLI> realtime mysql status