[OpenSIPS-Users] How to integrate mediaproxy in the opensips.cfg file

bay2x1 rod at racequeen.ph
Mon Feb 23 02:01:03 CET 2009


I have integrated $au in my opensips.cfg configuration in this code, please
correct me if this is wrong.

modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 1)
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)")




Iñaki Baz Castillo wrote:
> 
> El Lunes, 23 de Febrero de 2009, bay2x1 escribió:
>> Thanx for the information, but I am a bit confused on what particular
>> area
>> I have misconfigured the opensips.cfg?
> 
> Ensure you are setting the pseudo-variable which is passed to Radius 
> with "UserName" name. Commonly $au is used for that purpose.
> 
> 
> -- 
> 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/How-to-integrate-mediaproxy-in-the-opensips.cfg-file-tp2369712p2369863.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.




More information about the Users mailing list