<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Can you double check how your domains are listed under 'sofia
status' ?<br>
<br>
Also, check the value for the user under the command 'sofia status
profile <profile_name> reg'. This will list all of the
registrations, and you should check the User: field. That's the
domain or ip you have to use to be able to count the registrations.<br>
<pre class="moz-signature" cols="72">
William King
Senior Engineer
Quentus Technologies, INC
1037 NE 65th St Suite 273
Seattle, WA 98115
Main: (877) 211-9337
Office: (206) 388-4772
Cell: (253) 686-5518
<a class="moz-txt-link-abbreviated" href="mailto:william.king@quentustech.com">william.king@quentustech.com</a></pre>
<br>
On 04/22/2012 11:14 AM, Lloyd Aloysius wrote:
<blockquote
cite="mid:CAGvuWYbEDwhtdrRbSCs6bUxJWVRsoaow1RHWasawmA05DNoobg@mail.gmail.com"
type="cite"><font face="verdana, sans-serif">Environment</font>
<div><font face="verdana, sans-serif"><br>
</font></div>
<div><font face="verdana, sans-serif">1. Multi-tenant</font></div>
<div><font face="verdana, sans-serif">2. Core Database - mysql</font></div>
<div><font face="verdana, sans-serif">3. See the results</font></div>
<div><font face="verdana, sans-serif"><br>
</font></div>
<div>
<div><font face="'courier new', monospace">freeswitch@default>
version</font></div>
<div><font face="'courier new', monospace">FreeSWITCH Version
1.1.beta1 (git-adae5e5 2012-04-21 16-08-32 +0200)</font></div>
<div><font face="'courier new', monospace"><br>
</font></div>
<div><font face="'courier new', monospace"><br>
</font></div>
</div>
<div>
<div><font face="'courier new', monospace">freeswitch@default>
sofia_count_reg <a moz-do-not-send="true"
href="mailto:aaron@mydomain.ca">aaron@mydomain.ca</a></font></div>
<div><font face="'courier new', monospace">-1</font></div>
<div><font face="'courier new', monospace"><br>
</font></div>
<div><font face="'courier new', monospace">freeswitch@default>
sofia_count_reg <a moz-do-not-send="true"
href="http://mydomain.ca">mydomain.ca</a></font></div>
<div>
<font face="'courier new', monospace">-1</font></div>
<div><font face="'courier new', monospace"><br>
</font></div>
<div><font face="'courier new', monospace">freeswitch@default></font></div>
<div style="font-family:verdana,sans-serif"><br>
</div>
<div style="font-family:verdana,sans-serif">
<span style="font-family:arial">
<div><font color="#cc6600" face="verdana, sans-serif"
size="1"><b><br>
</b></font></div>
</span></div>
But the user aaron is registered with the system.</div>
<div><br>
</div>
<div><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Apr 22, 2012 at 3:02 AM, Kyle
King <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:kyle.king@quentustech.com" target="_blank">kyle.king@quentustech.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"> I tested and found
everything in order. If you were using the api<br>
without arguments then it will report a error "-1". The
correct format<br>
for counting all registrations of a user use
"sofia_count_reg<br>
<user>@<domain>" I use "sofia_count_reg <a
moz-do-not-send="true"
href="mailto:1000@192.168.100.74" target="_blank">1000@192.168.100.74</a>"
"1000"<br>
being my user and "192.168.100.74" the IP of my
FreeSWITCH box". To see<br>
all registrations of a domain use "sofia_count_reg
@<domain>" I use<br>
"sofia_count_reg @<a moz-do-not-send="true"
href="http://192.168.100.74" target="_blank">192.168.100.74</a>"
(be sure to include the @).<br>
<pre cols="72">Kyle A. King
Quentus Technologies, INC
Cell: <a moz-do-not-send="true" href="tel:703-635-9512" value="+17036359512" target="_blank">703-635-9512</a>
Work: <a moz-do-not-send="true" href="tel:253-218-6030" value="+12532186030" target="_blank">253-218-6030</a>
Fax: <a moz-do-not-send="true" href="tel:206-462-1861" value="+12064621861" target="_blank">206-462-1861</a>
Email: <a moz-do-not-send="true" href="mailto:kyle.king@quentustech.com" target="_blank">kyle.king@quentustech.com</a></pre>
<div>
<div class="h5"> <br>
On 04/21/2012 09:20 PM, Brian Foster wrote:
<blockquote type="cite">
<pre>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 <a moz-do-not-send="true" href="mailto:bdfoster@endigotech.com" target="_blank"><bdfoster@endigotech.com></a>wrote:
</pre>
<blockquote type="cite">
<pre>Looks 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 <a moz-do-not-send="true" href="mailto:gabe@gundy.org" target="_blank"><gabe@gundy.org></a>wrote:
</pre>
<blockquote type="cite">
<pre>On Sat, Apr 21, 2012 at 7:48 PM, Lloyd Aloysius
<a moz-do-not-send="true" href="mailto:lloyd.aloysius@gmail.com" target="_blank"><lloyd.aloysius@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre>Today I update the most recent version from git. Does sofia_count_reg
broken? It always return -1
</pre>
</blockquote>
<pre>I'll save you some time... if you think it's a bug, go here:
<a moz-do-not-send="true" href="http://jira.freeswitch.org/secure/Dashboard.jspa" target="_blank">http://jira.freeswitch.org/secure/Dashboard.jspa</a>
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:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<pre>--
Brian D. Foster
Endigo Computer LLC
Email: <a moz-do-not-send="true" href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a>
Phone: <a moz-do-not-send="true" href="tel:317-800-7876" value="+13178007876" target="_blank">317-800-7876</a>
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.
</pre>
</blockquote>
<pre><fieldset></fieldset>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body>
</html>