[OpenSIPS-Users] Rating Engine Problem

Iñaki Baz Castillo ibc at aliax.net
Wed Feb 25 01:58:06 CET 2009


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



More information about the Users mailing list