Why do you say that sofia_count_reg does not work?

freeswitch@default> version
FreeSWITCH Version 1.0.head (git-eeeaf41 2012-02-10 17-27-50 -0600)

freeswitch@default> sofia_count_reg 1001@192.168.1.79
1
freeswitch@default>

-MC

2012/2/13 Yuriy Nasida <nasida@live.ru>
Hello guys!

Is there the standart method to limit count of simultaneous registrations for some user?

I wiki I have found only one similar ability http://wiki.freeswitch.org/wiki/API_sofia_count_reg

But... It is for dialplan. 
I use curl module with php scripts for dynamic directory.
So I can use this API from php script before sending the xml to FS. But is there more simple ways ?

Btw, API 'sofia_count_reg' doesn't work with 'new' git
'FreeSWITCH Version 1.0.head (git-e6bfa11 2012-02-09 16-47-32 -0600)'

But! API 'sofia_count_reg' works with 'old' git
FreeSWITCH Version 1.0.head (git-54b4b08 2011-11-04 16-58-35 -0500)

Please advise
Thanks.

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

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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