Try to debug postgresql query's done by app_prepaid... set log_statement = true in postgresql.conf and watch postgresql log's .. maybe it can help you ... Alex On Sun, 2004-06-20 at 20:27 +0000, Hekuran Doli wrote: > bill my local clients registred to my asterisk box using sip