<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thank you!<br>
    <br>
    This helps<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 06/08/2015 01:59 PM, Avi Marcus
      wrote:<br>
    </div>
    <blockquote
cite="mid:0000014dd29c7906-f9195b80-bb76-4579-bffa-3035a28c5176-000000@email.amazonses.com"
      type="cite">
      <div dir="ltr">
        <div><span style="font-size:12.8000001907349px">You can try to
            just show the extensions without extra text:</span></div>
        <div><br>
        </div>
        <div>fs_cli -x "show registrations" | grep --only-matching
          --perl-regexp ^<span style="font-size:12.8000001907349px">00294539\\d*</span></div>
        <div><span style="font-size:12.8000001907349px"><br>
          </span>
          <div>Perl regex was used for the number repeat and only
            matching start of line.</div>
          <div><br>
          </div>
          <div>
            <div>-Avi</div>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature">
            <div dir="ltr">-Avi Marcus<br>
              <br>
              1-718-989-9485 (USA)<br>
              1-866-202-5850 (USA &amp; Canada Toll Free)<br>
              02-372-1570 (Israel)<br>
              020-3298-2875 (UK)<br>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Mon, Jun 8, 2015 at 12:21 PM, Dmitry
          Mordovin <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:dm@dwide.com" target="_blank">dm@dwide.com</a>&gt;</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"> Hello,<br>
              <br>
              I want controll count of registrations.<br>
              <br>
              For example, registered users:<br>
                00294539101<br>
                00294539107<br>
                00294539109<br>
                00334719873<br>
              <br>
              <br>
              How can I get count of registrations where users match 
              00294539* ?<br>
              <br>
              I can execute API through Mod event socket on each
              REGISTER message<br>
              <br>
              <br>
            </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>
            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://confluence.freeswitch.org" target="_blank">http://confluence.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>
          </blockquote>
        </div>
        <br>
      </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>

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://confluence.freeswitch.org">http://confluence.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>
    <br>
  </body>
</html>