Re: Packet-Original-Timestamp

2013-03-08 Thread Бен Томпсон
If you could provide a backtrace of the rlm_perl module at the point it gets stuck it'd be helpful. Then we can fix it before someone else runs into the same issue. Hello Arran I am not very familiar debugging C programs, but maybe this is will help :- root@somecomp:~# gdb

Re: Packet-Original-Timestamp

2013-03-01 Thread Бен Томпсон
Томпсон b.thomp...@latera.ru wrote: Hello Everyone I have a NAS which is not sending Event-Timestamp in accounting messages. I wondered if I could create it in unlang by subtracting Acct-Delay-Time from Packet-Original-Timestamp. However, when I put a reference to Packet-Original-Timestamp

Re: Packet-Original-Timestamp

2013-03-01 Thread Arran Cudbard-Bell
-Timestamp. However, when I put a reference to Packet-Original-Timestamp in the acconting setion I get the following error :- Reference ${Packet-Original-Timestamp} not found Am I doing something wrong? Yeah you're using a $ instead of a %. Many thanks. Another quick question

Re: Packet-Original-Timestamp

2013-03-01 Thread Alan DeKok
of my setup... Is Packet-Original-Timestamp definitely not usable in v2.x? Don't ask leading questions like that. It's rude. It is usable. Arran said it was usable. You were told this. If you want to add Event-Timestamp, when it isn't already there, do: if (!Event-Timestamp

Re: Packet-Original-Timestamp

2013-03-01 Thread Бен Томпсон
by subtracting Acct-Delay-Time from Packet-Original-Timestamp. However, when I put a reference to Packet-Original-Timestamp in the acconting setion I get the following error :- Reference ${Packet-Original-Timestamp} not found Am I doing something wrong? Yeah you're using a $ instead

Re: Packet-Original-Timestamp

2013-03-01 Thread Бен Томпсон
) for request 0 I need rlm_perl as part of my setup... Is Packet-Original-Timestamp definitely not usable in v2.x? Don't ask leading questions like that. It's rude. It is usable. Arran said it was usable. You were told this. Hi Alan I am sorry, it was not intended to be rude. I

Re: Packet-Original-Timestamp

2013-03-01 Thread Arran Cudbard-Bell
If you want to add Event-Timestamp, when it isn't already there, do: if (!Event-Timestamp) { update request { Event-Timestamp := %l } } Yes that'll work. But it won't be forwards compatible with 3.0. If you could provide a backtrace of the

Packet-Original-Timestamp

2013-02-28 Thread Бен Томпсон
Hello Everyone I have a NAS which is not sending Event-Timestamp in accounting messages. I wondered if I could create it in unlang by subtracting Acct-Delay-Time from Packet-Original-Timestamp. However, when I put a reference to Packet-Original-Timestamp in the acconting setion I get

Re: Packet-Original-Timestamp

2013-02-28 Thread Arran Cudbard-Bell
On 1 Mar 2013, at 00:43, Бен Томпсон b.thomp...@latera.ru wrote: Hello Everyone I have a NAS which is not sending Event-Timestamp in accounting messages. I wondered if I could create it in unlang by subtracting Acct-Delay-Time from Packet-Original-Timestamp. However, when I put

Re: Packet-Original-Timestamp

2013-02-28 Thread Бен Томпсон
Packet-Original-Timestamp. However, when I put a reference to Packet-Original-Timestamp in the acconting setion I get the following error :- Reference ${Packet-Original-Timestamp} not found Am I doing something wrong? Yeah you're using a $ instead of a %. Many thanks. - List info/subscribe

Re: Packet-Original-Timestamp

2013-02-28 Thread Бен Томпсон
it in unlang by subtracting Acct-Delay-Time from Packet-Original-Timestamp. However, when I put a reference to Packet-Original-Timestamp in the acconting setion I get the following error :- Reference ${Packet-Original-Timestamp} not found Am I doing something wrong? Yeah you're using a $ instead

Re: Packet-Original-Timestamp

2013-02-28 Thread Arran Cudbard-Bell
-Timestamp in accounting messages. I wondered if I could create it in unlang by subtracting Acct-Delay-Time from Packet-Original-Timestamp. However, when I put a reference to Packet-Original-Timestamp in the acconting setion I get the following error :- Reference ${Packet-Original-Timestamp

Re: Packet-Original-Timestamp

2013-02-28 Thread Бен Томпсон
Everyone I have a NAS which is not sending Event-Timestamp in accounting messages. I wondered if I could create it in unlang by subtracting Acct-Delay-Time from Packet-Original-Timestamp. However, when I put a reference to Packet-Original-Timestamp in the acconting setion I get the following