[OpenSIPS-Users] Call-control exception

Carlo Dimaggio jaasmailing at gmail.com
Fri Apr 3 23:20:18 CEST 2009


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:1003 at sip.xxx.it 
  Lock=1 To=sip:0039347123123 at sip.xxx.it:5060;user=phone  
State=Connected CallId=31cfbec-c0a80101-0-d at 192.168.1.100  
Duration=36000 Gateway=79.1.2.3
Apr  3 22:24:07 proxy cdrtool[13214]: Maximum duration for session 31cfbec-c0a80101-0-d at 192.168.1.100 
  of 1003 at sip.xxx.it to destination 3934 having balance=1.0000 is 364
Apr  3 22:24:07 proxy cdrtool[13214]: MaxSessionTime=364 Type=prepaid CallId=31cfbec-c0a80101-0-d at 192.168.1.100 
  BillingParty=1003 at sip.xxx.it DestId=3934 Balance=1.0000 Spans=1
Apr  3 22:24:23 proxy cdrtool[13214]: DebitBalance  
Duration=15.7315969467 CallId=31cfbec-c0a80101-0-d at 192.168.1.100 From=sip:1003 at sip.xxx.it 
  Gateway=79.37.254.50 To=sip:0039347123123 at sip.xxx.it:5060;user=phone
Apr  3 22:24:23 proxy cdrtool[13214]: ConnectFee=0.0000 CallId=31cfbec-c0a80101-0-d at 192.168.1.100 
  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 CallId=31cfbec-c0a80101-0-d at 192.168.1.100 BillingParty=1003 at sip.xxx.it 
  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 CallId=31cfbec-c0a80101-0-d at 192.168.1.100 
  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



More information about the Users mailing list