Tnx:)
working!
br
miha
On 17/01/2017 12:30, Ionut Ionita wrote:
Also if you'll check latest commit in master[0], modified radius
code to throw error and not start if any attribute/
value/vendor is not found in order to not get to similar situations in
the future. Backported the commit
Also if you'll check latest commit in master[0], modified radius
code to throw error and not start if any attribute/
value/vendor is not found in order to not get to similar situations in
the future. Backported the commit back to 2.1.
[0]
Hello again,
Found a fix for your problem. You should use *dictionary.rfc2866*
(freeradius has it). This dictionary has value defined
for *Failed*.
VALUE› Acct-Status-Type› › Start› › › 1
VALUE› Acct-Status-Type› › Stop› › › 2
VALUE› Acct-Status-Type› › Alive› ›
ok, then i will use this value and on radius side i will catch it and
set to internally to STOP if this is only soluton.
The thing is when 486/busy comes, opensips sends this broken radius
accouting request and radius server does not replay to it and that is
why the opensips waits almost 40s
No, thank you it's fine now. That value was for testing purposes only,
you can remove it now.
OpenSIPS it's using *Failed* value for *Acct-Status-Type* which is not
defined anywhere (nor in
our dictionary, nor in any RFC or somewhere else). Not finding that
value results in having *0
*for
Hi Ionut
do I need on bouth sides or opensips side?
I can see that now i get: Acct-Status-Type = Modem-Start in radius.
br
miha
On 16/01/2017 16:45, Ionut Ionita wrote:
Hi Miha,
Can you set in your radius dictionary file where the
*Acct-Status-Type* values are defined
VALUE
Hi Miha,
Can you set in your radius dictionary file where the
*Acct-Status-Type* values are defined
VALUEAcct-Status-TypeStart› › › 1
VALUEAcct-Status-TypeStop› › › 2
VALUEAcct-Status-TypeAlive› › › 3
VALUEAcct-Status-TypeAccounting-On› › 7
Hello
how can i define that for 486/busy opensips will send Acct-Status-Type =
2 to radius server?
Acct-Status-Type = 0 it not like standard thing and it should not be send :)
I imported dictinary.opensips and .sip.
tnx
miha
___
Users mailing