Re: [SR-Users] Calculating time differences

2016-07-11 Thread Daniel-Constantin Mierla
Hello, the config doesn't support float. You can try some options: - use embedded lua (perl, python, ..., exec, sqlops) to make such operations - split each value in two integers using s.select transformation and do operations for seconds and miliseconds parts, then build again a value Cheers,

[SR-Users] Calculating time differences

2016-07-08 Thread Sebastian Damm
Hi, we are suspending a transaction at one place in our route and resume it later. I want to log the time difference between suspending and resuming. I thought I could do it with saving $TV(Sn), but apparently I can't. Kamailio says, it can't convert the saved value into integer. This true, of cou