[OpenSIPS-Users] CDRTool - MaxSessionTime and Debit balance cannot longer find the account info
Dan-Cristian Bogos
danb at sms4sip.com
Tue May 5 12:38:00 CEST 2009
Guys,
just to make sure it was not missed, I am hereby re-sending the email with the problems I got with the latest CDRTool.
Ta,
DanB
--- Begin re-sent message ---
Guys,
I did a CDRTool upgrade to the latest 6.7.8 and it looks like there is
something wrong with the account matching. Both MaxSessionTime and
DebitBalance are failing (in mysql it looks like the account is queried
as empty string).
Let me know if the same scenario works for you.
Ta,
DanB
""" Log from CDRTool console:
version
CDRTool version 6.7.8
addbalance from=dan at mydomain.com value=10.00
1
getbalance from=dan at mydomain.com
20.0000
MaxSessionTime CallId=6432622xvv at 1 From=sip:dan at mydomain.com
To=sip:00497751800123 at mydomain.com Duration=7200 Gateway=10.0.0.1
Lock=1
none
"""
""" Log in syslog:
May 1 15:28:51 framdsrv01 cdrtool[5908]: addbalance
from=dan at mydomain.com value=10.00
May 1 15:28:51 framdsrv01 cdrtool[5908]: Prepaid account
dan at mydomain.com credited with 10.00
May 1 15:29:06 framdsrv01 cdrtool[5908]: getbalance
from=dan at mydomain.com
May 1 15:29:31 framdsrv01 cdrtool[5908]: MaxSessionTime
CallId=6432622xvv at 1 From=sip:dan at mydomain.com
To=sip:00497751800293 at mydomain.com Duration=7200 Gateway=10.0.0.1 Lock=1
May 1 15:29:31 framdsrv01 cdrtool[5908]: MaxSessionTime=unlimited
Type=postpaid CallId=6432622xvv at 1 BillingParty=
"""
More information about the Users
mailing list