[SR-Users] R: acc time mode 2 wrong timestamp

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 22 19:28:00 CEST 2016


Hello,

what are the parameters you set for acc module? Paste all modparams for
acc here.

Cheers,
Daniel


On 22/06/16 10:31, pars3c wrote:
>
> Hi Daniel,
>
> thanks for your support, each instance has your own database.In each
> table the coloumn is double.
>
> I tried to enable the log , in debug level , but i havent found any
> accounting record, only this type:
>
>  
>
> DEBUG: acc [acc_logic.c:644]: tmcb_func(): acc callback called for
> t(0x979e5af8) event type 2, reply code 200
>
> May be , i don’t know where to find it.
>
>  
>
> The server where i ‘ve this problem use Centos5.4 386
>
>  
>
> Thanks
>
>  
>
> *Da:*sr-users [mailto:sr-users-bounces at lists.sip-router.org] *Per
> conto di *Daniel-Constantin Mierla
> *Inviato:* mercoledì 22 giugno 2016 07:27
> *A:* Kamailio (SER) - Users Mailing List
> *Oggetto:* Re: [SR-Users] acc time mode 2 wrong timestamp
>
>  
>
> Hello,
>
> is the same database server used for both kamailio instances or each
> kamailio instance has its own kamailio server?
>
> Can you enable logging to syslog the accounting record and see if the
> values are likes in the database? I am trying to isolate if the issue
> is in code or somehow in the database column type.
>
> Cheers,
> Daniel
>
> On 21/06/16 10:19, pars3c wrote:
>
>     Hello,
>
>     i’ve installled the new version of kamailio 4.4.1 . in 2 different
>     server , with acc module and these parameters:
>
>     modparam("acc", "time_mode", 2)
>
>     modparam("acc", "time_attr", "seconds")  should be seconds.millisec
>
>      
>
>     On the first server in acc table , in field seconds i have values
>     like this 1466493457.85,  this is correct timestamp  ( this server
>     have centos 86_64)
>
>     In the other server , i have values like 1913113.702 , that is
>     wrong timestamp . (this is old centos 32 bit )
>
>      
>
>     What can be the problem? The different version 32,64 bit ? or some
>     compiler option ?
>
>      
>
>     Thanks
>
>      
>
>      
>
>      
>
>      
>
>
>
>
>     _______________________________________________
>
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> -- 
> Daniel-Constantin Mierla
> http://www.asipto.com - http://www.kamailio.org
> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160622/153e58b7/attachment.html>


More information about the sr-users mailing list