<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco">Sat Aug 16 19:02:04 2008</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> NAS-IP-Address = <a href="http://101.101.101.3">101.101.101.3</a></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> Acct-Status-Type = Interim-Update</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> Acct-Session-Id = "I=2 20+000000\000\000\000\t"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Event-Message = 0x0004493d32202020202020202032302b30303030303000000009000100012020202020202032302b3030303030300000004032303038313230383134343133362e3030300000000880000600</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Direction-indicator = 0x0001</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-MTA-Endpoint-Name = "MTA Endpoint"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Calling-Party-Number = " sipp"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Called-Party-Number = " service"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Routing-Number = " service"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Attr-87 = 0x0003</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Event-Message = 0x0004493d32202020202020202032302b3030303030300000000a000100012020202020202032302b3030303030300000004132303038313230383134343133362e3030300000000880000600</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Direction-indicator = 0x0002</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-MTA-Endpoint-Name = "MTA Endpoint"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Calling-Party-Number = " sipp"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Called-Party-Number = " service"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Routing-Number = " service"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> CableLabs-Attr-87 = 0x0003</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> Client-IP-Address = <a href="http://101.101.101.3">101.101.101.3</a></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> Acct-Unique-Session-Id = "b9e905ab4cefd846"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"> Timestamp = 1218927724</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">Both the instances of "Cablelabs-Event-Message" should translate to things like</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">Version-ID (4 bytes), BCID (24 bytes), Signaling_Start, ...</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">
<br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">The above is just a single packet that I have attached, a call has 7 such events in my case.</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">
<br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; min-height: 19.0px">-a</p><br><div class="gmail_quote">2008/12/8 <span dir="ltr"><<a href="mailto:tnt@kalik.net">tnt@kalik.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">What is the name that attribute? Can you post the debug of the accounting<br>
packet.<br>
<div><div></div><div class="Wj3C7c"><br>
Ivan Kalik<br>
Kalik Informatika ISP<br>
<br>
Dana 8/12/2008, "al pat" <<a href="mailto:alps.oss@gmail.com">alps.oss@gmail.com</a>> piše:<br>
<br>
>Ivan,<br>
>Yes, there is a cablelabs dictionary. The problem is that one of the<br>
>attributes has a complex structure that is embedded in the value part. The<br>
>value part here is just printed as a hex string - but from the packetcable<br>
>standard it is to be interpreted in a certain way. Since this payload itself<br>
>has specific meaning in the context of packetcable, some intervention will<br>
>be needed to print that - just don't know yet how to go about doing it.<br>
><br>
>-a<br>
><br>
>2008/12/8 <<a href="mailto:tnt@kalik.net">tnt@kalik.net</a>><br>
><br>
>> Freeradius has cablelabs VSA dictionary. If it needs updating ask the<br>
>> vendor for the latest dictionary. Post it also to this list so that it<br>
>> can be included in the distribution.<br>
>><br>
>> Ivan Kalik<br>
>> Kalik Informatika ISP<br>
>><br>
>><br>
>> Dana 8/12/2008, "al pat" <<a href="mailto:alps.oss@gmail.com">alps.oss@gmail.com</a>> piše:<br>
>><br>
>> >Hello,<br>
>> >I am trying to decode accounting message from a device which sends<br>
>> >PacketCable Event Messages.<br>
>> ><br>
>> >These are VSAs and the payload has a custom format.<br>
>> ><br>
>> >Freeradius dumps the octet string of the length of the message which it<br>
>> >cannot decode (due to custom format)<br>
>> ><br>
>> >I want to dump these specific attributes in the message. How do I go about<br>
>> >doing that?<br>
>> >I want to dump the output in the "detail-..." file along with the other<br>
>> >attributes.<br>
>> ><br>
>> >I am using freeradius version 1.1.7 (built March 10, 2008) on ubuntu with<br>
>> >linux kernel 2.6.26-19<br>
>> ><br>
>> >Thank You.<br>
>> >-a<br>
>> ><br>
>> ><br>
>><br>
>> -<br>
>> List info/subscribe/unsubscribe? See<br>
>> <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
>><br>
><br>
<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br>