[OpenSIPS-Users] Rating Engine Problem

bay2x1 rod at racequeen.ph
Wed Feb 25 01:35:17 CET 2009


To set it in radius I have to add this in my opensips.cfg file 

modparam("acc", "radius_extra", "User-Name=$Au; \
                                 Calling-Station-Id=$from; \
                                 Called-Station-Id=$to; \
                                 Sip-Translated-Request-URI=$ru; \
                                 Sip-RPid=$avp(s:rpid); \
                                 Source-IP=$avp(s:source_ip); \
                                 Source-Port=$avp(s:source_port); \
                                 SIP-Proxy-IP=$avp(s:sip_proxy_ip); \
                                 Canonical-URI=$avp(s:can_uri); \
                                 Billing-Party=$avp(s:billing_party); \
                                 Divert-Reason=$avp(s:divert_reason); \
                                 User-Agent=$hdr(user-agent); \
                                 Contact=$hdr(contact); \
                                 Event=$hdr(event); \
                                 ENUM-TLD=$avp(s:enum_tld)")
Am I correct?




Iñaki Baz Castillo wrote:
> 
> El Miércoles, 25 de Febrero de 2009, bay2x1 escribió:
>> I did that exactly, I copied the sql.conf cp
>> /var/www/CDRTool/setup/radius/OpenSIPS/ to /etc/freeradius/sql.conf as
>> per
>> the manual instructed.
>> I am still wondering why my rating engine is not generating price of call
>> computations.
>> I really appreciate your effort in helping.
> 
> I've just used an older version of CDRTool and the sql.conf file was 
> different.
> 
> In your sql.conf I see that the value inserted in radacct UserName column
> is
> '%{Billing-Party}, so be sure that "Billing-Party" is set via Radius.
> 
> -- 
> Iñaki Baz Castillo
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Rating-Engine-Problem-tp2375313p2381303.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.




More information about the Users mailing list