[OpenSIPS-Users] CDRTool Prepaid
Philipp Hoffmann
philipp.hoffmann at arcor.de
Sun Apr 4 19:28:29 CEST 2010
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 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
More information about the Users
mailing list