Hi,
A quick help from anyone please?
I've compiled Openser to support radius accounting and did the necessary installations already. Freeradius is running and can do accounting and auth already when tested.
I'm having a problem starting Openser 1.2. The output shows...
--------------- 0(11900) set_mod_param_regex: acc matches module acc 0(11900) set_mod_param_regex: found <service_type> in module acc [/ usr/local/lib64/openser/modules/] 0(11900) set_mod_param_regex: acc matches module acc 0(11900) set_mod_param_regex: found <radius_config> in module acc [/ usr/local/lib64/openser/modules/] 0(11900) parse error (224,21-22): syntax error 0(11900) parse error (224,21-22): ERROR: bad config file (2 errors) ---------------
If I comment out the modparam("acc", "radius_config", "/usr/local/etc/ radiusclient/radiusclient.conf") below, Openser runs.
A snip of the openser config... --------------- modparam("acc", "acc_sip_code_column", "sip_code") modparam("acc", "acc_sip_reason_column", "sip_reason") modparam("acc", "service_type", 15) modparam("acc", "radius_config", "/usr/local/etc/radiusclient/ radiusclient.conf"); modparam("acc", "radius_flag", 0) modparam("acc", "radius_missed_flag",0) modparam("acc", "multi_leg_info", "src_leg=$avp(i:901);dst_leg=$avp(i: 902)") modparam("acc", "radius_extra", "Sip-RPid=$avp(s:rpid); \ Sip-Src-IP=$si; \ Sip-Src-Port=$sp; \ Divert-Reason=$avp(s:divert_reason); \ X-RTP-Stat=$avp(s:rtp_statistics); \ From-Header=$hdr(from); \ User-Agent=$hdr(user-agent); \ Contact=$hdr(contact); \ Event=$hdr(event); \ SIP-Proxy-IP=$avp(s:sip_proxy_ip)")
--------------
Which means that radius accounting was compiled in as the other parameters doesn't spew the error. The radiusclient.conf and dictionary files are essentially untouched except for the necessary changes on the shared secret and ip addresses for the radius config. Openser, Freeradius and Radiusclient are running on the same box under FC7 64bit.
Thank you in advance for your help...
Drix