No subject
Thu Jan 29 11:41:19 CET 2009
modparam("acc", "db_url", "mysql://openser:XXXXXXXXXXXX@localhost/openser")
modparam("acc", "db_flag", 2)
modparam("acc", "log_flag", 2)
modparam("acc", "db_missed_flag", 3)
modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "radius_flag", 2)
modparam("acc", "radius_missed_flag", 3)
modparam("acc", "radius_extra", "User-Name=$Au; \
Calling-Station-Id=$from; \
Called-Station-Id=$to; \
Sip-Translated-Request-URI=$avp(s:translated_uri); \
Sip-RPid=$avp(s:rpid); \
Source-IP=$si; \
Source-Port=$sp; \
Canonical-URI=$avp(s:can_uri); \
Billing-Party=$avp(s:billing_party); \
Divert-Reason=$avp(s:divert_reason); \
X-RTP-Stat=$hdr(X-RTP-Stat); \
Contact=$hdr(contact); \
Event=$hdr(event); \
SIP-Proxy-IP=$avp(s:sip_proxy_ip); \
ENUM-TLD=$avp(s:enum_tld)")
Obviously it's not a show stopper but it's just bugging the hell out of me
:)
If any more info is required please let me know and I will provide ASAP.
TIA,
Stephen
--00151744790ee0030304827bb087
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi All,<div><br></div><div>One for the AG guys.</div><div><br></div><div>Ha=
ving a very small but annoying issue with Radius Accounting.</div><div><br>=
</div><div>Everything is getting written fine except for 'Source-Port&#=
39;</div>
<div><br></div><div>This appears in radius.log everytime a record is writte=
n/updated. - Error: rlm_radutmp: NAS OpenSER port 5060 unknown packet type =
15</div><div><br></div><div>It's writing this into the text files and v=
alue to the radacct table:</div>
<div><br></div><div><div>Source-Port =3D "\304\023"</div><div><br=
></div><div>All other information is being written correctly.</div><div><br=
></div><div>CDRTool version: 7.0</div><div>Freeradius version:=A01.1.7-4</d=
iv>
<div>mediaproxy version:=A02.3.10</div><div>Kamailio Version: 1.5.3</div><d=
iv><br></div><div>Using the dictionary files that ship with CDRTool</div><d=
iv><br></div></div><div>From accounting:</div><div><br></div><div><div>modp=
aram("acc", "db_url", "mysql://openser:XXXXXXXXXXX=
X at localhost/openser")</div>
<div>modparam("acc", "db_flag", 2)</div><div>modparam(&=
quot;acc", "log_flag", 2)</div><div>modparam("acc"=
, "db_missed_flag", 3)</div><div>modparam("acc", "=
radius_config", "/etc/radiusclient-ng/radiusclient.conf")</d=
iv>
<div>modparam("acc", "radius_flag", 2)</div><div>modpar=
am("acc", "radius_missed_flag", 3)</div><div>modparam(&=
quot;acc", "radius_extra", "User-Name=3D$Au; \</div><di=
v>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Calling-Station-Id=3D$from; \</div><div>=
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Called-Station-Id=3D$to; \</div><div>=A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Sip-Translated-Request-URI=3D$avp(s:translat=
ed_uri); \</div><div>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Sip-RPid=3D$avp(s:rp=
id); \</div>
<div>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Source-IP=3D$si; \</div><div>=A0=A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0Source-Port=3D$sp; \</div><div>=A0=A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0Canonical-URI=3D$avp(s:can_uri); \</div><div>=A0=A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0Billing-Party=3D$avp(s:billing_party); \</div><div>=
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Divert-Reason=3D$avp(s:divert_reason); \<=
/div>
<div>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0X-RTP-Stat=3D$hdr(X-RTP-Stat); \</di=
v><div>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Contact=3D$hdr(contact); \</div><d=
iv>=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Event=3D$hdr(event); \</div><div>=A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SIP-Proxy-IP=3D$avp(s:sip_proxy_ip); \</div>=
<div>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ENUM-TLD=3D$avp(s:enum_tld)")</div><=
div><br></div></div><div><br></div><div>Obviously it's not a show stopp=
er but it's just bugging the hell out of me :)</div><div><br></div><div=
>If any more info is required please let me know and I will provide ASAP.</=
div>
<div><br></div><div>TIA,</div><div>Stephen</div>
--00151744790ee0030304827bb087--
More information about the Users
mailing list