Not sure if that's a problem with sofia_count_reg. Might be a database issue. I'd go look in the actual database and see what's going on in there.
-MC
Because it is not working with one of my FS servers.freeswitch@internal> sofia_count_reg yuriytest@192.168.187.131-1Yes, the version of FS is not the reason. I have re-built 'bad' server to 'git-54b4b08 2011-11-04 16-58-35 -0500' but still have this issue.Not sure why. It works fine with other FS server.Please advise.Thanks.
Date: Mon, 13 Feb 2012 09:45:52 -0800
From: msc@freeswitch.org
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Registration Count
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>
-MC2012/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_regBut... 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' gitFreeSWITCH Version 1.0.head (git-54b4b08 2011-11-04 16-58-35 -0500)Please adviseThanks.
_________________________________________________________________________
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
_________________________________________________________________________ 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
_________________________________________________________________________
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