Displaying 20 results from an estimated 10000 matches similar to: "MySQL - mistake in previous post"
2005 Aug 11
5
Realtime + MYSQL
I'm having a few issues with the MySQL realtime configuration in
CVS-HEAD. I tested it initially with realtime extensions (realtime_ext
=> mysql,asterisk,extensions) and a realtime switch in extensions.conf
and that works fine, So I though I'd go back and test a static
configuration mapping.
I used the table structure from the asterisk guru postgres howto to
create something
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 =
2004 Dec 13
0
Issues getting Asterisk Realtime configured and operational
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 =
2005 Jun 02
1
Asterisk RealTime Voicemail Not Working
I am trying to configure RealTime Voicemail with MySQL. I downloaded
compiled and installed the CVS HEAD for asterisk, and for
asterisk-addons. MySQL seems to be loading correctly (the cdr table
is recording incoming calls). But the RealTime Voicemail doesn't seem
to be checking the database table for the voicemail users. When
trying to login to voicemailMain if I use a user in the
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
2009 Oct 08
1
Realtime static does not work in 1.6.1 or 1.6.2
Starting with Asterisk 1.2 I have always used realtime static to load
my extensions.conf into Asterisk. It worked perfectly up to version
1.6.0.X but starting from 1.6.1.X and upwards it simply does nothing. I
can see that the extensions.conf file is mapped to the database:
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/extconfig.conf': ==
2007 Sep 26
0
asterisk-users Digest, Vol 38, Issue 83
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:
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:
2006 Mar 02
1
Sip Realtime Configs Samples with MySQL
Guys,
I'm having a hellava time getting realtime to work, focused on sipusers right now, followed the wiki and other examples but still no luck. Using mysql on a seperate server, asterisk actually sees the database and can poll the table "realtime load sipusers" at the cli but asterisk realtime engine is no pulling the user info. I'm using 1.2.4 stable and have the database
2005 Oct 03
1
Realtime and voicemail: request to find out if I'm crazy
It took me a whole lot of reading to catch what is likely not all that
subtle to many, but it was subtle to me.
Static: Is the global config stuff from voicemail.conf
mailboxes aren't done in the voicemail.conf file.
The perl script, ast2sql.pl will parse a given config and put
it into a SQL db (MySQL in my case).
/etc/asterisk/extconfig.conf
2010 Jan 12
1
Problem logs queue_log-mysql
Hello!
I'm trying to registers events of queues in /var/log/asterisk/queue_log and Mysql database .I have configured realtime queue_log on MySQL and works well, but /var/log/asterisk/queue_log file is empty, since you're not registering events of queues.
Removing extconfig.conf configurations (queue_log => mysql,general), /var/log/asterisk/queue_log works well, events logs on
2011 Feb 17
1
Realtime MySQL - Asterisk 1.8.2
Hi to all.
I make some tests with Asterisk 1.8.2 in Realtime. But i have one problem,
the asterisk don't connect in the base and show this message:
[Feb 17 11:18:01] WARNING[19061]: res_config_mysql.c:441
realtime_multi_mysql: MySQL RealTime: Invalid database specified:
'asterisk_teste' (check res_mysql.conf)
I checked the asterisk config file (res_mysql.conf) and the configuration
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
2010 Jan 28
0
Asterisk Database
Hello
I am trying to attach a database to asterisk , can anyone help me?
in extconfig.conf sipusers => mysql,general,sip
in res_mysql.conf [general]
dbhost = 192.168.50.125
dbname = asterisk
dbuser = root
dbpass = ahmed
dbport = 3306
dbsock = /tmp/mysql.sock
i created a table in MySql
CREATE TABLE `sip` (
`name` varchar(40) NOT NULL default '',`username` varchar(40) default
2010 Sep 13
0
Upgrade from 1.4 to 1.6 : problems with realtimemysql
This is a problem with extconfig.conf - not your res_ or cdr_ ones.
In your case - extconfig.conf probably contained something like
'sippeers => mysql,MyDBase,sippeers'. The 'problem' is that the middle
parameter is no longer for the database name - it is for the context in
res_mysql.conf. So, the above now becomes 'sippeers =>
mysql,general,sippeers'. Give that a
2010 Jan 08
0
Queue_log file and mysql logs together!
Hi,
I'm trying to registers events of queues in /var/log/asterisk/queue_log and Mysql database .I have configured realtime queue_log on MySQL and works well, but /var/log/asterisk/queue_log file is empty, since you're not registering events of queues.
Removing extconfig.conf configurations (queue_log => mysql,general), /var/log/asterisk/queue_log works well, events logs on
2010 Jan 15
0
Logs problem of queue_log-mysql
Hello!
I'm trying to registers events of queues in /var/log/asterisk/queue_log and Mysql database .I have configured realtime queue_log on MySQL and works well, but /var/log/asterisk/queue_log file is empty, since you're not registering events of queues.
Removing extconfig.conf configurations (queue_log => mysql,general), /var/log/asterisk/queue_log works well, events logs on
2005 Mar 11
1
Trouble with Realtime
Greetings,
I'm having some trouble with the realtime engines. When asterisk
loads, everything looks fine, there don't seem to be any problems via
notices or anything. Furthermore, cdr_odbc is working, and actively
logging my failed call attempts to db through ODBC using the same DSN.
unixODBC and the mysql drivers are installed from source.
Here are the relevant parts of the config:
2011 May 18
1
asterisk18 - realtime/mysql - take 3
Still a couple of questions......
I did configure extconfig.conf
...
;iaxusers => odbc,asterisk
;iaxpeers => odbc,asterisk
;sipusers => odbc,asterisk
sipusers => mysql,asterisk,sip_devices
sippeers => mysql,asterisk,sip_devices
;sippeers => odbc,asterisk
;sipregs => odbc,asterisk
;voicemail => odbc,asterisk
;extensions => odbc,asterisk
;meetme => mysql,general
2008 Nov 20
1
Voicemail in Real Time
Hi
I do have asterisk running in real time I do want to add voicemail to real
time. I did follow :
http://www.voip-info.org/wiki-Asterisk+RealTime+Voicemail
However when I do try to make a voicemail I do get :
[Nov 20 12:17:04] NOTICE[16501]: chan_sip.c:5506 process_sdp: No compatible
codecs, not accepting this offer!
-- Executing [999alijawad at a2billing:1]