[asterisk-bugs] [Asterisk 0015375]: [patch] realtime mysql status always shows connected for 0 seconds/no connection
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Jul 6 16:33:55 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15375
======================================================================
Reported By: kowalma
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 15375
Category: Addons/res_config_mysql
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.1.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-06-22 06:31 CDT
Last Modified: 2009-07-06 16:33 CDT
======================================================================
Summary: [patch] realtime mysql status always shows connected
for 0 seconds/no connection
Description:
I've found issue with DB connection.
Asterisk-node1(active):/usr/src# rasterisk -x "realtime mysql status"
general connected to asterisk at 127.0.0.1, port 3306 with username cdr for 0
seconds.
Asterisk-node1(active):/usr/src#
shows always 0 seconds. Sometime rt shows that there is no db connection
(and then sip show peers show no sip-peer configured) but DB is queried
======================================================================
----------------------------------------------------------------------
(0107430) svnbot (reporter) - 2009-07-06 16:33
https://issues.asterisk.org/view.php?id=15375#c107430
----------------------------------------------------------------------
Repository: asterisk-addons
Revision: 984
_U branches/1.6.1/
U branches/1.6.1/res/res_config_mysql.c
------------------------------------------------------------------------
r984 | tilghman | 2009-07-06 16:33:54 -0500 (Mon, 06 Jul 2009) | 21 lines
Merged revisions 982 via svnmerge from
https://origsvn.digium.com/svn/asterisk-addons/trunk
................
r982 | tilghman | 2009-07-06 16:31:41 -0500 (Mon, 06 Jul 2009) | 14
lines
Recorded merge of revisions 981 via svnmerge from
https://origsvn.digium.com/svn/asterisk-addons/branches/1.4
........
r981 | tilghman | 2009-07-06 16:30:13 -0500 (Mon, 06 Jul 2009) | 7
lines
Don't reset reconnect time, unless a reconnect really occurred.
(closes issue https://issues.asterisk.org/view.php?id=15375)
Reported by: kowalma
Patches:
20090628__issue15375.diff.txt uploaded by tilghman (license 14)
Tested by: kowalma, jacco
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk-addons?view=rev&revision=984
Issue History
Date Modified Username Field Change
======================================================================
2009-07-06 16:33 svnbot Checkin
2009-07-06 16:33 svnbot Note Added: 0107430
======================================================================
More information about the asterisk-bugs
mailing list