Try to register all users with a forced AOR: http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294034 Then perform a lookup with the same forced AOR: http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294366 That should do the trick.
Regards, Ovidiu Sas On Jun 25, 2015 08:05, "Pete Kelly" <pke...@gmail.com> wrote: > > > On 25 June 2015 at 11:16, Bogdan-Andrei Iancu <bog...@opensips.org> wrote: > >> 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 ? >> > > In order to be able to call with parallel fork *all* users who are > currently registered, unless there is another mechanism for this? > > >> >> Regards, >> >> Bogdan-Andrei Iancu >> OpenSIPS Founder and Developerhttp://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 <bog...@opensips.org> >> wrote: >> >>> Hi Pete, >>> >>> Do you want to do this from script or via MI ? >>> >>> Regards, >>> >>> Bogdan-Andrei Iancu >>> OpenSIPS Founder and Developerhttp://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@domain, however I would like to to retrieve all users on a given >>> domain. >>> >>> Regards >>> Pete >>> >>> >>> _______________________________________________ >>> Users mailing >>> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >>> >> >> > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users