<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello again,<br>
<br>
Found a fix for your problem. You should use <b>dictionary.rfc2866</b>
(freeradius has it). This dictionary has value defined<br>
for <b>Failed</b>.<br>
<br>
VALUE› Acct-Status-Type› › Start› › ›
1
<br>
VALUE› Acct-Status-Type› › Stop› › › 2<br>
VALUE› Acct-Status-Type› › Alive› › › 3 # dup<br>
VALUE› Acct-Status-Type› › Interim-Update› › 3<br>
VALUE› Acct-Status-Type› › Accounting-On› › 7<br>
VALUE› Acct-Status-Type› › Accounting-Off› › 8<br>
VALUE› Acct-Status-Type› › Failed› › › 15
<p><br>
</p>
<p>Regards,<br>
</p>
<pre class="moz-signature" cols="72">Ionut Ionita
OpenSIPS Developer</pre>
<div class="moz-cite-prefix">On 01/17/2017 10:33 AM, Miha wrote:<br>
</div>
<blockquote
cite="mid:03e5c6b9-5d21-1d55-eb86-2dc47bcae178@softnet.si"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<font face="Calibri Light">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.<br>
<br>
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 to send back ACK
on 486.<br>
<br>
<br>
Or is there any other solution?<br>
<br>
<br>
br<br>
miha<br>
</font><br>
<div class="moz-cite-prefix">On 17/01/2017 09:27, Ionut Ionita
wrote:<br>
</div>
<blockquote
cite="mid:8f907cea-dacd-dfa5-ad67-3613035aa825@opensips.org"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
No, thank you it's fine now. That value was for testing purposes
only, you can remove it now.<br>
OpenSIPS it's using <b>Failed</b> value for <b>Acct-Status-Type</b>
which is not defined anywhere (nor in<br>
our dictionary, nor in any RFC or somewhere else). Not finding
that value results in having <b>0<br>
</b>for <b>Acct-Status-Type</b>, the value you were seeing
before. Will let you know when we'll decide<br>
how we should fix this issue.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Ionut Ionita
OpenSIPS Developer</pre>
<div class="moz-cite-prefix">On 01/17/2017 09:38 AM, Miha wrote:<br>
</div>
<blockquote
cite="mid:06dd350e-51a3-3c71-8a84-9112e0c794d5@softnet.si"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<font face="Calibri Light">Hi Ionut<br>
<br>
do I need on bouth sides or opensips side?<br>
<br>
I can see that now i get: Acct-Status-Type = Modem-Start in
radius.<br>
<br>
<br>
br<br>
miha<br>
</font><br>
<div class="moz-cite-prefix">On 16/01/2017 16:45, Ionut Ionita
wrote:<br>
</div>
<blockquote
cite="mid:c2c3222f-4284-8a9f-6d8e-fc274442f562@opensips.org"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<p>Hi Miha,</p>
<p> Can you set in your radius dictionary file where the
<b>Acct-Status-Type</b> values are defined</p>
<p> VALUE Acct-Status-Type Start› › › 1<br>
VALUE Acct-Status-Type Stop› › › 2<br>
VALUE Acct-Status-Type Alive› › › 3<br>
VALUE Acct-Status-Type Accounting-On› ›
7
<br>
VALUE Acct-Status-Type Accounting-Off› › 8</p>
<p>the following line, just below the others:</p>
<p>VALUE Acct-Status-Type Failed 4</p>
<p>and then check if you'll see <b>4 </b>instead of <b>0</b>
for <b>Acct-Status-Type</b>?</p>
<p>It seems that opensips it's using a value that's not in
the radius dictionary, <b>Failed</b> value.<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">Ionut Ionita
OpenSIPS Developer</pre>
<div class="moz-cite-prefix">On 01/16/2017 04:05 PM, Miha
wrote:<br>
</div>
<blockquote
cite="mid:b416e908-a1f2-5be8-0571-3f29ae1f7482@softnet.si"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<font face="Calibri Light">Hello<br>
<br>
how can i define that for 486/busy opensips will send
Acct-Status-Type = 2 to radius server?<br>
Acct-Status-Type = 0 it not like standard thing and it
should not be send :)<br>
<br>
<br>
I imported dictinary.opensips and .sip.<br>
<br>
<br>
tnx<br>
miha<br>
</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>