there's actually much more: you can define as many variables as you like, and make the dialplan recognize them according to your needs.

The only drawback is that mod_xml_curl fetches the user entry every time you call user_data().

On Fri, Oct 7, 2016 at 11:16 PM, Valter Nogueira <valter@fastway.com.br> wrote:
Thank you, for your example.

I was considering if are there some specifics parameters like asterisk's one:

- call-limit
- allow/disallow (codecs)
- permit/deny (hosts)



Atenciosamente,



2016-10-06 20:52 GMT-03:00 Stanislav Sinyagin <ssinyagin@gmail.com>:

I have an example here: https://txlab.wordpress.com/2013/06/29/freeswitch-limiting-the-number-of-concurrent-calls-on-multiple-sip-accounts/


On 7 Oct 2016 01:03, "Michael Jerris" <mike@jerris.com> wrote:
with some user directory and dial plan support, yes.  You’d need to set vars in the user dir for these restrictions and catch and handle them in the dial plan.

> On Oct 6, 2016, at 4:29 PM, Valter Nogueira <valter@fastway.com.br> wrote:
>
> I would like to configure a user that would be allow to use only one codec and call only from a certain subnet like 192.168.5.x.
>
> Is that possible?
>
> Thank you
>
> Valter
>
>


_________________________________________________________________________
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