<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body 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>
    &lt;user&gt;@&lt;domain&gt;" I use "sofia_count_reg <a
      class="moz-txt-link-abbreviated" href="mailto:1000@192.168.100.74">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 @&lt;domain&gt;"
    I use<br>
    "sofia_count_reg @192.168.100.74" (be sure to include the @).<br>
    <pre class="moz-signature" cols="72">Kyle A. King
Quentus Technologies, INC
Cell: 703-635-9512
Work: 253-218-6030
Fax:  206-462-1861
Email: <a class="moz-txt-link-abbreviated" href="mailto:kyle.king@quentustech.com">kyle.king@quentustech.com</a></pre>
    <br>
    On 04/21/2012 09:20 PM, Brian Foster wrote:
    <blockquote
cite="mid:CAKV-jFyxE0oGt2gpQaDpZWU=vnLL8DK8OMjsCci1HWzBUaFPVA@mail.gmail.com"
      type="cite">
      <pre wrap="">By the way, you need to do this:

sofia_count_reg user/&lt;user_id&gt;@&lt;domain&gt;

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 class="moz-txt-link-rfc2396E" href="mailto:bdfoster@endigotech.com">&lt;bdfoster@endigotech.com&gt;</a>wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">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 class="moz-txt-link-rfc2396E" href="mailto:gabe@gundy.org">&lt;gabe@gundy.org&gt;</a>wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">On Sat, Apr 21, 2012 at 7:48 PM, Lloyd Aloysius
<a class="moz-txt-link-rfc2396E" href="mailto:lloyd.aloysius@gmail.com">&lt;lloyd.aloysius@gmail.com&gt;</a> wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Today I update the most recent version from git. Does sofia_count_reg
 broken? It always return -1
</pre>
          </blockquote>
          <pre wrap="">
I'll save you some time... if you think it's a bug, go here:
<a class="moz-txt-link-freetext" href="http://jira.freeswitch.org/secure/Dashboard.jspa">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 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>
        <pre wrap="">


--
Brian D. Foster
Endigo Computer LLC
Email: <a class="moz-txt-link-abbreviated" href="mailto:bdfoster@endigotech.com">bdfoster@endigotech.com</a>
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.


</pre>
      </blockquote>
      <pre wrap="">

</pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________________________________
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>