Hi Philipp,

2010/4/4 Philipp Hoffmann <[email protected]>

> Dear list,
>
> I have created a prepaid account in our CDRTool database, but I recived any
> time "postpaid not limited" in syslog:
>
> Apr  3 11:32:33 ser1 call-control[2215]: Call id 535fc5df9397086 of
> [email protected] to sip:[email protected]:5060;transport=udp is
> postpaid not limited
>
> .... but if I manualy check this, the MySQL result tells:
>
> mysql> select * from prepaid where account = '[email protected]';
>
> +----+-------------+----------------------------------+---------+---------------------+-----------------+-----------------+--------------+
> | id | reseller_id | account                          | balance |
> change_date         | active_sessions | session_counter | max_sessions |
>
> +----+-------------+----------------------------------+---------+---------------------+-----------------+-----------------+--------------+
> | 10 |           0 | [email protected] |  5.0000 | 0000-00-00 00:00:00 |
>             |               0 |            2 |
>
> +----+-------------+----------------------------------+---------+---------------------+-----------------+-----------------+--------------+
> 1 row in set (0.00 sec)
>
> Another example for this:
>
> > > telnet xx.xx.xx.xx 9024
> MaxSessionTime Duration=36000 CallId=535fc5df9397086 From=
> sip:[email protected] <sip%[email protected]> Gateway=xx.xx.xx.xx
> To=sip:[email protected]:5060;transport=udp
>
> type=prepaid
>
> Callcontrol's config.ini point to the right cdrtool host.
>
> Any idea?
>
> Regards,
> Philipp
>

If you have a look at the cdrs in cdrtool, all fields are filled correctly?
Like canonical uri, etc.
Can you paste an example event from radacct?

-Laszlo
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to