<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>So you want to call all the users registered on the server ? can
      you make a db query to get all the subscribers (from a table) and
      do a loop to do lookup(location) for each of them, one by one ?<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 25.06.2015 15:05, Pete Kelly wrote:<br>
    </div>
    <blockquote
cite="mid:CAEWH9M9umneS5bFwXQAHc5NsmXeW6uKM0AQP_x26x0KnVDiJ9g@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 25 June 2015 at 11:16,
            Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:bogdan@opensips.org"
                target="_blank">bogdan@opensips.org</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> <tt>Hi Pete,<br>
                  <br>
                  No, at script level you cannot get a list with all the
                  registered users. Of course, you can do a very dirty
                  trick, to run a exec() and do the MI querying to get
                  the list.<br>
                  <br>
                  But why do you need that list in your script logic ?<br>
                </tt></div>
            </blockquote>
            <div><br>
            </div>
            <div>In order to be able to call with parallel fork *all*
              users who are currently registered, unless there is
              another mechanism for this?</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><tt> <br>
                  Regards,<br>
                </tt><span class="">
                  <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                </span>
                <div>
                  <div class="h5">
                    <div>On 25.06.2015 10:47, Pete Kelly wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">Hi Bodgan
                        <div><br>
                        </div>
                        <div>I want to do it from script.</div>
                        <div><br>
                        </div>
                        <div>Regards</div>
                        <div>Pete</div>
                      </div>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On 24 June 2015 at
                          15:28, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                              moz-do-not-send="true"
                              href="mailto:bogdan@opensips.org"
                              target="_blank">bogdan@opensips.org</a>&gt;</span>
                          wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div text="#000000" bgcolor="#FFFFFF"> <tt>Hi
                                Pete, <br>
                                <br>
                                Do you want to do this from script or
                                via MI ?<br>
                                <br>
                                Regards,<br>
                              </tt>
                              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                              <div>
                                <div>
                                  <div>On 24.06.2015 11:48, Pete Kelly
                                    wrote:<br>
                                  </div>
                                </div>
                              </div>
                              <blockquote type="cite">
                                <div>
                                  <div>
                                    <div dir="ltr">Hi
                                      <div><br>
                                      </div>
                                      <div>Is there any way or known
                                        workaround to do a registrar
                                        lookup to retrieve all currently
                                        registered users for a given
                                        domain?</div>
                                      <div><br>
                                      </div>
                                      <div>As I understand it I can pass
                                        in an AOR to retrieve a specific
                                        user@domain, however I would
                                        like to to retrieve all users on
                                        a given domain.</div>
                                      <div><br>
                                      </div>
                                      <div>Regards<br>
                                      </div>
                                      <div>Pete</div>
                                    </div>
                                    <br>
                                    <fieldset></fieldset>
                                    <br>
                                  </div>
                                </div>
                                <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                              </blockquote>
                              <br>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>