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).
g-)

Jan Janak wrote:
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:
  
 

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 [mailto:greger@teigre.com]
*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 [mailto:greger@teigre.com]
*Sent:* Thursday, December 07, 2006 10:11 AM
*To:* Lokesh Kumar
*Cc:* serusers@iptel.org <mailto:serusers@iptel.org>
*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 = "69021@xxx.yyy.pt" <mailto:69021@xxx.yyy.pt>

        Calling-Station-Id = "sip:69021@xxx.yyy.pt"
<mailto:sip:69021@xxx.yyy.pt>

        Called-Station-Id = "sip:30612@xxx.yyy.pt"
<mailto:sip:30612@xxx.yyy.pt>

        Sip-Translated-Request-URI = "sip:30612@212.13.xx.yy:5060"
<mailto:sip:30612@212.13.xx.yy:5060>

        Acct-Session-Id =
"D4808CE2-1BA9-4572-B82B-5A0BCF6AB7CB@192.168.0.47"
<mailto:D4808CE2-1BA9-4572-B82B-5A0BCF6AB7CB@192.168.0.47>

        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

Serusers@lists.iptel.org <mailto:Serusers@lists.iptel.org>

http://lists.iptel.org/mailman/listinfo/serusers

  

 

--
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
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers