Can post also the entry from cdrtool.prepaid_history table related to
this call
Adrian
On Apr 3, 2009, at 11:20 PM, Carlo Dimaggio wrote:
Il giorno 03/apr/09, alle ore 22:53, Adrian Georgescu ha scritto:
Carlo,
Can you paste all the cdrtool syslog lines related to the call in
question?
Hi Adrian.
Here the syslog. I see that the Duration calculated with cron is
different from that calculated when the prepaid call is closed (15
(int?) instead of 15.7315969467):
Thanks,
Carlo
----
Apr 3 22:24:07 proxy cdrtool[13214]: MaxSessionTime From=sip:[email protected]
Lock=1 To=sip:[email protected]:5060;user=phone
State=Connected [email protected]
Duration=36000 Gateway=79.1.2.3
Apr 3 22:24:07 proxy cdrtool[13214]: Maximum duration for session [email protected]
of [email protected] to destination 3934 having balance=1.0000 is 364
Apr 3 22:24:07 proxy cdrtool[13214]: MaxSessionTime=364
Type=prepaid [email protected] [email protected]
DestId=3934 Balance=1.0000 Spans=1
Apr 3 22:24:23 proxy cdrtool[13214]: DebitBalance
Duration=15.7315969467 [email protected]
From=sip:[email protected] Gateway=79.37.254.50 To=sip:[email protected]:5060;user=phone
Apr 3 22:24:23 proxy cdrtool[13214]: ConnectFee=0.0000 [email protected]
Span=1 Duration=15.7315969467 DestId=3934 domain=sip.xxx.it
Profile=331002 Period=weekday Rate=3310021 Interval=0-24
Cost=0.1650/60 Price=0.0433 Price in=0.0000
Apr 3 22:24:23 proxy cdrtool[13214]: Price=0.0433
Duration=15.7315969467 [email protected] [email protected]
DestId=3934 MaxSessionTime=0
Apr 3 22:25:01 proxy /USR/SBIN/CRON[13258]:
[...]
Apr 3 22:25:01 proxy cdrtool[13268]: ConnectFee=0.0000 [email protected]
Span=1 Duration=15 DestId=3934 domain=sip.xxx.it Profile=331002
Period=weekday Rate=3310021 Interval=0-24 Cost=0.1650/60
Price=0.0413 Price in=0.0000
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users