[OpenSIPS-Users] CDRTool Prepaid

Laszlo laszlo at voipfreak.net
Sun Apr 4 19:49:16 CEST 2010


Hi Philipp,

2010/4/4 Philipp Hoffmann <philipp.hoffmann at arcor.de>

> 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
> user at domain.de to sip:498003301000 at xx.xx.xx.xx:5060;transport=udp is
> postpaid not limited
>
> .... but if I manualy check this, the MySQL result tells:
>
> mysql> select * from prepaid where account = 'user at domain.de';
>
> +----+-------------+----------------------------------+---------+---------------------+-----------------+-----------------+--------------+
> | id | reseller_id | account                          | balance |
> change_date         | active_sessions | session_counter | max_sessions |
>
> +----+-------------+----------------------------------+---------+---------------------+-----------------+-----------------+--------------+
> | 10 |           0 | user at domain.de |  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:user at domain.de <sip%3Auser at domain.de> Gateway=xx.xx.xx.xx
> To=sip:498003301000 at xx.xx.xx.xx: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100404/2e313f3f/attachment.htm 


More information about the Users mailing list