Re: [SR-Users] Radius - again.

2013-04-11 Thread Victor V. Kustov
Hi Daniel-Constantin about radius again: we need interact with radius same way: 1. when receive sip message with REGISTER method - initiate auth with radius. (Authentification) 2. when receive INVITE message - ask radius 'bout permissions and parse answer: get permission and next hop IP. (Author

Re: [SR-Users] Radius - again.

2013-04-11 Thread Victor V. Kustov
В Thu, 11 Apr 2013 10:14:15 +0200 Daniel-Constantin Mierla пишет: > Have you changed FLT_ACC? Because it is by default 1. hmmm... not. seems i had not complete understand how flags work. modparam("acc_radius", "radius_flag", FLT_ACC) - right? as I understand setflag(); set clobal flags. any m

Re: [SR-Users] Radius - again.

2013-04-11 Thread Daniel-Constantin Mierla
I thought you masked with XXX, but if you actually use XXX, then it has to be replaced with a pseudo-variable, such as $rU or $avp(x). Cheers, Daniel On 4/11/13 10:18 AM, Victor V. Kustov wrote: В Thu, 11 Apr 2013 09:44:37 +0200 Daniel-Constantin Mierla пишет: Can you run with debug=3 and s

Re: [SR-Users] Radius - again.

2013-04-11 Thread Victor V. Kustov
В Thu, 11 Apr 2013 09:44:37 +0200 Daniel-Constantin Mierla пишет: > Can you run with debug=3 and send the output from syslog? I checked > the sources and the parameter is exported by the module. Apr 11 12:09:51 phoenix-c2 /usr/local/sbin/kamailio[61267]: ERROR: [pvapi.c:690]: bad parameters Ap

Re: [SR-Users] Radius - again.

2013-04-11 Thread Daniel-Constantin Mierla
Have you changed FLT_ACC? Because it is by default 1. Daniel On 4/11/13 9:57 AM, Victor V. Kustov wrote: В Thu, 11 Apr 2013 09:44:37 +0200 Daniel-Constantin Mierla пишет: How it work in real life? Have you set radius_flag parameter? Yes. modparam("acc_radius", "radius_flag", 2) -- D

Re: [SR-Users] Radius - again.

2013-04-11 Thread Victor V. Kustov
В Thu, 11 Apr 2013 09:44:37 +0200 Daniel-Constantin Mierla пишет: > > How it work in real life? > > > Have you set radius_flag parameter? Yes. modparam("acc_radius", "radius_flag", 2) -- SY, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.8

Re: [SR-Users] Radius - again.

2013-04-11 Thread Daniel-Constantin Mierla
Hello, On 4/11/13 8:10 AM, Victor V. Kustov wrote: Good day. Need tips for radius auth/accounting. At fist, if I understand correctly, some changes here: modparam("acc", "service_type", 15) modparam("acc", "radius_extra", "Sip-Src-IP=$si;Sip-Src-Port=$sp") must be replaced to modparam("acc_

[SR-Users] Radius - again.

2013-04-10 Thread Victor V. Kustov
Good day. Need tips for radius auth/accounting. At fist, if I understand correctly, some changes here: modparam("acc", "service_type", 15) modparam("acc", "radius_extra", "Sip-Src-IP=$si;Sip-Src-Port=$sp") must be replaced to modparam("acc_radius", "service_type", 15) modparam("acc_radius", "r