[OpenSIPS-Users] Rating Engine Problem
bay2x1
rod at racequeen.ph
Wed Feb 25 02:29:45 CET 2009
I have check the radius log details and I was not able to find
Billing-Party.
This means that $avp(s:billing_party); is misconfigured in the opensips.cfg
file?
I am really confuse on how each record in the radacct table is created. I
know that it is using the sql.conf stored procedure to insert record into
the table but I dont know where the data is coming from.
Iñaki Baz Castillo wrote:
>
> El Miércoles, 25 de Febrero de 2009, bay2x1 escribió:
>> 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?
>
> Are you setting $avp(s:billing_party) in the script? Check it by
> inspecting
> the Radius data arriving to FreeRadius (look for "Billing-Party").
>
> --
> 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-tp2375313p2381441.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list