Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Loose connection with MySql.


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
michiel at vanbaak.info
Guest





PostPosted: Tue Jun 24, 2008 3:09 am    Post subject: [asterisk-users] Loose connection with MySql. Reply with quote

On 09:54, Tue 24 Jun 08, Catalin S. wrote:
Quote:
Hello,
I configured asterisk to use mysql for CDR. Well when i check from time to
time I realize
that asterisk loose connection with mysql (i use phpmyadmin and i watch the
processes).
Can anybody tell me how can i solve that problem? I want to have all cdr
statistics logged in mysql,
is very important for billing.

Thank you for support.

Use cdr_adaptive_odbc backport for 1.4.
That one does a check if the connection is still working, and if not it
will reconnect.
--

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer aficionados are both called users?"
Back to top
bwentdg at pipeline.com
Guest





PostPosted: Tue Jun 24, 2008 4:43 am    Post subject: [asterisk-users] Loose connection with MySql. Reply with quote

errr -you mean Asterisk doesn't ALWAYS check this and reconnect with the
database ?!?
WTF
Since the CDRs are the literal Cash and Life Blood of many application
why the heck would it NOT do this as part of its minimal basic operation ???

If it Doesn't do this for CDRs does it NOT do it for RealTime ??
If not, one could it up,screwed,blued and tatoed
Is this "functionality" or lack there of documented anyplace ???

Michiel van Baak wrote:
Quote:
On 09:54, Tue 24 Jun 08, Catalin S. wrote:

Quote:
Hello,
I configured asterisk to use mysql for CDR. Well when i check from time to
time I realize
that asterisk loose connection with mysql (i use phpmyadmin and i watch the
processes).
Can anybody tell me how can i solve that problem? I want to have all cdr
statistics logged in mysql,
is very important for billing.

Thank you for support.


Use cdr_adaptive_odbc backport for 1.4.
That one does a check if the connection is still working, and if not it
will reconnect.
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Tue Jun 24, 2008 7:21 am    Post subject: [asterisk-users] Loose connection with MySql. Reply with quote

On Tuesday 24 June 2008 01:54:11 Catalin S. wrote:
Quote:
Hello,
I configured asterisk to use mysql for CDR. Well when i check from time to
time I realize
that asterisk loose connection with mysql (i use phpmyadmin and i watch the
processes).
Can anybody tell me how can i solve that problem? I want to have all cdr
statistics logged in mysql,
is very important for billing.

Are you actually missing CDRs, or are you just concerned that you MIGHT be?
The only reason that you might be missing CDRs from the MySQL backend is if
the MySQL server was completely down (i.e. not just disconnected from
Asterisk, but completely down) at the time that the CDR was posted. All
SQL insertions (for this backend) are automatically retried if the initial
query failed.

--
Tilghman
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Tue Jun 24, 2008 7:22 am    Post subject: [asterisk-users] Loose connection with MySql. Reply with quote

On Tuesday 24 June 2008 04:43:19 Al Baker wrote:
Quote:
errr -you mean Asterisk doesn't ALWAYS check this and reconnect with the
database ?!?
WTF
Since the CDRs are the literal Cash and Life Blood of many application
why the heck would it NOT do this as part of its minimal basic operation
???

If it Doesn't do this for CDRs does it NOT do it for RealTime ??
If not, one could it up,screwed,blued and tatoed
Is this "functionality" or lack there of documented anyplace ???

You might want to check your facts before launching into a diatribe. Both the
MySQL backend driver for CDR as well as the MySQL backend driver for Realtime
reconnect if possible during a query.

--
Tilghman
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services