<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 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 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 face="verdana, sans-serif" color="#cc6600" 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 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"><u></u>
<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 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 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 href="tel:703-635-9512" value="+17036359512" target="_blank">703-635-9512</a>
Work: <a href="tel:253-218-6030" value="+12532186030" target="_blank">253-218-6030</a>
Fax: <a href="tel:206-462-1861" value="+12064621861" target="_blank">206-462-1861</a>
Email: <a href="mailto:kyle.king@quentustech.com" target="_blank">kyle.king@quentustech.com</a></pre><div><div></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 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 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 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 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 href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<pre>--
Brian D. Foster
Endigo Computer LLC
Email: <a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a>
Phone: <a 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></pre>
<pre><fieldset></fieldset>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a 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 href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>