<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body 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>
<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 10:47, Pete Kelly wrote:<br>
</div>
<blockquote
cite="mid:CAEWH9M_xRKgpo9SnrEKt6UuuB-=Om1KbdVsCj=E-wYOoP+w_qQ@mail.gmail.com"
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 moz-do-not-send="true"
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 moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div class="h5">
<div>On 24.06.2015 11:48, Pete Kelly wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<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>
</body>
</html>