Re: [sr-dev] routing time of sip request

2009-10-27 Thread Juha Heinanen
andrei, thanks for your explanation about onsend_route. it is indeed a better idea to use an external monitoring tool to measure sr's switching delay. -- juha ___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mail

Re: [sr-dev] routing time of sip request

2009-10-27 Thread Andrei Pelinescu-Onciul
On Oct 24, 2009 at 10:29, Juha Heinanen wrote: > eu is asking operators to provide all kinds of statistics about their > telephone service. > > one of the attributes is routing time of sip request, i.e., in/out delay > of sip requests. > > in order to be able to do something like that, we could

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Olle E. Johansson
26 okt 2009 kl. 17.52 skrev Jan Janak: On Mon, Oct 26, 2009 at 5:11 PM, Juha Heinanen wrote: Jan Janak writes: > How about using ticks then? Ticks fit into a 32-bit number. By default > there are 16 ticks per second (but you can change it in > timer_ticks.h), would that provide enough

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Juha Heinanen
Jan Janak writes: > OK, then I think everything you need should already be there. You can > use get_ticks_raw() to get the ticks value and store it in an AVP. > Various macros for comparison and conversion of ticks are in > timer_ticks.h. the problem may be writing tick difference to an avp i

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Jan Janak
On Mon, Oct 26, 2009 at 5:11 PM, Juha Heinanen wrote: > Jan Janak writes: > >  > How about using ticks then? Ticks fit into a 32-bit number. By default >  > there are 16 ticks per second (but you can change it in >  > timer_ticks.h), would that provide enough precision? > > yes, 16 ticks per secon

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Juha Heinanen
Jan Janak writes: > How about using ticks then? Ticks fit into a 32-bit number. By default > there are 16 ticks per second (but you can change it in > timer_ticks.h), would that provide enough precision? yes, 16 ticks per second would be enough. -- juha __

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Jan Janak
On Mon, Oct 26, 2009 at 4:15 PM, Juha Heinanen wrote: > Jan Janak writes: > >  > Wouldn't it be possible to store the timestamp of request arrival in >  > an AVP at the beginning of request processing and then calculate the >  > difference from the current timestamp in on-send route? > > that woul

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Juha Heinanen
Jan Janak writes: > Wouldn't it be possible to store the timestamp of request arrival in > an AVP at the beginning of request processing and then calculate the > difference from the current timestamp in on-send route? that would be possible too, but it needs to be a ms timestamp, which would n

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Jan Janak
On Sat, Oct 24, 2009 at 8:29 AM, Juha Heinanen wrote: > eu is asking operators to provide all kinds of statistics about their > telephone service. > > one of the attributes is routing time of sip request, i.e., in/out delay > of sip requests. > > in order to be able to do something like that, we c

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Juha Heinanen
Henning Westerholt writes: > ah, i think we get this from a custom header extensions added from > the UA (FritzBox). It measures the time from the sended INVITE to > the first received this does not measure "call setup time", i.e., invite in-out from proxy. > provisional response or 200 O

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Henning Westerholt
On Montag, 26. Oktober 2009, Juha Heinanen wrote: > > I've searched a bit for this directive, and at least the (german/ > > austrian) source i found only mentioned a max. average call-setup time > > of 3 seconds, and > > 95% of all connections should be setup in 4s. But this applies only to >

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Juha Heinanen
Henning Westerholt writes: > I've searched a bit for this directive, and at least the (german/ austrian) > source i found only mentioned a max. average call-setup time of 3 > seconds, and > 95% of all connections should be setup in 4s. But this applies only to > national calls, otherwise it

Re: [sr-dev] routing time of sip request

2009-10-26 Thread Henning Westerholt
On Samstag, 24. Oktober 2009, Juha Heinanen wrote: > Victor Pascual Avila writes: > > Could you please share any document/info you might have on this? > > victor, > > EU directive is 2002/22/EU and QoS measurement requirements are based on > ETSI standard EG 202 057-1. i have not read them. Hi J

Re: [sr-dev] routing time of sip request

2009-10-24 Thread Juha Heinanen
Victor Pascual Avila writes: > Could you please share any document/info you might have on this? victor, EU directive is 2002/22/EU and QoS measurement requirements are based on ETSI standard EG 202 057-1. i have not read them. -- juha ___ sr-dev ma

Re: [sr-dev] routing time of sip request

2009-10-24 Thread Juha Heinanen
Victor Pascual Avila writes: > Could you please share any document/info you might have on this? i was just given a finnish version, which they claim is based on some eu requirement. -- juha ___ sr-dev mailing list sr-dev@lists.sip-router.org http://l

Re: [sr-dev] routing time of sip request

2009-10-24 Thread Victor Pascual Avila
Hi Juha, On Sat, Oct 24, 2009 at 9:29 AM, Juha Heinanen wrote: > eu is asking operators to provide all kinds of statistics about their > telephone service. Could you please share any document/info you might have on this? Cheers, -- Victor Pascual Ávila