Hi all,
I've a problem with radius attribute Sip-Method. And this comes from a difference between SER values for attributes and the Draft-schulzrinne-sipping-radius-accounting-00.txt ones. In the draft, attributes are defined this way : 0 INVITE 1 BYE 2 REGISTER 3 CANCEL 4 OPTIONS 5 ACK 6 SUBSCRIBE 7 NOTIFY And you, you defined them : METHOD_UNDEF=0 METHOD_INVITE=1 METHOD_CANCEL=2 METHOD_ACK=4 METHOD_BYE=8 METHOD_OTHER=16 So when I send this attributes to my radius server, the values are not coherent. Why is it done like this. And what can I do to get some coherency? Thanks all
Laurent
You are right, the acc module uses internal method numbers instead of the numbers specified in the draft, we will fix it. Thanks for the report !
Jan.
On 10-06 12:42, l.gaillard01@free.fr wrote:
Hi all,
I've a problem with radius attribute Sip-Method. And this comes from a difference between SER values for attributes and the Draft-schulzrinne-sipping-radius-accounting-00.txt ones. In the draft, attributes are defined this way : 0 INVITE 1 BYE 2 REGISTER 3 CANCEL 4 OPTIONS 5 ACK 6 SUBSCRIBE 7 NOTIFY And you, you defined them : METHOD_UNDEF=0 METHOD_INVITE=1 METHOD_CANCEL=2 METHOD_ACK=4 METHOD_BYE=8 METHOD_OTHER=16 So when I send this attributes to my radius server, the values are not coherent. Why is it done like this. And what can I do to get some coherency? Thanks all
Laurent
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
iana defines these methods:
Methods and Response Codes - per [RFC3261] Section 27.4 --------------------------
Methods Reference ------- --------- ACK [RFC3261] BYE [RFC3261] CANCEL [RFC3261] INFO [RFC2976] INVITE [RFC3261] NOTIFY [RFC3265] OPTIONS [RFC3261] PRACK [RFC3262] REGISTER [RFC3261] SUBSCRIBE [RFC3265] UPDATE [RFC3311] MESSAGE [RFC3428] REFER [RFC3515]
so perhaps all of them should be include.
-- juha
Yes, but IANA does not specify the code for them (at least I did not find it). The only document I was able to find was the already expired draft-schulzrinne-sipping-radius-accounting-00
Is there anything more up to date ?
Jan.
On 16-06 12:33, Juha Heinanen wrote:
iana defines these methods:
Methods and Response Codes - per [RFC3261] Section 27.4
Methods Reference
ACK [RFC3261] BYE [RFC3261] CANCEL [RFC3261] INFO [RFC2976] INVITE [RFC3261] NOTIFY [RFC3265] OPTIONS [RFC3261] PRACK [RFC3262] REGISTER [RFC3261] SUBSCRIBE [RFC3265] UPDATE [RFC3311] MESSAGE [RFC3428] REFER [RFC3515]
so perhaps all of them should be include.
-- juha
Jan Janak writes:
Yes, but IANA does not specify the code for them (at least I did not find it). The only document I was able to find was the already expired draft-schulzrinne-sipping-radius-accounting-00.
Is there anything more up to date ?
i don't think so. we would just need to invent codes for the rest or just ignore schulzrinne compliance and keep existing codes as they and add the new ones (my vote).
-- juha