I restarted mediaproxy and now it doesn't say MySQL error: (2006, 'MySQL server has gone away')
but when I check mysql logs I see that only an UPDATE query is sent from the mediaproxy when the call ends.
 
But there is no row to update.
 
Do I need to use "ser accounting" for "mediaproxy accounting" to work fine ?
 
Thanks,
ilker


From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Thursday, July 06, 2006 4:02 PM
To: serusers@lists.iptel.org
Subject: RE: [Serusers] Mediaproxy problem - accounting

Hi,
 
I still couldn't solve the mediaproxy accounting problem.
In the syslog I see following messages :
 
Jul  6 16:13:51 sesapp mediaproxy[10602]: error: accounting failed. MySQL error: (2006, 'MySQL server has gone away')
Jul  6 16:13:51 sesapp mediaproxy[10602]: error: accounting failed. MySQL error: (2006, 'MySQL server has gone away')
Jul  6 16:13:51 sesapp mediaproxy[10602]:             SipUserAgents = 'Eyebeam Softphone release 1002l stamp 29452 + Eyebeam Softphone release 1002t stamp 29726',
Jul  6 16:13:51 sesapp mediaproxy[10602]:             SipUserAgents = 'Eyebeam Softphone release 1002l stamp 29452 + Eyebeam Softphone release 1002t stamp 29726',
 
Mysql server is up and running.
What may be the problem here ?
 
Thanks,
ilker
 

=============

Hi,

I am trying to use dbaccounting with mediaproxy. Undfortunately it doesn't seem to send anything to mysql db.
How can I trace where the problem is ?

My mediaproxy accounting config is :

[Accounting]
dbaccounting = on

[Database]
user = ser
password = heslo
host = 127.0.0.1
database = radius
table = radacct

Thanks,
ilker



_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________