[OpenSIPS-Users] siptrace with microseconds accuracy

Josip Djuricic josip.djuricic at voljatel.hr
Mon Jan 25 15:26:04 CET 2010


Hi,

Tnx done it and it works as expected.

Just a thought though...perhaps there is a way to get this time somehow when
the message is really processed instead of taking current time? It would be
more precise.

Best regards,

Josip




-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Monday, January 25, 2010 2:41 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] siptrace with microseconds accuracy

Hi Josip,

You need to change the code to make the siptrace module to insert in 
table a new field, the microseconds (tv_usec field from gettimeofday() ).

With pure scripting is not possible.

Regards,
Bogdan

Josip Djuricic wrote:
>
> Hit there,
>
>  
>
> I'm thinking of implementing micorseconds accuracy for siptrace log. 
> Any advice to kep it clean as possible?
>
>  
>
> Thought of using gettimeofday() function.
>
>  
>
> Best regards,
>
>  
>
> Josip
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list