<p dir="ltr">Try to register all users with a forced AOR:<br>
<a href="http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294034">http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294034</a><br>
Then perform a lookup with the same forced AOR:<br>
<a href="http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294366">http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294366</a><br>
That should do the trick.</p>
<p dir="ltr">Regards,<br>
Ovidiu Sas</p>
<div class="gmail_quote">On Jun 25, 2015 08:05, "Pete Kelly" <<a href="mailto:pkelly@gmail.com">pkelly@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></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>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span><div><div><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"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></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 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 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>