<DIV>hello </DIV>
<DIV>About this error in my SuSE box, I have installed Ser, Radiusclient and Freeradius in other PC with Red Hat 9 and now&nbsp;radius accounting is working very well so I think there is a problem with some module or library in SuSE Linux 9... </DIV>
<DIV>&nbsp;</DIV>
<DIV>Now I have some questions about this accounting logs:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1. I have 3 states for each call: 2 starts and 1 stop, please see the log below&nbsp;and &nbsp;tell me how can I solve this problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. I need account non successful calls, i.e. 0 second calls, is this possible with this module?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks </DIV>
<DIV>Rafael</DIV>
<DIV>&nbsp;</DIV>
<DIV>----- Radius Log for 1 completed call &nbsp;----------&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Fri Jul 23 18:04:45 2004<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Status-Type = Start<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service-Type = IAPP-Register<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Response-Code = 200<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Method = Invite<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Name = "<A href="mailto:6603000@200.110.2.131">6603000@200.110.2.131</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calling-Station-Id = "sip:6603000@200.110.2.131"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Called-Station-Id = "sip:6604000@200.110.2.131"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Translated-Request-URI = "sip:6604000@200.110.6.58"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Session-Id = "<A href="mailto:f1367900-7340-4684-802a-0002a40055b2@10.0.0.236">f1367900-7340-4684-802a-0002a40055b2@10.0.0.236</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-To-Tag =
 "bb405f25a4"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-From-Tag = "f100462aa4"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-CSeq = "15"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-IP-Address = 127.0.0.1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Port = 5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Delay-Time = 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client-IP-Address = 127.0.0.1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Unique-Session-Id = "71f539047855d0e4"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Timestamp = 1090623885</DIV>
<DIV>&nbsp;</DIV>
<DIV>Fri Jul 23 18:04:45 2004<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Status-Type = Start<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service-Type = IAPP-Register<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Response-Code = 200<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Method = Bye<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Name = "<A href="mailto:6603000@200.110.2.131">6603000@200.110.2.131</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calling-Station-Id = "sip:6603000@200.110.2.131"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Called-Station-Id = "sip:6604000@200.110.2.131"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Translated-Request-URI = "sip:6604000@200.110.6.58"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Session-Id = "<A href="mailto:f1367900-7340-4684-802a-0002a40055b2@10.0.0.236">f1367900-7340-4684-802a-0002a40055b2@10.0.0.236</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-To-Tag =
 "bb405f25a4"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-From-Tag = "f100462aa4"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-CSeq = "15"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-IP-Address = 127.0.0.1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Port = 5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Delay-Time = 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client-IP-Address = 127.0.0.1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Unique-Session-Id = "71f539047855d0e4"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Timestamp = 1090623885</DIV>
<DIV>&nbsp;</DIV>
<DIV>Fri Jul 23 18:05:06 2004<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Status-Type = Stop<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service-Type = IAPP-Register<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Response-Code = 200<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Method = 8<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Name = "<A href="mailto:6604000@200.110.2.131">6604000@200.110.2.131</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calling-Station-Id = "sip:6604000@200.110.2.131"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Called-Station-Id = "sip:6603000@200.110.2.131"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Translated-Request-URI = "sip:6603000@10.0.0.236"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Session-Id = "<A href="mailto:f1367900-7340-4684-802a-0002a40055b2@10.0.0.236">f1367900-7340-4684-802a-0002a40055b2@10.0.0.236</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-To-Tag =
 "f100462aa4"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-From-Tag = "bb405f25a4"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-CSeq = "9"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-IP-Address = 127.0.0.1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Port = 5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Delay-Time = 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client-IP-Address = 127.0.0.1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Unique-Session-Id = "8b35f17e9ba92270"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Timestamp = 1090623906</DIV>
<DIV>-------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR><B><I>Jan Janak &lt;jan@iptel.org&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On 21-07 11:07, Rafael J. Risco G.V. wrote:<BR>&gt; Hi Jan<BR>&gt; I did not see any other error in Ser or Radiusd Debuging, I?ve tested radiusclient with "radclient" and I think its working as I can see in the logs below:<BR>&gt; <BR>&gt; sipser:/usr/local/etc/raddb# radclient -f digest localhost auth hola123<BR>&gt; Received response ID 138, code 2, length = 45<BR>&gt; Reply-Message = "Hello, test with digest"<BR><BR>This tests just authentication, not accounting. <BR><BR>&gt; on the other hand, freeradius in debug mode just show me authentication process from Ser and it is doing "accounting" for other NAS like gnugk and cisco as5350 (please look the radius log below)... About "radius-ing failed" message, I found this parameter in acc.c (line 674,2-16):<BR>&gt; <BR>&gt; if (rc_acct(SIP_PORT, send)!=OK_RC) {<BR>&gt; LOG(L_ERR, "ERROR: acc_rad_request: radius-ing failed\n");<BR>&gt;
 goto error;<BR>&gt; }<BR>&gt; rc_avpair_free(send);<BR>&gt; return 1;<BR><BR>Yes, but the error comes from the radiusclient library because rc_acct<BR>does not return OK_RC, as you can see in the code snippet above.<BR><BR>I really do not know what the problem is, since it is working in other<BR>setups, I suppose your radiusclient library is not configured<BR>properly, maybe there is an error in the dictionary files. It is also<BR>possible to enable debugging in radiusclient, but you need to<BR>recompile the library to make it work.<BR><BR>Jan.<BR><BR>_______________________________________________<BR>Serusers mailing list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE><p><br><hr size=1 noshade><b>Do You Yahoo!?</b><br>
<a href=http://espanol.yahoo.com/mail_tagline/*http://espanol.news.yahoo.com><img src="http://us.i1.yimg.com/us.yimg.com/i/not/dailynews.gif" width=30 height=26 border=0 align=left></a>
Todo lo que quieres saber de Estados Unidos, América Latina y el resto del Mundo.<br>
Visíta <a href=http://espanol.yahoo.com/mail_tagline/*http://espanol.news.yahoo.com>Yahoo! Noticias</a>.<br>