[OpenSIPS-Users] Radius acc - wrong Sip-Call-Setuptime

2017-01-27 Thread Dragomir Haralambiev
Hello, I try to use OpenSips 2.2 with Radius ACC. Radius server receive wrong Sip-Call-Setuptime like this Sip-Call-Setuptime = 2938 When use OpenSips 1.10 all is OK. Where is problem? Best regards, Dragomir ___ Users mailing list Users@lists.opensip

Re: [OpenSIPS-Users] s.index madness and my waning grip on sanity

2017-01-27 Thread Newlin, Ben
For the hard-coded string, my suggestion was to remove the quotes completely. Most transformations don’t want quotes, even on string-type input. $var(index) = $(var(source){s.index, one}); For the variable, I can’t help as I’m not using it. I can confirm it works with a route parameter: $var(i

Re: [OpenSIPS-Users] s.index madness and my waning grip on sanity

2017-01-27 Thread Jock McKechnie
Thanks Ben; As you say, the s.index is in the 1.11 docs. I had a brief moment of panic when Liviu suggested otherwise until I checked, verified, and then your mail popped up confirming. I tried single quotes on both variable declarations, I tried the index with the var ($var(search)) and a string

Re: [OpenSIPS-Users] s.index madness and my waning grip on sanity

2017-01-27 Thread Newlin, Ben
That is not correct. OpenSIPS 1.11 definitely contains the index transformation [1]. I’m using it in my code! I think the problem is the quoting. For the example that uses a hard-coded search string it should work if you leave off the quotes. This is how I’m using it. For the variable example,

Re: [OpenSIPS-Users] s.index madness and my waning grip on sanity

2017-01-27 Thread Liviu Chircu
Hi, Jock! The answer is simple: you must be using a pre-2.2 OpenSIPS, which does not include this transformation, just like the error message says: "ERROR:core:tr_parse_string: unknown transformation: index" Future advice: before reading documentation, make sure you properly select your Open

[OpenSIPS-Users] s.index madness and my waning grip on sanity

2017-01-27 Thread Jock McKechnie
Good morning all; I'm having a battle with s.index that I'd really like to believe no one should be waging, and I've come to the conclusion either 1.11 is seriously broken, or I'm utterly deranged, but at the risk of verifying the second, I wanted to reach out and figure out what I'm doing wrong h