Command to list all users?

All those commands that we don't really use very often, but that we should ! Documented or not, they worth it !
pronei

Command to list all users?

Post by pronei »

OXE 9.0

Is there a command that will list all users on the PBX?

I've tried edsbr, but the name option doesn't seem to work, it doesn't print the subscribers name

something like the following, but for ALL the users in the system:
Dir Name Dir Num TermType Shlf CPL Pos
John Smith 1010 4020 2 2 9
User avatar
Konstantinos.E
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 616
Joined: 12 Jan 2010 04:15
Location: Honolulu

Re: Command to list all users?

Post by Konstantinos.E »

hi

the command listerm shows everything you need but with out names.

i think there is no command shows everything in a row.
Alca_holic
pronei

Re: Command to list all users?

Post by pronei »

Yeah, I've used listerm, but that doesn't names.. and unfortunately there is not a 4760 nor access to an i4760.

Seems like there would be a command that would do that. Odd that there is not..
User avatar
alex
Senior Member
Posts: 1498
Joined: 06 Jul 2004 07:27
Contact:

Re: Command to list all users?

Post by alex »

If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.
User avatar
Konstantinos.E
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 616
Joined: 12 Jan 2010 04:15
Location: Honolulu

Re: Command to list all users?

Post by Konstantinos.E »

there is a trick that you can do but it will take you long time.

Install oxe on vmware and put the backup inside your virtual machine.Then run 4760i and print what ever you want :P
Alca_holic
pronei

Re: Command to list all users?

Post by pronei »

Alex, I've tried edsbr with dir, name, go, -- name doesn't print.. what field is the subscriber name pulling from?

I've filled in every possible field in the user config and name option still doesn't print the name.
pronei

Re: Command to list all users?

Post by pronei »

All commands I've tried with no success to matching user names to dir number:

edsbr - This is the great tool and should work, but subscriber name isn't displaying - think I'll open a ticket with Alcatel about this

usedentity
tradna
rack_table
list
pronei

Re: Command to list all users?

Post by pronei »

I opened a ticket with Alcatel for the problem with the edsbr command and the response was "This command does not work in 9.0 Static Patch 50. 9.0 is no longer in R&D and this problem will not be fixed in 9.0. To resolve, please have your customer upgrade to 9.1" Needless to say I was NOT happy with that response, but it is what it is.. Just thought I'd share in case anyone else runs into this issue.
trjm

Re: Command to list all users?

Post by trjm »

I think edsbr print the display name, not the directory name. But I am not sure.
User avatar
Eliott
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 640
Joined: 10 Feb 2010 03:43

Re: Command to list all users?

Post by Eliott »

http://alcatelunleashed.com/viewtopic.p ... 384#p61384

Code: Select all

cdmao;echo "SELECT Mcdu,S_Name,F_Name,UTF8_S_Name,UTF8_F_Name FROM PHONEB;"|cuser|grep "\-\-" |grep -v Mcdu |cut -c5- >/tmpd/myfile.out
Post Reply

Return to “Usefull commands”