Hey,

We are unable to registered the mobile client from our IP that is hosted AWS.

2017-08-12 05:16:07.213370 [WARNING] sofia_reg.c:2906 Can't find user [8001@34.***.***.***] from 122.***.***.*** You must define a domain called '34.***.***.***' in your directory and add a user with the id="8001" attributeand you must configure your device to use the proper domain in it's authentication credentials.2017-08-12 05:16:07.213370 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'internal' for [8001@34.***.***.***] from ip 122.***.***.***

On Sat, Aug 12, 2017 at 3:28 PM, <freeswitch-users-request@lists.freeswitch.org> wrote:
Send FreeSWITCH-users mailing list submissions to
        freeswitch-users@lists.freeswitch.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
        freeswitch-users-request@lists.freeswitch.org

You can reach the person managing the list at
        freeswitch-users-owner@lists.freeswitch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."

Today's Topics:

   1. Re: rad_auth failing under load (Sergey Safarov)


---------- Forwarded message ----------
From: Sergey Safarov <s.safarov@gmail.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Sat, 12 Aug 2017 09:58:10 +0000
Subject: Re: [Freeswitch-users] rad_auth failing under load
My bad in v1.6 branch downloaded 1.1.6 
https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/debian/util.sh?at=refs%2Fheads%2Fv1.6#106


сб, 12 авг. 2017 г. в 12:39, Sergey Safarov <s.safarov@gmail.com>:

пт, 11 авг. 2017 г. в 15:16, Joseph Waite <joelists@tm.net.uk>:
The  changes are already there in Master branch which already uses 1.1.7

Stable branch is still on 1.1.6 so needs to be manually changed.

Is it worth raising a pull request for Stable? Is that even an option?

Regards

On 11 Aug 2017, at 07:16, Sergey Safarov <s.safarov@gmail.com> wrote:

Please create pull request


вт, 8 авг. 2017 г., 22:47 Joseph Waite <joelists@tm.net.uk>:
Hi

Yes that was the issue. It works great now!

Regards

On 8 Aug 2017, at 20:38, Juan Pablo Godoy Macari <jpgodoy@redvoiss.net> wrote:

That's the problem...I modified the files "Makefile" in the module's folder to use the version 1.1.7 of freeradius-client.

Regards.

2017-08-08 15:30 GMT-04:00 Joseph Waite <joelists@tm.net.uk>:
Hi

I am using both, I need to do authentication from within the dial plan for IP authenticated users, so I use mod_rad_auth for this and mod_xml_radius for user auth and accounting.

I think I have found the issue, Freeswitch actually downloads free radius client and in the stable branch the makefiles for both modules specifies 1.1.6 so changed to 1.1.7 and recompiling everything.

Will update if this solves the issues.

Regards

On 8 Aug 2017, at 20:21, Juan Pablo Godoy Macari <jpgodoy@redvoiss.net> wrote:

Actually, I'm not using radauth module. I use mod_xml_radius instead, it's newer and you have accounting support too. The implementation it's similar compared to radauth module.

Regards,
Juan Pablo Godoy.

2017-08-08 14:40 GMT-04:00 Joseph Waite <joelists@tm.net.uk>:
Hi

I have done a fresh install and used freeradius-client 1.1.7 but still have this issue, Did you have to make any config changes to free radius client?

Regards

On 8 Aug 2017, at 16:38, Juan Pablo Godoy Macari <jpgodoy@redvoiss.net> wrote:

Hello,

I had the same problem. Compile the radius module with freeradius-client 1.1.7

Regards,
Juan Pablo Godoy.

2017-08-07 18:55 GMT-04:00 Joseph Waite <joelists@tm.net.uk>:
Hi Guys

I am having a strange issue, when I have more than about 450 concurrent calls, rad_auth seems to fail to authorise calls.

I see the Radius request received and replied with RAD-ACCEPT from the Radius server but I get the following error

2017-08-07 18:29:53.202133 [ERR] mod_rad_auth.c:504  RADIUS Authentication failure (RC=1)
2017-08-07 18:29:53.202133 [ERR] mod_rad_auth.c:702 An error occured during radius authorization.

I have had a look as ulimit and seems to be fine.

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 128716
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65536
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 128716
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Anyone have any ideas?

Regards

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org