On Tue, Jan 8, 2013 at 3:00 PM, Jan Fricke <[email protected]> wrote:

> Hi,
>
> until 4.4 I could grep /var/sipxdata/sipdb/registration.xml to get
> information about the phone registrations from a bash script. What is the
> easiest way to do that in 4.6?
>
>
>

You can query it from mongo cli, do:

mongo
use node
db.registrar.find()

Alternatively you could write your own script for this, see
http://docs.mongodb.org/manual/tutorial/write-scripts-for-the-mongo-shell/

George
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to