[Serusers] Accounting problems after mysql backup restore
28 Oct
2006
28 Oct
'06
1:31 a.m.
After backup and restoring MySQL the accounting did not worked anymore. I could make calls but the amount does not show up. The problem is that o_uri has the format sip:00 + codigo de tarifa pero en la base de datos se esta guardando sin el 00 solamente sip:+codigo de tarifa ( la razon no la se, no he modificado nada de eso ). After changig in accounting $codigo2 = "sip:".$row2->codigo; if ( strncmp ( $codigo2, $row->o_uri, strlen($codigo2) ) == 0) { $tarifa=$row2->tarifa; $nombre=$row2->nombre It works again.What is wrong??? Thanks to everybody who can help. CFM
7196
Age (days ago)
7196
Last active (days ago)
0 comments
1 participants
participants (1)
-
C. Mewes