Lloyd, I have two FS, one with multi-tenant while the other single tenant, runningversionFreeSWITCH Version 1.1.beta1 (git-a00e9af 2012-04-12 16-28-50 -0500)FreeSWITCH Version 1.1.beta1 (git-3887495 2012-04-19 11-32-29 +0200)both of them all returning -1 when running sofia_count_regI believe this should be a bug for a while.chrisOn Sun, Apr 22, 2012 at 2:14 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
Environment1. Multi-tenant2. Core Database - mysql3. See the resultsfreeswitch@default> versionFreeSWITCH Version 1.1.beta1 (git-adae5e5 2012-04-21 16-08-32 +0200)
freeswitch@default> sofia_count_reg aaron@mydomain.ca-1freeswitch@default> sofia_count_reg mydomain.ca-1freeswitch@default>But the user aaron is registered with the system.
On Sun, Apr 22, 2012 at 3:02 AM, Kyle King <kyle.king@quentustech.com> wrote:
I tested and found everything in order. If you were using the api
without arguments then it will report a error "-1". The correct format
for counting all registrations of a user use "sofia_count_reg
<user>@<domain>" I use "sofia_count_reg 1000@192.168.100.74" "1000"
being my user and "192.168.100.74" the IP of my FreeSWITCH box". To see
all registrations of a domain use "sofia_count_reg @<domain>" I use
"sofia_count_reg @192.168.100.74" (be sure to include the @).
Kyle A. King Quentus Technologies, INC Cell: 703-635-9512 Work: 253-218-6030 Fax: 206-462-1861 Email: kyle.king@quentustech.com
On 04/21/2012 09:20 PM, Brian Foster wrote:By the way, you need to do this: sofia_count_reg user/<user_id>@<domain> In my case I get 0, but there's one registered. On another that's not registered I get -1. Add that into your bug report. -BDF On Sun, Apr 22, 2012 at 12:18 AM, Brian Foster <bdfoster@endigotech.com>wrote:_________________________________________________________________________ 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.orgLooks like it's been broken for awhile now, but yes, as Gabe mentioned you need to file a JIRA. This is the wrong place for bug reports. -BDF On Sat, Apr 21, 2012 at 11:46 PM, Gabriel Gunderson <gabe@gundy.org>wrote:On Sat, Apr 21, 2012 at 7:48 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:Today I update the most recent version from git. Does sofia_count_reg broken? It always return -1I'll save you some time... if you think it's a bug, go here: http://jira.freeswitch.org/secure/Dashboard.jspa Directing users to report bugs in Jira has been a pretty constant theme on the mailing list (especially the last few weeks). Good luck! Best, Gabe _________________________________________________________________________ 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-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________
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