<font face="verdana, sans-serif">Yes. I agree. I will open this issue in JIRA.</font><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">sofia_contact works perfectly and return the value.<br>
</font>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 22, 2012 at 2:35 PM, Chris Chen <span dir="ltr"><<a href="mailto:chris.chen2004@gmail.com" target="_blank">chris.chen2004@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra">Lloyd, I have two FS, one with multi-tenant while the other single tenant, running </div><div class="gmail_extra">
<br></div><div class="gmail_extra">version</div><div class="gmail_extra">FreeSWITCH Version 1.1.beta1 (git-a00e9af 2012-04-12 16-28-50 -0500)</div>
<div class="gmail_extra"><div class="gmail_extra">FreeSWITCH Version 1.1.beta1 (git-3887495 2012-04-19 11-32-29 +0200)</div><div><br></div><div><br></div><div>both of them all returning -1 when running sofia_count_reg</div>
<div><br></div><div>I believe this should be a bug for a while.</div><div><br></div><font color="#888888"><div>chris</div><div><br></div></font></div><div><div></div><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Apr 22, 2012 at 2:14 PM, Lloyd Aloysius <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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" target="_blank">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><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>
<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" target="_blank">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" target="_blank">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>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></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>