<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
Hi,
<br>
<br>
I really need help to solve this error. I have been working on it for
few days, and still can't get it working. I am using the following
packages in freebsd(6.2) sip server:
<br>
core:radiusclient-ng # ps -auxww | grep openser
<br>
root 46008 0.0 0.1 1548 1008 p5 R+ 1:41PM 0:00.00 grep openser
<br>
core:radiusclient-ng # pkg_info | grep openser
<br>
openser-1.2.2 A very fast and configurable SIP proxy with TLS support
<br>
core:radiusclient-ng # pkg_info | grep radius
<br>
freeradius-mysql-1.1.7 A free RADIUS server implementation with MySQL support
<br>
radiusclient-0..5.6 Client library and basic utilities for Radius authenticated
<br>
core:radiusclient-ng # pkg_info | grep proxy
<br>
mediaproxy-1.8.2_1 A far-end NAT traversal solution for SER/OpenSER
<br>
<br>The problem is after merged the 2 dictionary files (cat
dictionary.sip >> dictionary) and added the following lines in
the radiusclient-ng/dictionary file,
<br>
<br>
ATTRIBUTE Acct-Status-Type 40 integer
<br>
ATTRIBUTE Service-Type 6 integer
<br>
ATTRIBUTE Event-Timestamp 55 integer
<br>
ATTRIBUTE Acct-Session-Id 44 string
<br>
ATTRIBUTE src_leg 1 integer
<br>
ATTRIBUTE dst_leg 1 integer
<br>
<br>
VALUE Acct-Status-Type Start 1
<br>
VALUE Acct-Status-Type Stop 2
<br>
VALUE Acct-Status-Type Alive 3 # dup
<br>
VALUE Acct-Status-Type Interim-Update 3
<br>
VALUE Acct-Status-Type Accounting-On 7
<br>
VALUE Acct-Status-Type Accounting-Off 8
<br>
VALUE Acct-Status-Type Failed 15
<br>
<br>
VALUE Service-Type Sip-Session 15
<br>
<br>
Start openser recevied the following error:
<br>
<br>
ERROR:acc:extra2int: <src_leg> is not a number
<br>
ERROR:acc:acc_diam_init: leg info names for DIAMTER must be integer AVP codes
<br>
<br>
Can anyone please help?
<br>
<br>
Thanks
<br>
Sam</div></div></body></html>