Thanks…that works fine J




_____________________________
Jan Fricke (B.Sc.)

*IANT -
APPLIED NGN-TECHNOLOGIES

**Turn-Key VoIP/UC Solutions and More...


*Fon: +49 (5331) 6794 0
Fax: +49 (5331) 6794 499
Mail: [email protected]
Web: www.iant.de <http://www.iant.de/en/startseite>


IANT is eZuce <http://www.ezuce.com/> Elite Partner for EMEA

IANT is Member of GROUPLINK <http://www.grouplink.de/>



*Von:* [email protected] [mailto:
[email protected]] *Im Auftrag von *George Niculae
*Gesendet:* Dienstag, 8. Januar 2013 14:11
*An:* Discussion list for users of sipXecs software
*Betreff:* Re: [sipx-users] Query registrations from Linux console on 4.6



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