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_

Re: [SR-Users] Radius: extra fields

2013-04-11 Thread Daniel-Constantin Mierla
Hello, On 4/10/13 10:37 AM, Victor V. Kustov wrote: Good day! I had in config: modparam("acc_radius", "radius_extra", "User-Name=XXX") and get same error when start kamailio: ERROR: acc [acc_extra.c:192]: parse failed in around position 10 Any attributes from dictionary anyway got same mes

Re: [SR-Users] Kamalio report 404 not found upon INVITE ?

2013-04-11 Thread Daniel-Constantin Mierla
Hello, enable cfgtrace parameter in debugger module and see what actions are executed for the invite, maybe the 404 comes from another place, not location. Cheers, Daniel On 4/8/13 5:55 AM, Khoa Pham wrote: Hi, I have my SIP client registered to Kamailio successfully. I've check the locat

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: extra fields

2013-04-11 Thread Victor V. Kustov
В Thu, 11 Apr 2013 09:46:24 +0200 Daniel-Constantin Mierla пишет: > Have you added the attributes names in radius client dictionary? # grep User-Name ../radiusclient-ng/dictionary ATTRIBUTE User-Name 1 string yes. but dictionary has $INCLUDE-s. -- SY,

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 пишет: > 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
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 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 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

[SR-Users] Kamailio + websockets to jssip

2013-04-11 Thread Glyn Lewis
I am looking for Kamailio consultants in Vancouver BC area to assist with install and setup of system on debian. Many thanks for any pointers or recommendations. Glyn ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@

Re: [SR-Users] Kamailio + websockets to jssip

2013-04-11 Thread Nicolas FINETIN
Hello Get in touch with Jean François amoussou jfamous...@gmail.com >From Nicolas Finetin. Regards Le 11 avr. 2013 17:17, "Glyn Lewis" a écrit : > I am looking for Kamailio consultants in Vancouver BC area to assist with > install and setup of system on debian. > > ** ** > > Many thanks fo

Re: [SR-Users] Kamailio + websockets to jssip

2013-04-11 Thread Glyn Lewis
Many thanks for prompt reply. Glyn From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Nicolas FINETIN Sent: Thursday, April 11, 2013 8:20 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio + websockets to jssip Hello

[SR-Users] Kamailio 4.0.0 not listening on TCP

2013-04-11 Thread David Wilson
Hello All, New to Kamailio, I'm running 4.0 on Ubuntu 12.04 (precise). Running from the command line with a minimal config, it tells me that it is listening on port 5060 for both TCP and UDP. I see the same behaviour with the default cfg. However, netstat does not list anything listening on T

Re: [SR-Users] Kamailio 4.0.0 not listening on TCP

2013-04-11 Thread Jeremy Ardley
Have you checked to make sure it's still running? On 12/04/13 14:19, David Wilson wrote: > Hello All, > > New to Kamailio, I'm running 4.0 on Ubuntu 12.04 (precise). > > Running from the command line with a minimal config, it tells me that it is > listening on port 5060 for both TCP and UDP. I

[SR-Users] Kamailio 4.0.0 not listening on TCP

2013-04-11 Thread David Wilson
Hi Jeremy, Thanks for the suggestion, I'm hoping I haven't overlooked something quite that obvious! The last debug output I see on startup is: > Listening on > udp: 192.168.44.66:55060 > tcp: 192.168.44.66:55060 > Aliases: > > > WARNING: no fork mode > 0(203