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

bay2x1 rod at racequeen.ph
Mon Feb 23 03:15:08 CET 2009


I have checked my radacct details and the User-Name is not empty. I think
that these data will be saved at radacct table including the
UserName=User-Name. 

Mon Feb 23 09:27:59 2009
        Acct-Status-Type = Start
        Service-Type = Sip-Session
        Sip-Response-Code = 200
        Sip-Method = Invite
        Event-Timestamp = "Feb 23 2009 09:27:59 PHT"
        Sip-From-Tag = "1643738875"
        Sip-To-Tag = "495548121"
        Acct-Session-Id = "117393189 at 172.16.100.15"
        User-Name = "1000 at xxx.xx.xxx.xx"
        Calling-Station-Id = "sip:1000 at xxx.xx.xxx.xx"
        Called-Station-Id = "sip:1001 at xxx.xx.xxx.xx"
        Sip-Translated-Request-URI = "sip:xxx.xx.xxx.xx:5060;transport=udp"
        Canonical-URI = "sip:1001 at xxx.xx.xxx.xx"
        User-Agent = "Minisip"
        Contact = "<sip:1000 at xxx.xx.xxx.xx:5060;transport=udp>;expires=1000"
        NAS-Port = 5060
        Acct-Delay-Time = 0
        NAS-IP-Address = 127.0.0.1
        Client-IP-Address = 127.0.0.1
        Timestamp = 1235352479

Mon Feb 23 09:28:02 2009
        Acct-Status-Type = Stop
        Service-Type = Sip-Session
        Sip-Response-Code = 200
        Sip-Method = Bye
        Event-Timestamp = "Feb 23 2009 09:28:02 PHT"
        Sip-From-Tag = "495548121"
        Sip-To-Tag = "1643738875"
        Acct-Session-Id = "117393189 at xxx.xx.xxx.xx"
        User-Name = "1001 at xxx.xx.xxx.xx"
        Calling-Station-Id = "sip:1001 at xxx.xx.xxx.xx"
        Called-Station-Id = "sip:1000 at xxx.xx.xxx.xx"
        Sip-Translated-Request-URI =
"sip:1000 at xxx.xx.xxx.15:5060;transport=udp"
        Canonical-URI = "sip:1000 at xxx.xx.xxx.xx:5060;transport=udp"
        NAS-Port = 5060
        Acct-Delay-Time = 0
        NAS-IP-Address = 127.0.0.1
        Client-IP-Address = 127.0.0.1
        Timestamp = 1235352482




Iñaki Baz Castillo wrote:
> 
> El Lunes, 23 de Febrero de 2009, bay2x1 escribió:
>> 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; \
> 
> $Au != $au (please read the documentation about OpenSIPS
> pseudo-variables). 
> Anyway both can be valid, your issue is not here. I hope you understand
> that 
> $Au and $au variables are just set *after* authentication, so are you 
> authenticating users before the accounting?
> 
> 
> -- 
> 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-tp2369712p2370087.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.




More information about the Users mailing list