<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
When a RADIUS client sends a request, it will just send the integer
value, not the actual service-type. The service-type the integer is
mapped to is defined BOTH on the client side and on the server-side.
The RADIUS server will look up the integer value in its attribute-list
(dictionary). If you use a tool for looking at the actual packets, that
tool either shows integer value or needs its own dictionary to
translate. The nice thing is that mostly these attribute integer values
are standardized (however, with vendor-specific sub-categories). <br>
g-)<br>
<br>
Jan Janak wrote:
<blockquote cite="mid457D5CAB.4010108@iptel.org" type="cite">
  <pre wrap="">You need to configure it to the same value that your radius server
understands. It does not really matter if you use 15 or 16 as long as
your radius server is configured to use the same value. So make sure
that you have same dictionary in the client and in the server.

  Jan.

Lokesh Kumar wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> 

Hello Greger,

 

First of all apologies for just sending you my question, as I missed to
click on reply all.

 

Now I solved the problem I was having

 

modparam("acc", "service_type", 16)

 

this line in my ser.cfg which was generating acc packets with IAPP-AP-Check.

 

When I changed service_type to 15, it gives me Sip-Session.

 

But in acc docs it has been mentioned to setup it 16 with radius, and
default is 15, which I didn’t understand. Why do I needs to setup it 16?

 

Thanks

 

Lokesh

------------------------------------------------------------------------

*From:* Greger V. Teigre [<a class="moz-txt-link-freetext" href="mailto:greger@teigre.com">mailto:greger@teigre.com</a>]
*Sent:* Sunday, December 10, 2006 8:40 AM
*To:* Lokesh Kumar
*Cc:* SER USER
*Subject:* Re: [Serusers] Ser accounting question?

 

Copy the list. Sending private emails just make them add to the end of
my big inbox.
I don't know where the service type comes from. That's where you need to
define it.
g-)

Lokesh Kumar wrote:

Where I can define service type? If this not from ser then must be
conflicting from radius dictionary. Can you suggest something.?

 

Thanks

 

Lokesh

 

------------------------------------------------------------------------

*From:* Greger V. Teigre [<a class="moz-txt-link-freetext" href="mailto:greger@teigre.com">mailto:greger@teigre.com</a>]
*Sent:* Thursday, December 07, 2006 10:11 AM
*To:* Lokesh Kumar
*Cc:* <a class="moz-txt-link-abbreviated" href="mailto:serusers@iptel.org">serusers@iptel.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:serusers@iptel.org">&lt;mailto:serusers@iptel.org&gt;</a>
*Subject:* Re: [Serusers] Ser accounting question?

 

The service-type is set by the sender of the accounting packet. I'm not
aware of such a service-type in ser.
g-)

Lokesh Kumar wrote:

Hello List,

 

Below mentioned is my accounting packet, I would like to know what is
IAPP-AP-Check, what this check do , and where its configuration present.
Can I change Service-Type ?

 

Wed Dec  6 20:08:23 2006

        Acct-Status-Type = Stop

        Service-Type = IAPP-AP-Check

        Sip-Response-Code = 200

        Sip-Method = 8

        User-Name = <a class="moz-txt-link-rfc2396E" href="mailto:69021@xxx.yyy.pt">"69021@xxx.yyy.pt"</a> <a class="moz-txt-link-rfc2396E" href="mailto:69021@xxx.yyy.pt">&lt;mailto:69021@xxx.yyy.pt&gt;</a>

        Calling-Station-Id = <a class="moz-txt-link-rfc2396E" href="mailto:sip:69021@xxx.yyy.pt">"sip:69021@xxx.yyy.pt"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:sip:69021@xxx.yyy.pt">&lt;mailto:sip:69021@xxx.yyy.pt&gt;</a>

        Called-Station-Id = <a class="moz-txt-link-rfc2396E" href="mailto:sip:30612@xxx.yyy.pt">"sip:30612@xxx.yyy.pt"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:sip:30612@xxx.yyy.pt">&lt;mailto:sip:30612@xxx.yyy.pt&gt;</a>

        Sip-Translated-Request-URI = <a class="moz-txt-link-rfc2396E" href="mailto:sip:30612@212.13.xx.yy:5060">"sip:30612@212.13.xx.yy:5060"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:sip:30612@212.13.xx.yy:5060">&lt;mailto:sip:30612@212.13.xx.yy:5060&gt;</a>

        Acct-Session-Id =
<a class="moz-txt-link-rfc2396E" href="mailto:D4808CE2-1BA9-4572-B82B-5A0BCF6AB7CB@192.168.0.47">"D4808CE2-1BA9-4572-B82B-5A0BCF6AB7CB@192.168.0.47"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:D4808CE2-1BA9-4572-B82B-5A0BCF6AB7CB@192.168.0.47">&lt;mailto:D4808CE2-1BA9-4572-B82B-5A0BCF6AB7CB@192.168.0.47&gt;</a>

        Sip-To-Tag = "86949D74-2699"

        Sip-From-Tag = "67434843439"

        Sip-Cseq = "3"

        NAS-Port = 5060

        Acct-Delay-Time = 0

        NAS-IP-Address = 127.0.0.1

        Client-IP-Address = 127.0.0.1

        Acct-Unique-Session-Id = "c6adb5da735b1150"

        Timestamp = 1165435703

 

Thanks

 

Lokesh

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.6/567 - Release Date: 12/4/2006

 

 

 



------------------------------------------------------------------------


 

 

 

_______________________________________________

Serusers mailing list

<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Serusers@lists.iptel.org">&lt;mailto:Serusers@lists.iptel.org&gt;</a>

<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>

  

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.6/567 - Release Date: 12/4/2006

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.6/567 - Release Date: 12/4/2006


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006


------------------------------------------------------------------------

_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
</body>
</html>