[OpenSIPS-Users] registrar lookup

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jun 25 12:16:19 CEST 2015


Hi Pete,

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.

But why do you need that list in your script logic ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 25.06.2015 10:47, Pete Kelly wrote:
> Hi Bodgan
>
> I want to do it from script.
>
> Regards
> Pete
>
> On 24 June 2015 at 15:28, Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Pete,
>
>     Do you want to do this from script or via MI ?
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>     On 24.06.2015 11:48, Pete Kelly wrote:
>>     Hi
>>
>>     Is there any way or known workaround to do a registrar lookup to
>>     retrieve all currently registered users for a given domain?
>>
>>     As I understand it I can pass in an AOR to retrieve a specific
>>     user at domain, however I would like to to retrieve all users on a
>>     given domain.
>>
>>     Regards
>>     Pete
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150625/30c8c834/attachment.htm>


More information about the Users mailing list